psdi.app.contract

Class ContractTypeTerm

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


    public class ContractTypeTerm
    extends Mbo
    implements ContractTypeTermRemote
    MBO object to represent Contract Type Term.
    Contract Type Term table stored a list of valid terms or conditions for contract types.
    This is an organization level object.
    The key attributes for this object are OrgId and ContractTypeId.

    The attributes in this object are as follows:

    Attribute Name Description
    ContractTypeId Identifies the contract type. Contract type is same as ContractType Value List Value.
    Description Description of the term or condition.
    Editable Y/N field indicating whether the term could be editable or not. The default value is Y.
    LDKey Long Description Key. This is a link to text stored in the LongDescription table.
    TermId Identifies the term or condition.
    OrgId Identifier of the organization for this Contract Type.
    • Constructor Detail

      • ContractTypeTerm

        public ContractTypeTerm(MboSet ms)
                         throws MXException,
                                java.rmi.RemoteException
        Construct the Contract Type Term object.
        Parameters:
        ms -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new Contract Type Term Required fields of the ContractTypeTerm object are initialized in this method. The following fields are initialized with their respective values
        Attribute Name Attribute Value
        contracttypeid Owner's contracttypeid
        canedit Yes
        orgid Default orgid
        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
        Validating that either TERM or TERM Description is entered.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException