org.kuali.rice.krad.bo
Class BusinessObjectRelationship

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectRelationship
All Implemented Interfaces:
Serializable

public class BusinessObjectRelationship
extends Object
implements Serializable

This class represents a parentClass/child relationship between two objects This is used primarily by the BusinessObjectMetaDataService

See Also:
Serialized Form

Constructor Summary
BusinessObjectRelationship()
           
BusinessObjectRelationship(Class parent, String parentAttributeName, Class relatedClass)
           
 
Method Summary
 String getChildAttributeForParentAttribute(String parentAttributeName)
           
 String getParentAttributeForChildAttribute(String childAttributeName)
           
 String getParentAttributeName()
           
 Class getParentClass()
          Gets the parentClass attribute.
 Map<String,String> getParentToChildReferences()
           
 Class getRelatedClass()
           
 String getUserVisibleIdentifierKey()
           
 void setParentToChildReferences(Map<String,String> referenceAttribues)
           
 void setUserVisibleIdentifierKey(String userVisibleIdentifierKey)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BusinessObjectRelationship

public BusinessObjectRelationship()

BusinessObjectRelationship

public BusinessObjectRelationship(Class parent,
                                  String parentAttributeName,
                                  Class relatedClass)
Method Detail

getRelatedClass

public Class getRelatedClass()

getParentClass

public Class getParentClass()
Gets the parentClass attribute.

Returns:
Returns the parentClass.

toString

public String toString()
Overrides:
toString in class Object

getParentAttributeName

public String getParentAttributeName()

getParentToChildReferences

public Map<String,String> getParentToChildReferences()

setParentToChildReferences

public void setParentToChildReferences(Map<String,String> referenceAttribues)

getUserVisibleIdentifierKey

public String getUserVisibleIdentifierKey()

setUserVisibleIdentifierKey

public void setUserVisibleIdentifierKey(String userVisibleIdentifierKey)

getParentAttributeForChildAttribute

public String getParentAttributeForChildAttribute(String childAttributeName)

getChildAttributeForParentAttribute

public String getChildAttributeForParentAttribute(String parentAttributeName)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.