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 aCollectionof the modelAspectDefinitionsStringgetDescription()Returns the model descriptionCollection<ConstraintDefinition>getModelDefinedConstraints()Returns aCollectionof the model definedConstraintDefinitionsCollection<TypeDefinition>getTypeDefinitions()Returns aCollectionof the modelTypeDefinitionsbooleanisActive()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 aCollectionof the modelTypeDefinitions- Returns:
- an unmodifiable collection of the model types definitions, or an empty collection
-
getAspectDefinitions
Collection<AspectDefinition> getAspectDefinitions()
Returns aCollectionof the modelAspectDefinitions- Returns:
- an unmodifiable collection of the model aspects definitions, or an empty collection
-
getModelDefinedConstraints
Collection<ConstraintDefinition> getModelDefinedConstraints()
Returns aCollectionof the model definedConstraintDefinitions- Returns:
- an unmodifiable collection of the model constraint definitions, or an empty collection
-
-