Class DataObjectAttributeRelationshipImpl

java.lang.Object
org.kuali.rice.krad.data.metadata.impl.DataObjectAttributeRelationshipImpl
All Implemented Interfaces:
Serializable, DataObjectAttributeRelationship

public class DataObjectAttributeRelationshipImpl extends Object implements DataObjectAttributeRelationship
See Also:
  • Field Details

    • parentAttributeName

      protected String parentAttributeName
    • childAttributeName

      protected String childAttributeName
  • Constructor Details

    • DataObjectAttributeRelationshipImpl

      public DataObjectAttributeRelationshipImpl()
    • DataObjectAttributeRelationshipImpl

      public DataObjectAttributeRelationshipImpl(String parentAttributeName, String childAttributeName)
      Gets results where the actual rows are requested.
      Parameters:
      queryClass - the type of the results to return.
      criteria - the criteria to use to get the results.
      ojbCriteria - the implementation-specific criteria.
      flag - the indicator to whether the row count is requested in the results.
  • Method Details

    • getParentAttributeName

      public String getParentAttributeName()
      Gets attribute name of parent.

      The property on the "parent" data object.

      Specified by:
      getParentAttributeName in interface DataObjectAttributeRelationship
      Returns:
      attribute name of parent
    • setParentAttributeName

      public void setParentAttributeName(String parentAttributeName)
      Sets the parent attribute name.
      Parameters:
      parentAttributeName - parent attribute name
    • getChildAttributeName

      public String getChildAttributeName()
      Gets matching child property.

      The matching property on the "child", usually part of the child data object's primary key.

      Specified by:
      getChildAttributeName in interface DataObjectAttributeRelationship
      Returns:
      matching child property
    • setChildAttributeName

      public void setChildAttributeName(String childAttributeName)
      Sets the child attribute name.
      Parameters:
      childAttributeName - child attribute name
    • toString

      public String toString()
      Overrides:
      toString in class Object