psdi.app.ticket

Class FldTkAssetLocation

    • 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
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Update the fields affected by changing this field. If there's a single piece of asset for this location and the ticket's assetnum field is null, then the assetnum field is set to the location's asset. If the ticketalready has a piece of asset, different from the location's asset, then a warning is given instead (MXApplicationException, ticket, LocChangeAsset, parameter of the assetnum's location), but the assetnum field won't change.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Used to determine the single asset at a location.