public class AssetFeatureSpec extends SpecificationMbo implements AssetFeatureSpecRemote, SpecHistoryInterface
This is a site level object.
The key attributes for this object are as follows: SiteId, Wonum, Section, AssetAttrId.
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
ALNValue | Alphanumeric(text) value in entered units for the attribute specified. Editable only when the attribute is of ALN type. Defaults from ClassSpec.DefaultALNValue. |
| AssetAttrID | Asset attribute identifier.
|
| ChangeDate | Name of the user who last modified this object. This attribute defaults to the current user unless another value is provided. |
| ChangeDate | The date and time when this object was last modified. This attribute defaults to the MXServer date/time unless another value is provided. |
| ClassSpecID | The identifier of the classification specification from which the attributes are copied. |
| ClassStructureID | Identifier of the class structure associated with this item specification.Class structures are the hierarchies of
classifications (for example, centrifugal or rotarty pumps) around which assets can be organized.
|
| DisplaySequence | A number to indicate this object's display sequence in the job plan's specification. Value is copied from corresponding class specification when the job plan specificition is created. |
| LinkedToAttribute | The attribute to which this object is linked. |
| LinkedToSection | The section to which this object is linked. |
| Mandatory | Indicates whether value is needed. |
MeasureUnitID | Unit of Measure for the AlnValue or NumValue entered.
Value is initially copied from ClassSpec but can be edited after the copy.
|
NUMValue | Numeric value in entered units for the attribute specified. Editable only when the attribute is of NUMERIC type. |
| OrgID | Identifier of the organization for this specification.
|
| RefObjectID | Identifier of the Ticket to which this TicketSpec is linked. |
| RefObjectName | The name or object (Ticket) to which this TicketSpec is linked. |
| Section | Section for a group of attributes. |
| SiteID | Identifier of the site for this specification.espectively
|
| WONum | Identifier for the work order. |
| WorkOrderSpecID | System generated unique identification of this object. |
ClassStructure,
MeasureUnitcopyValueChanged, numValueBeforeFormat, oldSpecMarkedUnDeletedMULTILANGCOPY, 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 |
|---|
AssetFeatureSpec(MboSet ms)
Construct the AssetFeatureSpec object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
Set default values for a new JobPlanSpec object.
|
void |
addDetailInfor(MboRemote mbo,
MboRemote classspec)
08-12303:override addDetailInfor if FeatureSpec is being copied to
AssetFeatureSpec
Copying more information from owning object and ClassSpec to this PDSpec record.
|
void |
appValidate()
Linear Asset Feature-Attribuate must have a start and end measure.
|
void |
delete(long accessModifier)
Issue#08-23894
override delete to delete this record.
|
MboSetRemote |
getSpecHistory()
Returns the specification history table for the implementing object.
|
void |
init()
Initialization routine.
|
boolean |
isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName,
java.lang.String attributeName)
Indicates whether the CHANGEDBY_USER flag should be set
for attributes on this Mbo when their values are set
(along with other key fields) via lookup.
|
boolean |
isSpecModified()
Specifies if the specification object is modified enough to write a history
record.
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Set value for wonum.
|
protected void |
setLinearInfo() |
protected boolean |
skipCopyField(MboValueInfo mvi)
Overrides the skipCopyField() in the Mbo.
|
void |
updateSpecHistory()
Update the history object for the impelementing object.
|
canGenerateDesc, copy, generateDesc, getAssetAttributeMbo, getClassSpecRecord, getClassSpecUseWith, getClassSpecUseWith, getClassSpecUseWith, getCorrectOwner, getDataType, getDomainId, getMaxTableDomainObject, getMeasureUnitId, getNumValueBeforeFormat, getNumValueFromMIF, getTableDomainObject, initFieldFlagsOnMbo, modify, notifyDescChange, save, setALNOrNUMReadOnly, setAssetAttributeMbo, setCopyValueChanged, setMaxTableDomainObject, setOldSpecMarkedUndeleted, setValue, setValue, setValue, toOverrideScaleForMIF, toUpdateReadOnly, undelete, updateDesc, validateKeyUniquenessaddMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copyFake, copyValue, copyValue, createComm, delete, deleteDoclinks, 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, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isDuringInit, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, setUniqueIDValue, 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, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, 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, getMboValueDataForDownload, 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, 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, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributespublic AssetFeatureSpec(MboSet ms) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| changeby | Current username |
| changedate | Current date |
| classstructureid | Owner classstructureid |
| orgid | Owner organization identifier |
| refobjectid | Owner unique identifier |
| refobjectname | Owner object name |
| siteid | Owner site identifier |
| wonum | Owner work order identifier |
add in interface MboRemoteadd in class SpecificationMboMXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
init in class SpecificationMbonone - noneMXExceptionpublic void addDetailInfor(MboRemote mbo, MboRemote classspec) throws MXException, java.rmi.RemoteException
addDetailInfor in interface SpecificationMboRemoteaddDetailInfor in class SpecificationMboMXExceptionjava.rmi.RemoteExceptionprotected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField in class Mbomvi - The MboValueInfo object of the MboValue that needs to be copied.java.rmi.RemoteExceptionMXExceptionWO.loadSkipFieldCopyHashSet()public void propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
throws MXException,
java.rmi.RemoteException
propagateKeyValue in interface MboRemotepropagateKeyValue in class MbokeyName - Should equal "wonum" or else nothing will be propagated.keyValue - The new value of wonum.MXExceptionjava.rmi.RemoteExceptionpublic boolean isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName,
java.lang.String attributeName)
isChangeByUserWhenSetFromLookup in class MbolookupAttrName - the attribute whose lookup is being called.attributeName - the attribute that is not the lookup attribute.public boolean isSpecModified()
throws MXException,
java.rmi.RemoteException
SpecHistoryInterfaceisSpecModified in interface SpecHistoryInterfaceMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getSpecHistory() throws MXException, java.rmi.RemoteException
SpecHistoryInterfacegetSpecHistory in interface SpecHistoryInterfaceMXExceptionjava.rmi.RemoteExceptionpublic void updateSpecHistory()
throws MXException,
java.rmi.RemoteException
SpecHistoryInterfaceupdateSpecHistory in interface SpecHistoryInterfaceMXExceptionjava.rmi.RemoteExceptionprotected void setLinearInfo()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class MboaccessModifier - 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.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class SpecificationMboMXExceptionjava.rmi.RemoteException