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