public class CompiledModel extends Object
| Modifier and Type | Method and Description |
|---|---|
AspectDefinition |
getAspect(QName name)
Gets the specified aspect
|
Collection<AspectDefinition> |
getAspects() |
AssociationDefinition |
getAssociation(QName name)
Gets the specified association
|
Collection<AssociationDefinition> |
getAssociations() |
ClassDefinition |
getClass(QName name)
Gets the specified class
|
ConstraintDefinition |
getConstraint(QName name)
Gets the specified property constraint
|
Collection<ConstraintDefinition> |
getConstraints() |
DataTypeDefinition |
getDataType(Class javaClass)
Gets the data type for the specified Java Class
|
DataTypeDefinition |
getDataType(QName name)
Gets the specified data type
|
Collection<DataTypeDefinition> |
getDataTypes() |
M2Model |
getM2Model() |
ModelDefinition |
getModelDefinition() |
Collection<PropertyDefinition> |
getProperties() |
PropertyDefinition |
getProperty(QName name)
Gets the specified property
|
TypeDefinition |
getType(QName name)
Gets the specified type
|
Collection<TypeDefinition> |
getTypes() |
public M2Model getM2Model()
public ModelDefinition getModelDefinition()
public Collection<DataTypeDefinition> getDataTypes()
public Collection<TypeDefinition> getTypes()
public Collection<AspectDefinition> getAspects()
public Collection<PropertyDefinition> getProperties()
public DataTypeDefinition getDataType(QName name)
name - name of the data typepublic DataTypeDefinition getDataType(Class javaClass)
javaClass - the java classpublic TypeDefinition getType(QName name)
name - name of the typepublic AspectDefinition getAspect(QName name)
name - name of the aspectpublic ClassDefinition getClass(QName name)
name - name of the classpublic PropertyDefinition getProperty(QName name)
name - name of the propertypublic AssociationDefinition getAssociation(QName name)
name - name of the associationpublic Collection<AssociationDefinition> getAssociations()
public Collection<ConstraintDefinition> getConstraints()
public ConstraintDefinition getConstraint(QName name)
name - the qualified name of the property constraintCopyright © 2005–2014 Alfresco Software. All rights reserved.