psdi.app.asset

Class FldMeasure

    • Field Detail

      • attrsStartEndMatch

        protected java.util.Hashtable attrsStartEndMatch
      • attrsMeasureAndOffsetMatch

        protected java.util.Hashtable attrsMeasureAndOffsetMatch
      • attrsMeasureAndOffsetLabelsMatch

        protected java.util.Hashtable attrsMeasureAndOffsetLabelsMatch
      • attrsMeasureAndFeatureIdMatch

        protected java.util.Hashtable attrsMeasureAndFeatureIdMatch
      • attrsMeasureAndMeasureUnitIdMatch

        protected java.util.Hashtable attrsMeasureAndMeasureUnitIdMatch
      • attrsMeasureAndBaseMeasureMatch

        protected java.util.Hashtable attrsMeasureAndBaseMeasureMatch
      • attrsMeasureAndBaseMeasureIdMatch

        protected java.util.Hashtable attrsMeasureAndBaseMeasureIdMatch
      • newMeasureVal

        protected double newMeasureVal
        IV82432: New measure value calculated in the validate() method, saved as protected property so as to be accessible to derived classes like FldAssetFeatureMeasure for further validation.
    • Constructor Detail

      • FldMeasure

        public FldMeasure(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
      • FldMeasure

        public FldMeasure(MboValue mbv,
                          java.util.Hashtable attrsStartEndMatch,
                          java.util.Hashtable attrsMeasureAndOffsetMatch,
                          java.util.Hashtable attrsMeasureAndOffsetLabels,
                          java.util.Hashtable attrsMeasureAndFeatureId,
                          java.util.Hashtable attrsMeasureAndMeasureUnitIdMatch,
                          java.util.Hashtable attrsMeasureAndBaseMeasureMatch,
                          java.util.Hashtable attrsMeasureAndBaseMeasureIdMatch)
        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

      • setBoundaryViolationMsgs

        public void setBoundaryViolationMsgs(java.util.Hashtable boundViolationErrMsgs)
        different objects may require different messages to describe the same bound violation situation. The default is defined in the exception tag. Use this method from subclass to override these defaults.
        Parameters:
        boundViolationErrMsgs -
        Throws:
        MXApplicationException("asset","featstartboundviolation") - - when the measure is out bounds.
        MXApplicationException("asset","featstartrefboundviolation") - - when the measure plus the offset is out of bounds.
        See Also:
        FldAssetFeatureSpecMeasure.validate()
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Measure must be between the boundary object's StartMeasure and EndMeasure. The boundary object's StartMeasure does not have to be less than EndMeasure, so this measure can be less than StartMeasure as long as it is also greater than the end measure.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • setAsset

        public void setAsset(MboRemote asset)
        set the asset object. Measurements cannot exceed this asset object's STARTMEASURE and ENDMEASURE
        Parameters:
        asset -
      • getAssetFeatureForFeatureTypeRecalibration

        public MboRemote getAssetFeatureForFeatureTypeRecalibration()
                                                             throws MXException,
                                                                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException