public class FldAssetnumOrLocationOnly extends MAXTableDomain
1 = Assetnum/Location is not null and mbo name is not SPRELATEDASSET
2 = Assetnum/Location is not null and mbo name is LOCKOUT or WOLOCKOUT
action()
ISNOTNULL, ISNULL
lastSignature
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 |
---|
FldAssetnumOrLocationOnly(MboValue mbv) |
Modifier and Type | Method and Description |
---|---|
void |
action()
If the attribute value is null:
Set devicedescription to null and editable;
Set the related attribute to editable.
|
void |
setValueFromLookup(MboRemote sourceMbo)
The default implementation does nothing since the default getList() is false.
|
void |
validate()
Call super.
|
addConditionalListWhere, addToLookupMapCache, chooseActualDomainValues, clearConditionalListWhere, evalConditionalWhere, getList, getListCriteria, getMatchingAttr, getMatchingAttr, getMboSet, getMboSet, getMboSet, hasList, setAllAttrsNullable, setErrorMessage, setKeyMap, setListCriteria, setListOrderBy, setLookupKeyMapInOrder, setLookupKeyMapInOrder, setMultiKeyWhereForLookup, setNotAllowNullAttrs, setRelationship, setValueFromLookup, smartFill, smartFillWithoutReset, smartFind, smartFind, smartFindWithoutReset
getConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainId
getAppLink, getIntegrationService, getLookupName, getMboValue, getMboValue, getType, init, initValue, setType
public FldAssetnumOrLocationOnly(MboValue mbv) throws MXException
MXException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MAXTableDomain
MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MAXTableDomain
MXException
java.rmi.RemoteException
getValSet(java.lang.String, psdi.mbo.MboRemote)
,
getRelatedAttrName(java.lang.String)
public void setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
MboValueAdapter
setValueFromLookup
in interface MboValueListener
setValueFromLookup
in class MAXTableDomain
MXException
java.rmi.RemoteException
psdi.mbo.MboValueListner#setvalueFromLookup