public class NumRangeDomain extends BasicDomain
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 |
---|
NumRangeDomain(MboValue mbv)
Construct passing in the field to which it is listening
|
Modifier and Type | Method and Description |
---|---|
void |
chooseActualDomainValues()
Choose the numrangedomain record specific for this site or org, or further up if no
specific value is set.
|
double[][] |
getRange()
Get the valid range
|
void |
setErrorMessage(java.lang.String eg,
java.lang.String ek)
Set the error group and key to be used if there is a validation error
If not set, a default message will be used.
|
void |
setRange(double[][] range)
Set the valid range
|
void |
validate()
Perform the validation
|
getConditionalValWhere, getConditionResult, getDomainId, getDomainInfo, resetConditionValueFilter, resetDomainValues, setConditionalValWhere, setDomainId
action, getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind
public NumRangeDomain(MboValue mbv)
public void chooseActualDomainValues() throws MXException, java.rmi.RemoteException
chooseActualDomainValues
in class BasicDomain
MXException
java.rmi.RemoteException
public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXException
java.rmi.RemoteException
public void setErrorMessage(java.lang.String eg, java.lang.String ek)
error
- grouperror
- keypublic void setRange(double[][] range)
range
- public double[][] getRange()