|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataChild
Interface shared by all non-top-level metadata objects which link to other persistable objects. This is used as the base interface for 1:1/M:1 Relationships and 1:M/N:M Collections.
Method Summary | |
---|---|
List<DataObjectAttributeRelationship> |
getAttributeRelationships()
Returns the related fields between the parent and child objects. |
String |
getParentAttributeNameRelatedToChildAttributeName(String childAttribute)
For a given child key attribute, return the matching foreign key attribute on the parent object. |
Class<?> |
getRelatedType()
This is the type of the object referenced by this relationship or contained in this collection. |
boolean |
isDeletedWithParent()
For related objects, whether this object will be automatically deleted when the containing object is deleted. |
boolean |
isLoadedAtParentLoadTime()
For related objects, whether this related object will be loaded from the persistence layer at the same time as the parent object. |
boolean |
isLoadedDynamicallyUponUse()
For related objects, whether this related object will be loaded from the persistence layer automatically when it is accessed by client code. |
boolean |
isSavedWithParent()
For related objects, whether this object will be automatically saved when the containing object is persisted. |
Methods inherited from interface org.kuali.rice.krad.data.metadata.MetadataCommon |
---|
getBackingObjectName, getDescription, getLabel, getMergeAction, getName, getShortLabel, isReadOnly |
Method Detail |
---|
Class<?> getRelatedType()
List<DataObjectAttributeRelationship> getAttributeRelationships()
boolean isSavedWithParent()
boolean isDeletedWithParent()
isSavedWithParent()
method. It probably would never be true if the
isSavedWithParent()
returns false.
boolean isLoadedAtParentLoadTime()
boolean isLoadedDynamicallyUponUse()
String getParentAttributeNameRelatedToChildAttributeName(String childAttribute)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |