public class FldDeployedMeterAvgCalcInfo extends MboValueAdapter
DeployedMeter's
non-persistent AvgCalcInfo attribute.
This attribute serves as an intermediary between itself and either the
persistent AvgCalcValue or SlidingWindowSize attributes depending on
the persistent AvgCalcMethod. For a STATIC average calculation method,
this attribute is the static average for this value's DeployedMeter.
For a SLIDING average calculation method, this attribute is the size of the
window to be used in calculating the average for this value's DeployedMeter.
For example, a window size of five indicates that the five most recent meter
readings are used to calculate the average when the average calculation method
is SLIDING-READINGS, or that all meter readings taken in the previous five weeks
will be used when the average calculation method is SLIDING-WEEKS.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 |
|---|
FldDeployedMeterAvgCalcInfo(MboValue mbv)
Construct without a criteria.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
sets the AVGCALCMETHOD-dependent persistent attribute.
|
void |
validate()
Called to validate the data
Does nothing.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFindpublic FldDeployedMeterAvgCalcInfo(MboValue mbv) throws MXException
MXExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
MboValueAdaptervalidate in interface MboValueListenervalidate in class MboValueAdapterMXApplicationException("meter","numPosOnly") - when number is less than zero.MXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteException