|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataTypeParameters
Interface definition for an object used to represent any restrictions a data type may enforce.
Method Summary | |
---|---|
java.lang.Object |
getAsJSON()
Returns the parameters represented as JSON. |
java.lang.Object |
getAsObject()
Returns the parameters in a Java friendly manner i.e. |
Method Detail |
---|
java.lang.Object getAsObject()
java.lang.Object getAsJSON()
Implementations can use whatever JSON libraries they desire, the only rule is that the object returned must toString() to either a JSON array or JSON object i.e. [...] or {...}
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |