psdi.plusc.app.pluscds

Class PlusCFldWODSTagLocation

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class PlusCFldWODSTagLocation
    extends FldLocation
    Field class for the Tag Location field in the Data Sheets table of Work Order.
    • Constructor Detail

      • PlusCFldWODSTagLocation

        public PlusCFldWODSTagLocation(MboValue mbv)
                                throws MXException
        Instantiates a new plus c fld wods tag location.
        Parameters:
        mbv - the mbv
        Throws:
        MXException - the mX exception
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • fillAssetFromTag

        protected void fillAssetFromTag()
                                 throws MXException,
                                        java.rmi.RemoteException
        If the associated location is a tag id, then fill in the corresponding asset.
        Throws:
        MXException - the mX exception
        java.rmi.RemoteException - the remote exception
      • getLocation

        protected LocationRemote getLocation()
                                      throws MXException,
                                             java.rmi.RemoteException
        Returns the tag location associated with this wo ds.
        Returns:
        the tag Location MBO if found, otherwise.
        Throws:
        MXException - the mX exception
        java.rmi.RemoteException - the remote exception