|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.persistence.metadata.Element
com.arsdigita.persistence.metadata.Model
A Model provides a logical namespace for a related set of ObjectTypes and Associations.
Field Summary | |
static String |
versionId
|
Method Summary | |
Set |
getAssociations()
|
DataType |
getDataType(String name)
Returns the DataType with the given name. |
String |
getName()
Returns the name of this Model. |
ObjectType |
getObjectType(String name)
Returns the ObjectType with the given name. |
Collection |
getObjectTypes()
Returns a collection of ObjectTypes that this Model contains |
boolean |
hasDataType(String name)
Returns true if this Model contains a DataType with the given name. |
Methods inherited from class com.arsdigita.persistence.metadata.Element |
equals, getColumnNumber, getFilename, getLineNumber, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
Method Detail |
public String getName()
public DataType getDataType(String name)
name
- The name of the datatype to get.
public boolean hasDataType(String name)
public ObjectType getObjectType(String name)
name
- The name of the ObjectType to get.
public Collection getObjectTypes()
public Set getAssociations()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |