isProperty| Modifier | Constructor and Description |
|---|---|
protected |
StringProperty(String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkRange(Range range)
Determine if the element satisfies the given range constraint.
|
int |
compareTo(Term o) |
Integer |
getIndex()
Method to extract the Integer index for this Term.
|
static StringProperty |
getInstance(String value) |
String |
getKey()
Method to extract the String key for this Term.
|
String |
getTypeAsString()
All Elements must return a string describing its type.
|
String |
getValue()
Return the value of this property as an Object.
|
boolean |
isKey()
A utility function to determine if this Term is a key (String value).
|
checkInvalidSelfContext, checkRestrictedContext, checkValidReplacement, defined, duplicate, execute, exists, isBoolean, isDouble, isList, isLong, isNlist, isPersistent, isProperty, isProtected, isResource, isString, isTransient, locateUndefinedElement, protect, rget, rgetList, rput, writableCopyprotected StringProperty(String value)
public static StringProperty getInstance(String value)
public void checkRange(Range range) throws ValidationException
ElementcheckRange in class Elementrange - Range to check Element againstValidationException - if the element cannot be compared to a range or if the
element doesn't meet the range requirementpublic String getValue()
Propertypublic String getTypeAsString()
ElementgetTypeAsString in class Elementpublic boolean isKey()
Termpublic Integer getIndex() throws InvalidTermException
TermgetIndex in interface TermInvalidTermException - thrown if the term is not an index; message should contain
the string value of the term that was usedpublic String getKey() throws InvalidTermException
TermgetKey in interface TermInvalidTermException - thrown if the term is not a key; message should contain the
string value of the term that was usedpublic int compareTo(Term o)
compareTo in interface Comparable<Term>Copyright © 2014 Quattor. All Rights Reserved.