public class PlusCFldKFactorConfidLevel extends MboValueAdapter
Modifier and Type | Class and Description |
---|---|
protected static class |
PlusCFldKFactorConfidLevel.KFactorConfidLevelPair
Internal class that holds a kfactor/confidlevel value pair.
|
Modifier and Type | Field and Description |
---|---|
protected NumericDomain |
domainFieldClass
Domain field class reference, used to generate the domain values list and
set the value from the lookup.
|
protected static PlusCFldKFactorConfidLevel.KFactorConfidLevelPair[] |
valuePairs
The kfactor-confidlevel correspondence table, used in subclasses.
|
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 |
---|
PlusCFldKFactorConfidLevel(MboValue mv)
Instantiates a new plus c fld k factor confid level.
|
Modifier and Type | Method and Description |
---|---|
MboSetRemote |
getList()
Get value list (if it has one).
|
boolean |
hasList()
Has the MboValue got a value list ?
Returns false.
|
protected void |
setCorrespondingValue(java.lang.String domainId,
java.lang.String correspondingDomainId,
java.lang.String correspondingFieldName,
java.util.Map valuesMap)
Given the value in one field (kfactor or confidlevel), sets the value in
the other.
|
void |
setValueFromLookup(MboRemote sourceMbo)
The default implementation does nothing since the default getList() is false.
|
action, getAppLink, getIntegrationService, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getTranslator, getType, init, initValue, setType, smartFill, smartFind, smartFind, validate
protected static final PlusCFldKFactorConfidLevel.KFactorConfidLevelPair[] valuePairs
protected final NumericDomain domainFieldClass
public PlusCFldKFactorConfidLevel(MboValue mv)
mv
- the mvpublic boolean hasList()
MboValueAdapter
hasList
in interface MboValueListener
hasList
in class MboValueAdapter
public MboSetRemote getList() throws MXException, java.rmi.RemoteException
MboValueAdapter
getList
in interface MboValueListener
getList
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void setValueFromLookup(MboRemote sourceMbo) throws MXException, java.rmi.RemoteException
MboValueAdapter
setValueFromLookup
in interface MboValueListener
setValueFromLookup
in class MboValueAdapter
MXException
java.rmi.RemoteException
psdi.mbo.MboValueListner#setvalueFromLookup
protected void setCorrespondingValue(java.lang.String domainId, java.lang.String correspondingDomainId, java.lang.String correspondingFieldName, java.util.Map valuesMap) throws MXException, java.rmi.RemoteException
domainId
- name of the synonym domain of the field that has been setcorrespondingDomainId
- name of the synonym domain of the corresponding field that has to be setcorrespondingFieldName
- name of the corresponding field that has to be setvaluesMap
- map of values (internal): set field value -> corresponding field valueMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exception