public class FldMboKey extends MboValueAdapter
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 |
|---|
FldMboKey(MboValue mv)
Construct and attach to the MboValue
|
| Modifier and Type | Method and Description |
|---|---|
void |
action()
When an existing record is made a child of another record,
the action makes the entered Mbo child the same as the existing Mbo.
|
boolean |
findRecord(java.lang.String tbName,
MboRemote enteredMbo,
java.util.ArrayList keyArray) |
MboSetRemote |
getMboSet()
Get the mboset used to validate that the value(s) entered are
unique.
|
void |
setKeyAttributes(java.lang.String[] keys,
java.lang.String relationship)
Set the names of the key fields
|
void |
validate()
Called to validate the data
Does nothing.
|
void |
validateKeyCombination(boolean forced)
Validation routine which will check for uniqueness
In the case of hierarchical Mbos, this method will set the
child's HierarchyLink flag.
|
getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFindpublic FldMboKey(MboValue mv)
public void setKeyAttributes(java.lang.String[] keys,
java.lang.String relationship)
public void validate()
throws MXException,
java.rmi.RemoteException
MboValueAdaptervalidate in interface MboValueListenervalidate in class MboValueAdapterMXExceptionjava.rmi.RemoteExceptionpublic void validateKeyCombination(boolean forced)
throws MXException,
java.rmi.RemoteException
forced - true if it is an enforced validation before save.MXExceptionjava.rmi.RemoteExceptionThis is a sub-class.public boolean findRecord(java.lang.String tbName,
MboRemote enteredMbo,
java.util.ArrayList keyArray)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic MboSetRemote getMboSet() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void action()
throws MXException,
java.rmi.RemoteException
action in interface MboValueListeneraction in class MboValueAdapterMXExceptionjava.rmi.RemoteException