psdi.mbo

Class RelationInfo

  • All Implemented Interfaces:
    java.io.Serializable


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

      • RelationInfo

        public RelationInfo(long id)
      • RelationInfo

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

        public RelationInfo(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
      • isTenantOwned

        public boolean isTenantOwned()