Package org.kuali.rice.krad.bo
Class DataObjectRelationship
java.lang.Object
org.kuali.rice.krad.bo.DataObjectRelationship
- All Implemented Interfaces:
Serializable
Deprecated.
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)
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.DataObjectRelationship(Class<?> parentClass, String parentAttributeName, Class<?> relatedClass) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetChildAttributeForParentAttribute(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 objectgetParentAttributeForChildAttribute(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 objectDeprecated.Returns the name of the attribute within the parent class that holds the related class objectClass<?> Deprecated.Returns the Class that contains the relationship (the parent)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 classClass<?> Deprecated.Returns the class the attribute within the parent class has a relationship toDeprecated.voidsetParentAttributeName(String parentAttributeName) Deprecated.voidsetParentClass(Class<?> parentClass) Deprecated.voidsetParentToChildReferences(Map<String, String> referenceAttributes) Deprecated.Setter for the Map of attributes that participate in the relationshipvoidsetRelatedClass(Class<?> relatedClass) Deprecated.voidsetUserVisibleIdentifierKey(String userVisibleIdentifierKey) Deprecated.toString()Deprecated.
-
Constructor Details
-
Method Details
-
getParentClass
Deprecated.Returns the Class that contains the relationship (the parent)- Returns:
- Classinvalid input: '<'?> parent class
-
getRelatedClass
Deprecated.Returns the class the attribute within the parent class has a relationship to- Returns:
- Classinvalid input: '<'?> related class
-
getParentAttributeName
Deprecated.Returns the name of the attribute within the parent class that holds the related class objectNote this attribute should be of type given by #getRelatedClass
- Returns:
- String attribute name within parent class
-
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- Returns:
- Mapinvalid input: '<'String, String> related attribute pairs
-
setParentToChildReferences
Deprecated.Setter for the Map of attributes that participate in the relationship- Parameters:
referenceAttributes-
-
getParentAttributeForChildAttribute
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- Parameters:
childAttributeName- - name of attribute within the related class to find parent attribute for- Returns:
- String attribute name within parent class
-
getChildAttributeForParentAttribute
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- Parameters:
parentAttributeName- - name of attribute within the parent class to find related (child) attribute for- Returns:
- String attribute name within the related class
-
getUserVisibleIdentifierKey
Deprecated. -
setUserVisibleIdentifierKey
Deprecated. -
toString
Deprecated. -
setRelatedClass
Deprecated. -
setParentClass
Deprecated. -
setParentAttributeName
Deprecated.
-
DataObjectRelationshipinstead