|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.DataObjectRelationship
DataObjectRelationship
instead
@Deprecated public class DataObjectRelationship
Represents a relationship to another class that exists within a given parent class
In terms of relational db, this can be thought of as a foreign key relationship. That is one of the properties (fields) of the parent class (parent table) has a relationship to another class (table)
Constructor Summary | |
---|---|
DataObjectRelationship()
Deprecated. |
|
DataObjectRelationship(Class<?> parentClass,
String parentAttributeName,
Class<?> relatedClass)
Deprecated. |
Method Summary | |
---|---|
String |
getChildAttributeForParentAttribute(String parentAttributeName)
Deprecated. Retrieves the attribute within the related class that is related to the given attribute of the parent class by the relationship represented by this object |
String |
getParentAttributeForChildAttribute(String childAttributeName)
Deprecated. Retrieves the attribute within the parent class that is related to the given attribute of the related class by the relationship represented by this object |
String |
getParentAttributeName()
Deprecated. Returns the name of the attribute within the parent class that holds the related class object |
Class<?> |
getParentClass()
Deprecated. Returns the Class that contains the relationship (the parent) |
Map<String,String> |
getParentToChildReferences()
Deprecated. Provides a Map of attribute pairs that make up the relationship, where the map key is the attribute name on the parent class and the map value is the attribute name on the related class |
Class<?> |
getRelatedClass()
Deprecated. Returns the class the attribute within the parent class has a relationship to |
String |
getUserVisibleIdentifierKey()
Deprecated. |
void |
setParentAttributeName(String parentAttributeName)
Deprecated. |
void |
setParentClass(Class<?> parentClass)
Deprecated. |
void |
setParentToChildReferences(Map<String,String> referenceAttributes)
Deprecated. Setter for the Map of attributes that participate in the relationship |
void |
setRelatedClass(Class<?> relatedClass)
Deprecated. |
void |
setUserVisibleIdentifierKey(String userVisibleIdentifierKey)
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataObjectRelationship()
public DataObjectRelationship(Class<?> parentClass, String parentAttributeName, Class<?> relatedClass)
Method Detail |
---|
public Class<?> getParentClass()
public Class<?> getRelatedClass()
public String getParentAttributeName()
Note this attribute should be of type given by #getRelatedClass
public Map<String,String> getParentToChildReferences()
public void setParentToChildReferences(Map<String,String> referenceAttributes)
referenceAttributes
- public String getParentAttributeForChildAttribute(String childAttributeName)
childAttributeName
- - name of attribute within the related class to find parent attribute for
public String getChildAttributeForParentAttribute(String parentAttributeName)
parentAttributeName
- - name of attribute within the parent class to find related (child) attribute for
public String getUserVisibleIdentifierKey()
public void setUserVisibleIdentifierKey(String userVisibleIdentifierKey)
public String toString()
toString
in class Object
public void setRelatedClass(Class<?> relatedClass)
public void setParentClass(Class<?> parentClass)
public void setParentAttributeName(String parentAttributeName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |