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 java.util.Collection<AspectDefinition>getAspectDefinitions()Returns aCollectionof the modelAspectDefinitionsjava.lang.StringgetDescription()Returns the model descriptionjava.util.Collection<ConstraintDefinition>getModelDefinedConstraints()Returns aCollectionof the model definedConstraintDefinitionsjava.util.Collection<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
java.lang.String getDescription()
Returns the model description- Returns:
- the model description
-
getTypeDefinitions
java.util.Collection<TypeDefinition> getTypeDefinitions()
Returns aCollectionof the modelTypeDefinitions- Returns:
- an unmodifiable collection of the model types definitions, or an empty collection
-
getAspectDefinitions
java.util.Collection<AspectDefinition> getAspectDefinitions()
Returns aCollectionof the modelAspectDefinitions- Returns:
- an unmodifiable collection of the model aspects definitions, or an empty collection
-
getModelDefinedConstraints
java.util.Collection<ConstraintDefinition> getModelDefinedConstraints()
Returns aCollectionof the model definedConstraintDefinitions- Returns:
- an unmodifiable collection of the model constraint definitions, or an empty collection
-
-