|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.dictionary.CompiledModel
public class 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.
Method Summary | |
---|---|
AspectDefinition |
getAspect(QName name)
Gets the specified aspect |
java.util.Collection |
getAspects()
|
AssociationDefinition |
getAssociation(QName name)
Gets the specified association |
java.util.Collection |
getAssociations()
|
ClassDefinition |
getClass(QName name)
Gets the specified class |
ConstraintDefinition |
getConstraint(QName name)
Gets the specified property constraint |
java.util.Collection |
getConstraints()
|
DataTypeDefinition |
getDataType(java.lang.Class javaClass)
Gets the data type for the specified Java Class |
DataTypeDefinition |
getDataType(QName name)
Gets the specified data type |
java.util.Collection |
getDataTypes()
|
M2Model |
getM2Model()
|
ModelDefinition |
getModelDefinition()
|
java.util.Collection |
getProperties()
|
PropertyDefinition |
getProperty(QName name)
Gets the specified property |
TypeDefinition |
getType(QName name)
Gets the specified type |
java.util.Collection |
getTypes()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public M2Model getM2Model()
public ModelDefinition getModelDefinition()
public java.util.Collection getDataTypes()
public java.util.Collection getTypes()
public java.util.Collection getAspects()
public java.util.Collection getProperties()
public DataTypeDefinition getDataType(QName name)
name
- name of the data type
public DataTypeDefinition getDataType(java.lang.Class javaClass)
javaClass
- the java class
public TypeDefinition getType(QName name)
name
- name of the type
public AspectDefinition getAspect(QName name)
name
- name of the aspect
public ClassDefinition getClass(QName name)
name
- name of the class
public PropertyDefinition getProperty(QName name)
name
- name of the property
public AssociationDefinition getAssociation(QName name)
name
- name of the association
public java.util.Collection getAssociations()
public java.util.Collection getConstraints()
public ConstraintDefinition getConstraint(QName name)
name
- the qualified name of the property constraint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |