|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The interface to a type description object for expressing value type constraints in Schemas.
| Method Summary | |
boolean |
contains(Object item)
return true if the item is in the type |
String |
description()
return a string describing the possible values, suitable for an error message or other guidance to the user |
Class |
getBaseType()
The primitive class with represents this type. |
Object |
parse(String name)
parse the string into an object satisfying the type, if possible return null if that is not possible |
Collection |
possibleValues()
return a collection of all possible values of the type. |
| Method Detail |
public boolean contains(Object item)
public Class getBaseType()
public Collection possibleValues()
public String description()
public Object parse(String name)
|
Project Harland | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||