psdi.app.asset

Class FldAssetToMeasure

    • Constructor Detail

      • FldAssetToMeasure

        public FldAssetToMeasure(MboValue mbv)
        constructs and attaches to the MboValue.
        Parameters:
        mbv - MboValue to which the specified attribute attaches.
        attrs - name of measure attribute, name of offset attribute corresponding to the measure attribute
    • Method Detail

      • initValue

        public void initValue()
                       throws MXException,
                              java.rmi.RemoteException
        sets ToMeasure to the greater of the asset's terminal points, that is, Asset.EndMeasure if Asset.EndMeasure>Asset.StartMeasure. Otherwise, Asset.StartMeasure is used.
        Specified by:
        initValue in interface MboValueListener
        Overrides:
        initValue in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        The validation checks if the entered value for ToMeasure in with in the range of start/end measures for the asset. If the entered value is outside the boundaries, an exception is thrown.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        ToMeasure cannot be null. If null, set to greater of the asset's terminal points, that is, Asset.EndMeasure if Asset.EndMeasure>Asset.StartMeasure. Otherwise, Asset.StartMeasure is used.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException