public class ClassificationFactory.NameItemInput extends ParseAbstractInput<java.lang.Integer> implements DataObjectItemParseInput<T>
DataObjectItemInput that uses the ParseFactory.findFromString(String) method to locate
Note this is not constrained by the select filter so can be used to locate retired objects.validators| Constructor and Description |
|---|
NameItemInput() |
| Modifier and Type | Method and Description |
|---|---|
T |
getItembyValue(java.lang.Integer val)
get the domain object from the Input value if defined
|
void |
parse(java.lang.String v)
Set the value of the input by parsing a textual representation of the
input.
|
java.lang.Integer |
parseValue(java.lang.String v)
Parse a String into the correct type for this input.
|
void |
setItem(T item)
Set the value of the input using an item
|
accept, getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSinglegetValue, setKey, setValueaddValidator, convert, getKey, getPrettyString, getString, getString, removeValidator, validate, validateInnerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addValidator, convert, getKey, getPrettyString, getString, getValue, isEmpty, removeValidator, setKey, setValue, validategetStringpublic void setItem(T item)
ItemInputsetItem in interface ItemInput<java.lang.Integer,T extends Classification>public void parse(java.lang.String v)
throws ParseException
ParseInputParseInput.parseValue(String) and Input.setValue(Object)
but it can be overridden for example if the natural parse mechanism generates an Item
in an item input.parse in interface ParseInput<java.lang.Integer>ParseExceptionpublic java.lang.Integer parseValue(java.lang.String v)
throws ParseException
ParseInputInput.getString(Object) method.parseValue in interface ParseInput<java.lang.Integer>ParseExceptionpublic T getItembyValue(java.lang.Integer val)
ItemInputgetItembyValue in interface ItemInput<java.lang.Integer,T extends Classification>val - input Value