public class FldAssetChild extends FldMboKey
mboValueTYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWNALLROWS, 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 |
|---|
FldAssetChild(MboValue mbv)
Construct and attach to the MboValue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
When used in hierarchy mode, update this asset's parent field.
|
MboSetRemote |
getList()
List returned are existing asset which may be children
of the owner asset.
|
java.lang.String |
getMatchingAttr(java.lang.String sourceObjectName)
Defautl implementation to return null.
|
boolean |
hasList()
In a hierarchical situation, always assumes that there are potential child asset records.
|
void |
setValueFromLookup(MboRemote sourceMbo)
Set the value of the field and other fields which are part of the foreign key
from the sourceMbo to the Mbo that this mbo value belongs to.
|
void |
validate()
When used in hierarchy mode, can specify an existing piece of asset.
|
findRecord, getMboSet, setKeyAttributes, validateKeyCombinationgetAppLink, getIntegrationService, getLookupName, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, init, initValue, setType, smartFill, smartFind, smartFindpublic FldAssetChild(MboValue mbv) throws MXException
mbv - The MboValue field in the workorder object attach to.MXExceptionpublic void validate()
throws MXException,
java.rmi.RemoteException
validate in interface MboValueListenervalidate in class FldMboKeyMXException - With "asset", "cantAddChildOrParent".MXException - With "asset", "NotValidAsset".java.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class FldMboKeyMXExceptionjava.rmi.RemoteExceptionpublic boolean hasList()
hasList in interface MboValueListenerhasList in class MboValueAdapterpublic MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList in interface MboValueListenergetList in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
setValueFromLookup in interface MboValueListenersetValueFromLookup in class MboValueAdaptersourceMbo - MXExceptionjava.rmi.RemoteExceptionpsdi.mbo.MboValueListner#setvalueFromLookuppublic java.lang.String getMatchingAttr(java.lang.String sourceObjectName)
throws MXException,
java.rmi.RemoteException
MboValueAdaptergetMatchingAttr in interface MboValueListenergetMatchingAttr in class MboValueAdapterMXExceptionjava.rmi.RemoteException