public abstract class FldDatePair 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 |
|---|
FldDatePair(MboValue mbv)
Construct and attach to the specified mbo value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
validateDates(java.lang.String date1,
java.lang.String date2,
boolean compareAfter)
Checks if validateDate is later or before than validateAgainstDate
based on the compare type value.
|
action, getAppLink, getIntegrationService, getList, getLookupName, getMatchingAttr, getMatchingAttr, getMboValue, getMboValue, getType, hasList, init, initValue, setType, setValueFromLookup, smartFill, smartFind, smartFind, validatepublic FldDatePair(MboValue mbv)
MboValue - - Instance of MboValuepublic boolean validateDates(java.lang.String date1,
java.lang.String date2,
boolean compareAfter)
throws MXException,
java.rmi.RemoteException
flag - - boolean value representing when to compare dates.
If flag is TRUE (compare after) - test if validate date is after validateAgainst date
and if true will throw an exception.
If flag is FALSE (compare before) - test if validate date is before validateAgainst date
and if true will throw an exception.MXExceptionjava.rmi.RemoteException