public class FldWOConstraintDate 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 |
---|
FldWOConstraintDate(MboValue mbv)
construct and attach to the MboValue.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
1) The Start Constraint must be earlier than the Finish Constraint.
|
action, getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind
public FldWOConstraintDate(MboValue mbv)
mbv
- the MboValue this field attach to.public void validate() throws MXException, java.rmi.RemoteException
validate
in interface MboValueListener
validate
in class MboValueAdapter
MXApplicationException
- "workorder", "StartConstraintAfterFinishConstraint"
when the start constraint date is after finish constraint
date.MXApplicationYesNoCancelException
- "workorder", "SchedDateEarlierThanStConst",
when a schedule date is before the Start Constraint.MXApplicationYesNoCancelException
- "workorder", "SchedDateLaterThanFinConst",
when a schedule date is after the Finish Constraint.MXException
java.rmi.RemoteException