public class FldAssetChild extends FldMboKey
mboValue
TYPE_DOMAIN, TYPE_FIELDCLASS, TYPE_KEY, TYPE_UNKNOWN
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 |
---|
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, validateKeyCombination
getAppLink, getIntegrationService, getLookupName, getMatchingAttr, getMboValue, getMboValue, getType, init, initValue, setType, smartFill, smartFind, smartFind
public FldAssetChild(MboValue mbv) throws MXException
mbv
- The MboValue field in the workorder object attach to.MXException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class FldMboKey
MXException
- With "asset", "cantAddChildOrParent".MXException
- With "asset", "NotValidAsset".java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class FldMboKey
MXException
java.rmi.RemoteException
public boolean hasList()
hasList
in interface MboValueListener
hasList
in class MboValueAdapter
public MboSetRemote getList() throws MXException, java.rmi.RemoteException
getList
in interface MboValueListener
getList
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
setValueFromLookup
in interface MboValueListener
setValueFromLookup
in class MboValueAdapter
sourceMbo
- MXException
java.rmi.RemoteException
psdi.mbo.MboValueListner#setvalueFromLookup
public java.lang.String getMatchingAttr(java.lang.String sourceObjectName) throws MXException, java.rmi.RemoteException
MboValueAdapter
getMatchingAttr
in interface MboValueListener
getMatchingAttr
in class MboValueAdapter
MXException
java.rmi.RemoteException