public class FldMeasure extends MboValueAdapter
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Hashtable |
attrsMeasureAndBaseMeasureIdMatch |
protected java.util.Hashtable |
attrsMeasureAndBaseMeasureMatch |
protected java.util.Hashtable |
attrsMeasureAndFeatureIdMatch |
protected java.util.Hashtable |
attrsMeasureAndMeasureUnitIdMatch |
protected java.util.Hashtable |
attrsMeasureAndOffsetLabelsMatch |
protected java.util.Hashtable |
attrsMeasureAndOffsetMatch |
protected java.util.Hashtable |
attrsStartEndMatch |
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.
|
mboValueTYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWNALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER| Constructor and Description |
|---|
FldMeasure(MboValue mbv)
constructs and attaches to the MboValue.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
Called if the data is valid, to perform some action
Does nothing
|
MboRemote |
getAssetFeatureForFeatureTypeRecalibration() |
void |
setAsset(MboRemote asset)
set the asset object.
|
void |
setBoundaryViolationMsgs(java.util.Hashtable boundViolationErrMsgs)
different objects may require different messages to describe the same bound
violation situation.
|
void |
validate()
Measure must be between the boundary object's StartMeasure and EndMeasure.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFindprotected java.util.Hashtable attrsStartEndMatch
protected java.util.Hashtable attrsMeasureAndOffsetMatch
protected java.util.Hashtable attrsMeasureAndOffsetLabelsMatch
protected java.util.Hashtable attrsMeasureAndFeatureIdMatch
protected java.util.Hashtable attrsMeasureAndMeasureUnitIdMatch
protected java.util.Hashtable attrsMeasureAndBaseMeasureMatch
protected java.util.Hashtable attrsMeasureAndBaseMeasureIdMatch
protected double newMeasureVal
public FldMeasure(MboValue mbv)
mbv - MboValue to which the specified attribute attaches.attrs - name of measure attribute, name of offset attribute corresponding to the measure attributepublic 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)
mbv - MboValue to which the specified attribute attaches.attrs - name of measure attribute, name of offset attribute corresponding to the measure attributepublic void setBoundaryViolationMsgs(java.util.Hashtable boundViolationErrMsgs)
boundViolationErrMsgs - MXApplicationException("asset","featstartboundviolation") - - when the measure is out bounds.MXApplicationException("asset","featstartrefboundviolation") - - when the measure plus the offset is out of bounds.FldAssetFeatureSpecMeasure.validate()public void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
MboValueAdapteraction in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void setAsset(MboRemote asset)
asset - public MboRemote getAssetFeatureForFeatureTypeRecalibration() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException