|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataObjectMetadata
Metadata for a given data object type. References the data object class and contains lists of all the attributes, collections, and relationships within the class.
Method Summary | |
---|---|
DataObjectAttribute |
getAttribute(String attributeName)
Get the named attribute's metadata from the data object. |
List<DataObjectAttribute> |
getAttributes()
Get all the attributes defined on the data object in the order given by the MetadataProvider. |
Collection<UifAutoCreateViewType> |
getAutoCreateUifViewTypes()
|
List<String> |
getBusinessKeyAttributeNames()
List of attribute names which form a "user friendly" key. |
DataObjectCollection |
getCollection(String collectionName)
Get the named collection's metadata from the data object. |
List<DataObjectCollection> |
getCollections()
Get all the child collections defined on the data object in the order given by the MetadataProvider. |
String |
getPrimaryDisplayAttributeName()
This is the field on the object which best represents it on displays. |
List<String> |
getPrimaryKeyAttributeNames()
Get the list of primary key attribute names for this data object. |
DataObjectRelationship |
getRelationship(String relationshipName)
Get the named relationship's metadata from the data object. |
DataObjectRelationship |
getRelationshipByLastAttributeInRelationship(String attributeName)
Returns a single relationship for which the given attribute is the last in the foreign key relationship. |
List<DataObjectRelationship> |
getRelationships()
Get all the child relationships defined on the data object in the order given by the MetadataProvider. |
List<DataObjectRelationship> |
getRelationshipsInvolvingAttribute(String attributeName)
Returns all relationships of which the given attribute is part of the foreign key relationship. |
Class<?> |
getType()
The type represented by this metadata object. |
Boolean |
hasDistinctBusinessKey()
Returns true if the list of primary key names and business key attribute names are different. |
boolean |
isSupportsOptimisticLocking()
Returns true if the underlying ORM tool performs optimistic locking checks on this object before saving. |
boolean |
shouldAutoCreateUifViewOfType(UifAutoCreateViewType viewType)
|
Methods inherited from interface org.kuali.rice.krad.data.metadata.MetadataCommon |
---|
getBackingObjectName, getDescription, getLabel, getMergeAction, getName, getShortLabel, isReadOnly |
Method Detail |
---|
Class<?> getType()
List<DataObjectAttribute> getAttributes()
List<DataObjectCollection> getCollections()
List<DataObjectRelationship> getRelationships()
DataObjectAttribute getAttribute(String attributeName)
DataObjectAttribute
otherwise.DataObjectCollection getCollection(String collectionName)
Collection
.
DataObjectCollection
otherwise.DataObjectRelationship getRelationship(String relationshipName)
DataObjectRelationship
otherwise.List<DataObjectRelationship> getRelationshipsInvolvingAttribute(String attributeName)
DataObjectRelationship getRelationshipByLastAttributeInRelationship(String attributeName)
DataObjectRelationship
otherwise.List<String> getPrimaryKeyAttributeNames()
List<String> getBusinessKeyAttributeNames()
Boolean hasDistinctBusinessKey()
String getPrimaryDisplayAttributeName()
boolean isSupportsOptimisticLocking()
Collection<UifAutoCreateViewType> getAutoCreateUifViewTypes()
boolean shouldAutoCreateUifViewOfType(UifAutoCreateViewType viewType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |