psdi.app.configure

Class MaxRelationship

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, MaxRelationshipRemote, MboConstants, MboRemote, MaxRemoteProxy
    Direct Known Subclasses:
    DBInfoRelationView


    public class MaxRelationship
    extends Mbo
    implements MaxRelationshipRemote
    Mbo object to represent MaxRelationship.

    Relationships are stored in MboSetInfo for use during runtime. This relationship information comes from, when initializing the data dictionary via loadRelationsInfo, relationships are obtained from the MaxRelationship table.

    If the same relationship name is defined by both of these sources, then the relationship defined on the MaxRelationship table will take precedence.

    See Configure Package description.

    This is a system level object.

    The key attributes for this object are Parent and Name.

    The attributes in this object are as follows:

    Attribute NameDescription
    ChildTable name of the related child.
    NameUnique identifier for this object.
    ParentTable name of the parent.
    RemarksFreeform description of the relationship.
    WhereClauseSQL of the relationship. For example, laborcode = :reportedby indicates that the value of the child's laborcode equals the value of the parent's reportedby.
    • Constructor Detail

      • MaxRelationship

        public MaxRelationship(MboSet ms)
                        throws java.rmi.RemoteException
        Construct the MaxRelationship object
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        ParentIf owner is MaxObjectCfg, set parent equal to owner's objectname.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Pre-save validation method.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException