Interface CustomModelDefinition
-
- All Superinterfaces:
ModelDefinition
- All Known Implementing Classes:
CustomModelDefinitionImpl
public interface CustomModelDefinition extends ModelDefinition
- Author:
- Jamal Kaabi-Mofrad
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.dictionary.ModelDefinition
ModelDefinition.XMLBindingType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<AspectDefinition>
getAspectDefinitions()
Returns aCollection
of the modelAspectDefinition
sString
getDescription()
Returns the model descriptionCollection<ConstraintDefinition>
getModelDefinedConstraints()
Returns aCollection
of the model definedConstraintDefinition
sCollection<TypeDefinition>
getTypeDefinitions()
Returns aCollection
of the modelTypeDefinition
sboolean
isActive()
Whether the model is active or not-
Methods inherited from interface org.alfresco.service.cmr.dictionary.ModelDefinition
getAnalyserResourceBundleName, getAuthor, getChecksum, getDescription, getDictionaryDAO, getImportedNamespaces, getName, getNamespaces, getPublishedDate, getVersion, isNamespaceDefined, isNamespaceImported, toXML
-
-
-
-
Method Detail
-
isActive
boolean isActive()
Whether the model is active or not- Returns:
- true if the model is active, false otherwise
-
getDescription
String getDescription()
Returns the model description- Returns:
- the model description
-
getTypeDefinitions
Collection<TypeDefinition> getTypeDefinitions()
Returns aCollection
of the modelTypeDefinition
s- Returns:
- an unmodifiable collection of the model types definitions, or an empty collection
-
getAspectDefinitions
Collection<AspectDefinition> getAspectDefinitions()
Returns aCollection
of the modelAspectDefinition
s- Returns:
- an unmodifiable collection of the model aspects definitions, or an empty collection
-
getModelDefinedConstraints
Collection<ConstraintDefinition> getModelDefinedConstraints()
Returns aCollection
of the model definedConstraintDefinition
s- Returns:
- an unmodifiable collection of the model constraint definitions, or an empty collection
-
-