public class FldMboKey extends MboValueAdapter
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 |
---|
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, smartFind
public FldMboKey(MboValue mv)
public void setKeyAttributes(java.lang.String[] keys, java.lang.String relationship)
public void validate() throws MXException, java.rmi.RemoteException
MboValueAdapter
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void validateKeyCombination(boolean forced) throws MXException, java.rmi.RemoteException
forced
- true if it is an enforced validation before save.MXException
java.rmi.RemoteException
This is a sub-class.
public boolean findRecord(java.lang.String tbName, MboRemote enteredMbo, java.util.ArrayList keyArray) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public MboSetRemote getMboSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void action() throws MXException, java.rmi.RemoteException
action
in interface MboValueListener
action
in class MboValueAdapter
MXException
java.rmi.RemoteException