public static class ValueTypeImpl.DateTimeScanner extends Object implements ValueScanner<ch.agent.t2.applied.DateTime>
DateTime
s.Constructor and Description |
---|
DateTimeScanner() |
Modifier and Type | Method and Description |
---|---|
void |
check(ch.agent.t2.applied.DateTime value)
Throw an exception if the value does not conform to
special restrictions enforced by the value scanner.
|
Class<ch.agent.t2.applied.DateTime> |
getType()
Return the class of underlying data type of the value scanner.
|
ch.agent.t2.applied.DateTime |
scan(String value)
Scan a string and convert it to an object of the scanner's actual type.
|
String |
toString(ch.agent.t2.applied.DateTime value)
Check and convert the parameter to a string.
|
public Class<ch.agent.t2.applied.DateTime> getType()
ValueScanner
getType
in interface ValueScanner<ch.agent.t2.applied.DateTime>
public void check(ch.agent.t2.applied.DateTime value)
ValueScanner
check
in interface ValueScanner<ch.agent.t2.applied.DateTime>
value
- a valuepublic ch.agent.t2.applied.DateTime scan(String value) throws T2DBException
ValueScanner
ValueScanner.check(Object)
.scan
in interface ValueScanner<ch.agent.t2.applied.DateTime>
value
- a stringT2DBException
public String toString(ch.agent.t2.applied.DateTime value)
ValueScanner
toString
in interface ValueScanner<ch.agent.t2.applied.DateTime>
value
- a valueCopyright © 2017. All rights reserved.