psdi.app.dbinfo

Class DBInfoRelationView

  • All Implemented Interfaces:
    java.rmi.Remote, MaxRelationshipRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class DBInfoRelationView
    extends MaxRelationship
    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

      • DBInfoRelationView

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

      • init

        public void init()
                  throws MXException
        Inititialize fields to readonly or not. Inititialize util to the set's value.
        Overrides:
        init in class MaxRelationship
        Throws:
        MXException
        See Also:
        #setLengthAndScaleReadonlyState, #setSearchTypeReadonlyFlag, #getSequenceInfo, #preventInternalChanges
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        To mark for deletion, attribute must be userdefined and not already marked for deletion. Then call delete.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException