psdi.app.contract.warranty

Class ContLineMeter

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


    public class ContLineMeter
    extends Mbo
    implements ContLineMeterRemote
    MBO object to represent the object for authorizing contracts. Only those sites that have an entry in this table will be able to access the contract.
    See Contract Package description.
    The attributes in this object are as follows:


    Attribute Name Description
    ContLineMeterId Unique identifier for every ContLineMeter record.
    ContractNum Contract number.
    OrgId The organization identifier which indicates the organization in which this contract was created..
    RevisionNum Revision number of the contract.

    Last Update: Monday, June 10, 2004 - Ganesh - javadocs

    • Constructor Detail

      • ContLineMeter

        public ContLineMeter(MboSet ms)
                      throws MXException,
                             java.rmi.RemoteException
        Construct the ContractAuth object.
        Parameters:
        ms -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new ContAssetMeter record. Required Fields of the ContractAuth are set in this method. The following fields are initialised with their respective values


        Attribute Name Attribute Value
        contlinemeterid unique identifier for every contassetmeter.
        contractnum contract number of the contract.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • propagateKeyValue

        public void propagateKeyValue(java.lang.String keyName,
                                      java.lang.String keyValue)
                               throws MXException,
                                      java.rmi.RemoteException
        Set value for CONTRACTNUM.
        Specified by:
        propagateKeyValue in interface MboRemote
        Overrides:
        propagateKeyValue in class Mbo
        Parameters:
        keyName - Should equal "CONTRACTNUM" or else nothing will be propagated.
        keyValue - The new value of CONTRACTNUM.
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Description copied from class: Mbo
        Can the object be deleted ? This is object specific and should be overridden.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException