public class LocationMeter extends DeployedMeter implements LocationMeterRemote
The key attributes for this object are as follows: SiteId, Location and MeterName.
The attributes in this object are as follows:
Attribute Name | Description | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AvgCalcMethod | Method used to calculate the average meter
units per day upon entry of a new or modified meter reading.
Valid values are as follows:
| |||||||||||||||||
AvgMeterUnits | Non-persistent attribute. Holds the calculated average value. This value is dynamically calculated based on the AvgCalcMethod and the AvgCalcValue or SlidingWindowSize. | |||||||||||||||||
AvgCalcValue | average value for CONTINUOUS LocationMeters that employ a STATIC AvgCalcMethod. | |||||||||||||||||
ChangeBy, ChangeDate | Name of the user who entered or last modified this LocationMeter and the date the LocationMeter was entered or modified. These default to the system user name and date. | |||||||||||||||||
DeltaValue | Non-persistent attribute. This attribute, the value of which is calculated when a new reading is reported, is used to roll down the reading to this LocationMeter's children. | |||||||||||||||||
DomainId | Non-persistent attribute. For LocationMeters associated with CHARACTERISTIC
meters only, this attribute holds domain information from the Meter. This domain information
is used by NewReading and
PreviousReading to look up and
validate against the values in the ALNValue object.
| |||||||||||||||||
DoRollover | Will this LocationMeter's new reading roll the meter over. This attribute is READONLY when Rollover is null. | |||||||||||||||||
Active | Y/N field indicating whether or not the location's meter is available to accept readings. | |||||||||||||||||
Location | Location associated with the meter in this
LocationMeter.
| |||||||||||||||||
GroupName | Identifier of the meter group
from which this meter was copied to this LocationMeter.
| |||||||||||||||||
Inspector | Non-persistent attribute. Person who has provided the meter reading. | |||||||||||||||||
IsDelta | Non-persistent attribute. Is the meter reading being reported for this LocationMeter a delta value? | |||||||||||||||||
LastReading | Most recent reading for this LocationMeter. | |||||||||||||||||
LastReadingDate | Most recent reading date for this LocationMeter. | |||||||||||||||||
LDKey | Long description key for the Remarks attribute. This is a link to text stored in the LongDescription table. | |||||||||||||||||
LifeToDate | Total of all meter readings since the meter was manufactured. Reset only on replacement of physical meter. | |||||||||||||||||
MeasureUnitId |
unit of measure for this
LocationMeter. The value defaults to the
meter's MeasureUnitId but can then be modified.
This attribute pertains only to meters of type CONTINUOUS
and GAUGE.
| |||||||||||||||||
MeterName | Identifier of the
meter associated with the location in this LocationMeter.
| |||||||||||||||||
NewReading | Non-persistent attribute. New meter reading value. | |||||||||||||||||
NewReadingDate | Non-persistent attribute. Date of the new meter reading value. This cannot be a future date. | |||||||||||||||||
PreviousReading | Non-persistent attribute. Displays the most recent reading for this LocationMeter. | |||||||||||||||||
PreviousReadingDate | Non-persistent attribute. Displays the most recent reading date for this LocationMeter. | |||||||||||||||||
PreviousReadingInspector | Non-persistent attribute. Displays the inspector for this LocationMeter's most recent reading. | |||||||||||||||||
Remarks | Additional information supplied by the user regarding the LocationMeter record. Long description enabled. | |||||||||||||||||
Rollover |
Rollover value for
this LocationMeter. If this LocationMeter has been created when applying a meter group
to this location, the value defaults to the meter
group's rollover value but can then be modified.
| |||||||||||||||||
SinceInstall | Difference between the current meter reading for this LocationMeter's meter and the meter reading when this LocationMeter's location was moved into its current configuration. | |||||||||||||||||
SinceLastInspection | Difference between the current meter reading for this
LocationMeter's meter and the meter reading when the last
work order of
type INSPECTION was opened or closed on this LocationMeter's location
as determined by application setup.
| |||||||||||||||||
SinceLastOverhaul | Difference between the current meter reading for this
LocationMeter's meter and the meter reading when the last
work order of
type OVERHAUL was opened or closed on this LocationMeter's location
as determined by application setup.
| |||||||||||||||||
SinceLastRepair | Difference between the current meter reading for this
LocationMeter's meter and the meter reading when the last
work order was opened or closed on this
LocationMeter's location as determined by application setup.
| |||||||||||||||||
SlidingWindowSize | if the AvgCalcMethod employs a sliding scale, this attribute specifies the number of readings, days, weeks or months to use in the average calculation. |
psdi.app.meter.metergroup
,
psdi.app.meter.meteringroup
MULTILANGCOPY, phantomList, phantomQueue
ALLROWS, 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 |
---|
LocationMeter(MboSet ms)
Construct the LocationMeter object
|
Modifier and Type | Method and Description |
---|---|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
void |
isOwningMboNOSAVE()
10-19707: the modify() method sets the owner(most likely Location) isModified flag to true.
|
void |
modify()
called whenever a field is modified to update the changedate and changeby attributes
|
void |
save()
Check if process is being saved via Integration.
|
add, addModifiedReadingsForAvgCalc, addReading, appValidate, canDelete, enableDisable, enterReadingOnMaterialIssue, getAvgCalcMethod, getIsReadingUpdate, getIsWOMeterProcess, getMeterReadingForKnownDate, getNextMeterReading, getOrigMRUpdate, getPreviousMeterReading, getReadingType, getReadingValueAsDouble, getSupressUniquenessErrorFlag, getTheMeter, getValidateOrder, init, isCurrentlyBeingAddedOnMeterGroupChange, isReadingMostRecentReading, maintainWOMeter, meterInGroupToDeployedMeter, meterInGroupToDeployedMeter, processNonContinuousReadings, refreshPreviousReadingInfo, resetMeter, returnDeploymentInfo, returnReadingForWOMeterProcessing, setCurrentlyBeingAddedOnMeterGroupChange, setIsReadingUpdate, setOrigMRUpdate, setPreviousReadingInfoOnInit, setTypeSpecificFlags, undelete, validateALNEnteredDecimalValue
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addModifiedReadingsForAvgCalc, addReading, enableDisable, enterReadingOnMaterialIssue, getAvgCalcMethod, getIsReadingUpdate, getIsWOMeterProcess, getMeterReadingForKnownDate, getOrigMRUpdate, getPreviousMeterReading, getReadingType, getReadingValueAsDouble, getSupressUniquenessErrorFlag, getTheMeter, isCurrentlyBeingAddedOnMeterGroupChange, isReadingMostRecentReading, maintainWOMeter, meterInGroupToDeployedMeter, meterInGroupToDeployedMeter, processNonContinuousReadings, refreshPreviousReadingInfo, resetMeter, returnDeploymentInfo, returnReadingForWOMeterProcessing, setCurrentlyBeingAddedOnMeterGroupChange, setIsReadingUpdate, setOrigMRUpdate, setTypeSpecificFlags
add, addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public LocationMeter(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- Mbo setMXException
java.rmi.RemoteException
public void modify() throws MXException, java.rmi.RemoteException
DeployedMeter
modify
in class DeployedMeter
MXException
java.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
Mbo
delete
in interface MboRemote
delete
in class DeployedMeter
accessModifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXException
java.rmi.RemoteException
Mbo.delete(long)
public void isOwningMboNOSAVE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void save() throws MXException, java.rmi.RemoteException
save
in class DeployedMeter
MXException
java.rmi.RemoteException
enterNewReading
,
updateCumulatives