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, 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 |
---|
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, 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, initRelationship, isAutoKeyed, isBasedOn, 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, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 AssetLocRelation(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteException
public void clearLinearAssetFields(java.lang.String attr) throws MXException, java.rmi.RemoteException
clearLinearAssetFields
in interface AssetLocRelationRemote
MXException
java.rmi.RemoteException
FldAssetLocRelationSourceAssetNum.action()
,
FldAssetLocRelationTargetAssetNum.action()
public void init() throws MXException
init
in class Mbo
none
- none
MXException
public java.lang.String[] getValidateOrder()
getValidateOrder
in class Mbo
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
- MAXIMO System errorjava.rmi.RemoteException
- RMI errorpublic void save() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
Mbo
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public 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.MXException
java.rmi.RemoteException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
java.rmi.RemoteException
MXApplicationException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
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 setLinearAttrsREADONLYFlagOnSourceAsset() throws MXException, java.rmi.RemoteException
setLinearAttrsREADONLYFlagOnSourceAsset
in interface AssetLocRelationRemote
MXException
java.rmi.RemoteException
setLinearAttrsREADONLYFlagOnTargetAsset()
public void setLinearAttrsREADONLYFlagOnTargetAsset() throws MXException, java.rmi.RemoteException
setLinearAttrsREADONLYFlagOnTargetAsset
in interface AssetLocRelationRemote
MXException
java.rmi.RemoteException
setLinearAttrsREADONLYFlagOnTargetAsset()
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
initFieldFlagsOnMbo
in class Mbo
MXException
public boolean isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName, java.lang.String attributeName)
isChangeByUserWhenSetFromLookup
in class Mbo
lookupAttrName
- 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 AssetLocRelationRemote
MXException
java.rmi.RemoteException
createSourceAssetFeatureRec()
public void createTargetAssetFeatureRec() throws MXException, java.rmi.RemoteException
createTargetAssetFeatureRec
in interface AssetLocRelationRemote
MXException
java.rmi.RemoteException
createTargetAssetFeatureRec()
public void recalAssetRelMesModify() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void recalAssetRelFeatureMesModify() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateRelationshipRules() throws MXException, java.rmi.RemoteException
validateRelationshipRules
in interface AssetLocRelationRemote
MXException
java.rmi.RemoteException