public class AssetLocRelation extends Mbo implements AssetLocRelationRemote
This is a system level object.
The key attributes for this object is: SOURCEASSETNUM, TARGETASSETNUM and ASSETRELATIONNUM
The attributes in this object are as follows:
| Attribute Name | Description |
|---|---|
| ASSETLOCRELATIONID | Unique ID |
| SOURCEASSETNUM | Identifier of the Source Asset. |
| SOURCELOCATION | Identifier of the Source Location. |
| TARGETASSETNUM | Identifier of the Target Asset. |
| TARGETLOCATION | Identifier of the Target Location. |
| SOURCESTARTMEASURE | Identifier of the Source Start Measure. |
| TARGETSTARTMEASURE | Identifier of the Target Strat Measure. |
| SOURCEENDMEASURE | Identifier of the Source End Measure. |
| TARGETENDMEASURE | Identifier of the Target End Measure. |
| SOURCESTARTOFFSET | Identifier of the Source Start Offset. |
| SOURCESTARTYOFFSET | Identifier of the Source Start Y Offset. |
| SITEID | SITE where AssetLocRelation exists. |
| ORGID | Organization where AssetLocRelation exists |
| SOURCEYOFFSETREF | Source Y Offset Referent. |
| TARGETYOFFSETREF | Target Y Offset Referant. |
| SOURCEZOFFSETREF | Source Z Offset Referent. |
| TARGETZOFFSETREF | Target z Offset Referant. |
| SOURCESTARTZOFFSET | Source start Z Offset. |
| TARGETSTARTOFFSET | Target Start Offste. |
| TARGETSTARTYOFFSET | Target Start Y Offset. |
| TARGETSTARTZOFFSET | Target Start Z Offset. |
| SOURCEENDOFFSET | Source End Offset. |
| SOURCEENDYOFFSET | Source End Y Offset. |
| SOURCEENDZOFFSET | Source End Z Offset. |
| TARGETENDOFFSET | Target End Offste. |
| TARGETENDYOFFSET | Target End Y Offste. |
| TARGETENDZOFFSET | Target End Z Offste. |
| SOURCESTARTASSETFEATUREID | Unique Identifier for the start of this AssetLocRelation''s source asset feature. |
| TARGETSTARTASSETFEATUREID | Unique Identifier for the start of this AssetLocRelation''s target asset feature. |
| SOURCEENDASSETFEATUREID | Unique Identifier for the end of this AssetLocRelation''s source asset feature. |
| TARGETENDASSETFEATUREID | Unique Identifier for the end of this AssetLocRelation''s target asset feature. |
| ASSETRELATIONNUM | Asset Relationship identifier. |
| CREATEDDATE | The Date when the relation between the two Assets were established. |
| SOURCELRM | Name of this linear referencing method. A linear referencing method is a mechanism for finding and stating the location of any point in a linear asset by referencing it to a known point. The method also specifies a marker (for example, mile post) and measure unit (for example, kilometre). |
| TARGETLRM | Name of this linear referencing method. A linear referencing method is a mechanism for finding and stating the location of any point in a linear asset by referencing it to a known point. The method also specifies a marker (for example, mile post) and measure unit (for example, kilometre) |
| SOURCESTARTFEATURELABEL | Label used to identify the specific AssetFeature used to locate the start of the portion of the linear asset for which this relationship applies. |
| SOURCEENDFEATURELABEL | Label used to identify the specific AssetFeature used to locate the end of the portion of the linear asset for which this relationship applies. |
| TARGETSTARTFEATURELABEL | Label used to identify the specific AssetFeature used to locate the start of the portion of the linear asset for which this relationship applies. |
| TARGETENDFEATURELABEL | Label used to identify the specific AssetFeature used to locate the end of the portion of the linear asset for which this relationship applies. |
| Modifier and Type | Field and Description |
|---|---|
boolean |
createNewAssetNum |
MULTILANGCOPY, 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 |
|---|
AssetLocRelation(MboSet ms) |
| Modifier and Type | Method and Description |
|---|---|
void |
add()
sets defaults values for a new AssetLocRelation object.
|
void |
appValidate()
Pre-save validation method.
|
void |
canDelete()
If Asset Relationship is marked as the 'Use As Reference', also creates the asset feature records.
|
void |
checkDuplicateRelationships(java.lang.String sourceassetnum,
java.lang.String assetrelationnum,
java.lang.String targetassetnum)
Informs when a duplicate Relation has been entered for a SourceAsset/TragetAsset combination in
AssetLocelationship table.
|
void |
clearLinearAssetFields(java.lang.String attr)
Clears all the source or target linear asset-related fields when an attribute
containing "SOURCE" or "TARGET" is modified.
|
void |
createSourceAssetFeatureRec()
When a CI-Relationship is applied to Linear Asset and Asset Relationship has been identified as
a referent , create assetfeature record(s).
|
void |
createTargetAssetFeatureRec()
When a CI-Relationship is applied to Linear Asset and Asset Relationship has been identified as
a referent , create assetfeature record(s).
|
void |
delete(long accessModifier)
override delete to delete this record
|
java.lang.String[] |
getValidateOrder()
validation order for asset attributes
|
void |
init()
Initialization routine.
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
set linear-related field flags
|
boolean |
isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName,
java.lang.String attributeName)
Indicate whether the changeed by user flag should be set to the attribute when it is set along with other key field
when the lookup attribute is being set on this Linear Mbo.
|
void |
recalAssetRelFeatureMesModify()
Recalibration for Asset-Relationships.
|
void |
recalAssetRelMesModify()
Recalibration for Asset-Relationships.
|
void |
save()
on creating new AssetLocRelationship record also creates AssetLocRelHistory record.
|
void |
setLinearAttrsREADONLYFlagOnSourceAsset()
sets TargetAsset-related fields' READONLY flag.
|
void |
setLinearAttrsREADONLYFlagOnTargetAsset()
sets TargetAsset-related fields' READONLY flag.
|
void |
validateRelationshipRules()
Validates the relationship rules for Assets using the RELATIONRULEEXT
rules
|
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, 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, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, 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, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, 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, 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, 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 AssetLocRelation(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void clearLinearAssetFields(java.lang.String attr)
throws MXException,
java.rmi.RemoteException
clearLinearAssetFields in interface AssetLocRelationRemoteMXExceptionjava.rmi.RemoteExceptionFldAssetLocRelationSourceAssetNum.action(),
FldAssetLocRelationTargetAssetNum.action()public void init()
throws MXException
init in class Mbonone - noneMXExceptionpublic java.lang.String[] getValidateOrder()
getValidateOrder in class Mbopublic void add()
throws MXException,
java.rmi.RemoteException
add in interface MboRemoteadd in class MboMXException - MAXIMO System errorjava.rmi.RemoteException - RMI errorpublic void save()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void appValidate()
throws MXException,
java.rmi.RemoteException
MboappValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic void checkDuplicateRelationships(java.lang.String sourceassetnum,
java.lang.String assetrelationnum,
java.lang.String targetassetnum)
throws MXException,
java.rmi.RemoteException
thisMbo - the object to which the meter is being addedMXApplicationException("asset","sourcereltargetdupe") - when a duplicate relation is added to a asset-relationship.MXExceptionjava.rmi.RemoteExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXExceptionjava.rmi.RemoteExceptionMXApplicationExceptionpublic 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 setLinearAttrsREADONLYFlagOnSourceAsset()
throws MXException,
java.rmi.RemoteException
setLinearAttrsREADONLYFlagOnSourceAsset in interface AssetLocRelationRemoteMXExceptionjava.rmi.RemoteExceptionsetLinearAttrsREADONLYFlagOnTargetAsset()public void setLinearAttrsREADONLYFlagOnTargetAsset()
throws MXException,
java.rmi.RemoteException
setLinearAttrsREADONLYFlagOnTargetAsset in interface AssetLocRelationRemoteMXExceptionjava.rmi.RemoteExceptionsetLinearAttrsREADONLYFlagOnTargetAsset()public void initFieldFlagsOnMbo(java.lang.String attrName)
throws MXException
initFieldFlagsOnMbo in class MboMXExceptionpublic 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 void createSourceAssetFeatureRec()
throws MXException,
java.rmi.RemoteException
createSourceAssetFeatureRec in interface AssetLocRelationRemoteMXExceptionjava.rmi.RemoteExceptioncreateSourceAssetFeatureRec()public void createTargetAssetFeatureRec()
throws MXException,
java.rmi.RemoteException
createTargetAssetFeatureRec in interface AssetLocRelationRemoteMXExceptionjava.rmi.RemoteExceptioncreateTargetAssetFeatureRec()public void recalAssetRelMesModify()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void recalAssetRelFeatureMesModify()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void validateRelationshipRules()
throws MXException,
java.rmi.RemoteException
validateRelationshipRules in interface AssetLocRelationRemoteMXExceptionjava.rmi.RemoteException