psdi.app.common

Class FldStartEndAssetFeatureID

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldStartEndAssetFeatureID
    extends MboValueAdapter
    Common field class to define the action when certain AssetFeatureID fields are changed in the Linear Work Management apps. Used by the Start- and End- AssetFeatureID fields in Route_Stops, PMs, and the MultiAssetLocCI table.
    • Constructor Detail

      • FldStartEndAssetFeatureID

        public FldStartEndAssetFeatureID(MboValue mbv)
        Construct and attach to mbo value
        Parameters:
        mbv -
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        The desired result here is to update the non-persistent Start- or EndFeatureLabel fields (externally called Start and End Reference Points) when the Start- or EndAssetFeatureID value changes; if not done, the visible field remains unchanged. The mbo involved may be a Route_Stop, PM, or MultiAssetLocCI object; we needn't inquire which it is, since all three have the same field names and relationships. Be sure to set the values novalidation and noaction: 1) there should be no need to validate, since users will never be entering any such values directly; and 2) it has to be done noaction, or else there's the risk of an endless loop if FldMeasure and this class call each other repeatedly.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException