|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeAdaptor
Interface that must implement the classes which want to be used in the connectors. By default, connectors manage basic java types: integers, booleans, ... If developers want to use complex types, they must obey this interface.
IMPORTANT: You must define the equals() method to avoid problems with the data base connector. If you continue having problems try returning always "true".
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
You must define this method to avoid problems with the data base connector (Hibernate) |
void |
fromString(java.lang.String content)
Reads the type from a string. |
java.lang.String |
toString()
Returns a string representation of the type. |
Method Detail |
---|
java.lang.String toString()
toString
in class java.lang.Object
void fromString(java.lang.String content) throws java.lang.Exception
content
-
java.lang.Exception
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |