|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Datatype
Definition of a datatype. This class should not be implemented directly. Instead subclass DefaultDatatype.
Method Summary | |
---|---|
java.lang.Object |
db2obj(java.lang.Object obj)
Converts from database format to java object format. |
Datatype |
getDatatype(Operator op)
Returns a specific datatype that should be used with the given operator. |
int |
getDecimalDigits()
|
java.text.Format |
getFormat()
Returns Format instance. |
java.lang.Class |
getJavaClass()
Returns the java class that is used for this datatype. |
java.util.List |
getOperators()
Returns the operators that have meaning on this datatype. |
int |
getSize()
|
int |
getType()
|
java.lang.Object |
obj2db(java.lang.Object obj)
Converts from java object format to database format. |
java.lang.String |
obj2xml(java.lang.Object obj)
Converts from java object format to xml string format. |
void |
toXML(org.xml.sax.ContentHandler handler)
Builds an xml representation of this object. |
void |
validate(java.lang.Object value)
Validated column value. |
java.lang.Object |
xml2obj(java.lang.String xml)
Converts from xml string format to java object format. |
Method Detail |
---|
java.lang.Object obj2db(java.lang.Object obj) throws java.lang.Exception
java.lang.Exception
java.lang.Object db2obj(java.lang.Object obj) throws java.lang.Exception
java.lang.Exception
java.lang.Object xml2obj(java.lang.String xml) throws java.lang.Exception
java.lang.Exception
java.lang.String obj2xml(java.lang.Object obj) throws java.lang.Exception
java.lang.Exception
java.text.Format getFormat() throws java.lang.Exception
java.lang.Exception
void validate(java.lang.Object value) throws java.lang.Exception
java.lang.Exception
java.util.List getOperators() throws java.lang.Exception
java.lang.Exception
java.lang.Class getJavaClass() throws java.lang.Exception
java.lang.Exception
void toXML(org.xml.sax.ContentHandler handler) throws java.lang.Exception
java.lang.Exception
int getType() throws java.lang.Exception
java.lang.Exception
int getSize() throws java.lang.Exception
java.lang.Exception
int getDecimalDigits() throws java.lang.Exception
java.lang.Exception
Datatype getDatatype(Operator op) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |