psdi.app.relation

Class RelationRulesExt

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, RelationRulesExtRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class RelationRulesExt
    extends Mbo
    implements RelationRulesExtRemote
    ATTRIBUTENAMEMAXTYPEREMARKS
    GROUPNUMINTEGERRule Group
    LINENUMINTEGEREach row in the table will sequentially numbers
    OVERRIDEYORNValidation Override
    RELATIONNUMUPPERRelation Id
    RELATIONRULESEXTIDINTEGERUnique Id
    SOURCEATTRIBUTEALNSource Attribute
    SOURCECLASSUPPERSource Classification
    SOURCEVALCONDUPPERSource Condition
    SOURCEVALUEALNSource Attribute Value
    TARGETATTRIBUTEALNTarget Attribute
    TARGETCLASSUPPERTarget Classification
    TARGETVALCONDUPPERTarget Condition
    TARGETVALUEALNTarget Attribute Value
    WITHINANDORUPPERCondition Between Groups
    • Constructor Detail

      • RelationRulesExt

        public RelationRulesExt(MboSet ms)
                         throws MXException,
                                java.rmi.RemoteException
        Constructs the RelationRules object.

        Parameters:
        ms - MboSet
        Throws:
        MXException - , RemoteException
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds a new RelationRules object.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Parameters:
        none -
        Throws:
        MXException, - RemoteException
        MXException
        java.rmi.RemoteException
      • clearSourceClassification

        public void clearSourceClassification()
                                       throws java.rmi.RemoteException,
                                              MXException
        This method clears the source classtructure of the Relation rules.
        Specified by:
        clearSourceClassification in interface RelationRulesExtRemote
        Throws:
        MXException - , RemoteException
        java.rmi.RemoteException
        See Also:
        psdi.app.relation.Relation#clearSourceClassification()
      • clearTargetClassification

        public void clearTargetClassification()
                                       throws java.rmi.RemoteException,
                                              MXException
        This method clears the target classtructure of the Relation rules.
        Specified by:
        clearTargetClassification in interface RelationRulesExtRemote
        Throws:
        MXException - , RemoteException
        java.rmi.RemoteException
        See Also:
        psdi.app.relation.Relation#clearTargetClassification()
      • save

        protected void save()
                     throws MXException,
                            java.rmi.RemoteException
        Description copied from class: Mbo
        Save the object and other linked objects. Subclasses can code their save() logic to include any appropriate updates to other linked objects and call super.save().
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws MXException,
                                        java.rmi.RemoteException
        Overrides the skipCopyField() in the Mbo. If this field does not need to be copied return true.
        Overrides:
        skipCopyField in class Mbo
        Parameters:
        mvi - The MboValueInfo object of the MboValue that needs to be copied.
        Returns:
        true If the field does not need to be copied return true, in all other cases return false.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Relation.duplicate(), Relation.loadSkipFieldCopyHashSet()
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from class: Mbo
        Pre-save validation method. Programmer can override with specific rules.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException