public class CompiledModel
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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() |
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 typepublic DataTypeDefinition getDataType(java.lang.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 java.util.Collection getAssociations()
public java.util.Collection getConstraints()
public ConstraintDefinition getConstraint(QName name)
name
- the qualified name of the property constraintCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.