Class LOVSupport
- java.lang.Object
- 
- com.redwood.scheduler.api.constraint.LOVSupport
 
- 
- All Implemented Interfaces:
- Comparable<LOVSupport>
 
 public final class LOVSupport extends Object implements Comparable<LOVSupport> 
- 
- 
Field SummaryFields Modifier and Type Field Description static LOVSupportGetLOVstatic LOVSupportGetLOVAllowNewstatic LOVSupportGetLOVQuerystatic LOVSupportGetLOVQueryAllowNewstatic LOVSupportGetLOVQueryPrefixstatic LOVSupportGetLOVQueryPrefixAllowNewstatic LOVSupportNoGetLOV
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanGetLOV()Is an LOV available?booleancanQuery()Can the LOV be queried?intcompareTo(LOVSupport that)booleanequals(Object other)inthashCode()booleanisNewValueAllowed()Is a new value (one not in the LOV) allowed?booleanisQueryPrefix()Is the query the prefix of the string?StringtoString()static LOVSupportvalueOf(String name)Get the LOV support for a string (opposite oftoString()).
 
- 
- 
- 
Field Detail- 
NoGetLOVpublic static final LOVSupport NoGetLOV 
 - 
GetLOVpublic static final LOVSupport GetLOV 
 - 
GetLOVQuerypublic static final LOVSupport GetLOVQuery 
 - 
GetLOVQueryPrefixpublic static final LOVSupport GetLOVQueryPrefix 
 - 
GetLOVAllowNewpublic static final LOVSupport GetLOVAllowNew 
 - 
GetLOVQueryAllowNewpublic static final LOVSupport GetLOVQueryAllowNew 
 - 
GetLOVQueryPrefixAllowNewpublic static final LOVSupport GetLOVQueryPrefixAllowNew 
 
- 
 - 
Method Detail- 
canGetLOVpublic boolean canGetLOV() Is an LOV available?- Returns:
- true if an LOV can be retrieved, false otherwise
 
 - 
canQuerypublic boolean canQuery() Can the LOV be queried?- Returns:
- true if the LOV can be queried with a search string (a string the user typed in), false otherwise.
 
 - 
isQueryPrefixpublic boolean isQueryPrefix() Is the query the prefix of the string?- Returns:
- true if the LOV can be queried with a search string that starts at the beginning, false otherwise.
 
 - 
isNewValueAllowedpublic boolean isNewValueAllowed() Is a new value (one not in the LOV) allowed?- Returns:
- true if a new value is allowed, false otherwise.
 
 - 
compareTopublic int compareTo(LOVSupport that) - Specified by:
- compareToin interface- Comparable<LOVSupport>
 
 - 
valueOfpublic static LOVSupport valueOf(String name) Get the LOV support for a string (opposite oftoString()).- Parameters:
- name- LOV support level name.
- Returns:
- the constant or null if not found.
 
 
- 
 
-