psdi.mbo

Class RelationInfoBase

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class RelationInfoBase
    extends CachedObject
    Describes the relationship between objects
    See Also:
    Serialized Form
    • Constructor Detail

      • RelationInfoBase

        public RelationInfoBase(java.lang.String name,
                                java.lang.String src,
                                java.lang.String dest,
                                java.lang.String sqlexpr)
      • RelationInfoBase

        public RelationInfoBase(long uniqueId,
                                int tenantId,
                                java.lang.String name,
                                java.lang.String src,
                                java.lang.String dest,
                                java.lang.String sqlexpr,
                                java.lang.String cardinality,
                                java.lang.String dbjoinrequired)
        Construct passing the name of the relationship, source object name, destination object name and where clause to use.
    • Method Detail

      • getDest

        public java.lang.String getDest()
        Get the destination of the relationship
      • getSrc

        public java.lang.String getSrc()
        Get the source of the relationship
      • getName

        public java.lang.String getName()
        Get name of the realtionship
      • getSqlExpr

        public java.lang.String getSqlExpr()
        Get the where clause used to build the relationship
      • getCardinality

        public java.lang.String getCardinality()
        Get the cardinality. If null on database this will return the empty string.
      • getDbJoinReq

        public boolean getDbJoinReq()
        Get the value of "dbjoinrequired". If null on database this will return the empty string.
      • toString

        public java.lang.String toString()
        Print out the relationship for debugging
        Overrides:
        toString in class java.lang.Object
      • getCacheName

        public java.lang.String getCacheName()
        Description copied from class: CachedObject
        Return the identifier of the repository name for this cached object
        Specified by:
        getCacheName in class CachedObject
        Returns: