Package org.alfresco.repo.dictionary
Class CompiledModel
java.lang.Object
org.alfresco.repo.dictionary.CompiledModel
Compiled representation of a model definition.
In this case, compiled means that
a) all references between model items have been resolved
b) inheritence of class features have been flattened
c) overridden class features have been resolved
A compiled model also represents a valid model.
- Author:
- David Caruana
-
Method Summary
Modifier and TypeMethodDescriptiongetAssociation
(QName name) getConstraint
(QName name) getDataType
(Class javaClass) getDataType
(QName name) getProperty
(QName name) getTypes()
-
Method Details
-
getM2Model
- Returns:
- the model definition
-
getModelDefinition
- Returns:
- the compiled model definition
-
getDataTypes
- Returns:
- the compiled property types
-
getTypes
- Returns:
- the compiled types
-
getAspects
- Returns:
- the compiled aspects
-
getProperties
- Returns:
- the compiled properties
-
getDataType
-
getDataType
-
getType
-
getAspect
-
getClass
-
getProperty
-
getAssociation
-
getAssociations
- Returns:
- the compiled associations
-
getConstraints
- Returns:
- the compiled constraints
-
getConstraint
-