public class Meter extends Mbo implements MeterRemote
The key attributes for this object are as follows: MeterName.
The attributes in this object are as follows:
| Attribute Name | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | Description of this meter. Long description enabled. | ||||||||||||||||
DomainId | Identifier of the domain
for a CHARACTERISTIC meter.
The domain constrains this meter's value to be ALN or NUMERIC.
The domain identifier cannot be null for a CHARACTERISTIC meter.
This attribute must be null and is READONLY for the other meter types.
| ||||||||||||||||
| LDKey | Long Description Key. This is a link to text stored in the LongDescription table. | ||||||||||||||||
MeasureUnitId |
unit of measure for this meter.
For example, a meter that measures noise level might use decibels as a unit
of measure. A meter that measures fuel consumption might use liters
as a unit of measure. This attribute pertains only to meters of type
CONTINUOUS and GAUGE.
| ||||||||||||||||
| MeterName | Identifier of this meter. A MeterName must be unique within each business unit. | ||||||||||||||||
MeterType | One of three possible values that describes how this meter's
values are entered and interpreted. The three valid values are
as follows:
| ||||||||||||||||
| ReadingType | The default reading type for the meter. A reading type can be ACTUAL, that is, the total number of meter ticks registered, or DELTA, that is, the number of meter ticks since the last reading. |
psdi.app.meter.metergroup,
psdi.app.meter.meteringroupMULTILANGCOPY, phantomList, phantomQueueALLROWS, 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 |
|---|
Meter(MboSet ms)
Construct the Meter object
|
| Modifier and Type | Method and Description |
|---|---|
void |
canDelete()
This meter can be deleted if it does not exists in any of the following
objects:
|
MboRemote |
duplicate()
Duplicates this Meter and its related objects.
|
void |
generateAutoKey()
Will Meter support autokeying????????????????/
|
java.lang.String |
getMeterType()
returns the internal, non-translated value for the MeterType attribute.
|
void |
init()
Initialization rountine for this object.
|
boolean |
isCharacteristic()
Is this a characteristic meter?
|
boolean |
isContinuous()
Is this a continuous meter?
|
boolean |
isContinuousOrGauge()
Is this a continuous or
gauge meter?
|
boolean |
isGauge()
Is this a gauge meter?
|
boolean |
isGaugeOrCharacteristic()
Is this a gauge or
characteristic meter? That is,
is this meter used to generate work orders via
condition monitoring? A
third type of meter, continuous,
generates work orders via preventive maintenance.
|
add, addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, 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, getValidateOrder, 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, modify, 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, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, 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, validateAttributespublic Meter(MboSet ms) throws MXException, java.rmi.RemoteException
ms - Mbo setMXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
init in class MboMXExceptionpublic java.lang.String getMeterType()
throws MXException,
java.rmi.RemoteException
getMeterType in interface MeterRemoteMXExceptionjava.rmi.RemoteExceptiongetMeterType()public boolean isContinuous()
throws MXException,
java.rmi.RemoteException
isContinuous in interface MeterRemoteMXExceptionjava.rmi.RemoteExceptionisContinuous()public boolean isGauge()
throws MXException,
java.rmi.RemoteException
isGauge in interface MeterRemoteMXExceptionjava.rmi.RemoteExceptionisGauge()public boolean isCharacteristic()
throws MXException,
java.rmi.RemoteException
isCharacteristic in interface MeterRemoteMXExceptionjava.rmi.RemoteExceptionisCharacteristic()public boolean isContinuousOrGauge()
throws MXException,
java.rmi.RemoteException
isContinuousOrGauge in interface MeterRemoteMXExceptionjava.rmi.RemoteExceptionisContinuousOrGauge()public boolean isGaugeOrCharacteristic()
throws MXException,
java.rmi.RemoteException
isGaugeOrCharacteristic in interface MeterRemoteMXExceptionjava.rmi.RemoteExceptionisGaugeOrCharacteristic()public void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXApplicationException("meter", - "existsintable") is thrown when
it is referenced by another object.MXExceptionjava.rmi.RemoteExceptionpublic void generateAutoKey()
throws java.rmi.RemoteException,
MXException
generateAutoKey in interface MboRemotegenerateAutoKey in class Mbojava.rmi.RemoteExceptionMXExceptionMboValue.autoKey(),
MboValue.generateUniqueID()public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionpsdi.mbo.Mbo#isAutoKeyed.