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 aCollection
of the modelAspectDefinition
sjava.lang.String
getDescription()
Returns the model descriptionjava.util.Collection<ConstraintDefinition>
getModelDefinedConstraints()
Returns aCollection
of the model definedConstraintDefinition
sjava.util.Collection<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
java.lang.String getDescription()
Returns the model description- Returns:
- the model description
-
getTypeDefinitions
java.util.Collection<TypeDefinition> getTypeDefinitions()
Returns aCollection
of the modelTypeDefinition
s- Returns:
- an unmodifiable collection of the model types definitions, or an empty collection
-
getAspectDefinitions
java.util.Collection<AspectDefinition> getAspectDefinitions()
Returns aCollection
of the modelAspectDefinition
s- Returns:
- an unmodifiable collection of the model aspects definitions, or an empty collection
-
getModelDefinedConstraints
java.util.Collection<ConstraintDefinition> getModelDefinedConstraints()
Returns aCollection
of the model definedConstraintDefinition
s- Returns:
- an unmodifiable collection of the model constraint definitions, or an empty collection
-
-