|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ajax.type.Type | +--ajax.type.ComposedType
Class ComposedType represents a type composed by subtypes
Fields inherited from class ajax.type.Type |
BOOLEAN, CHAR, DATE, FLOAT, INTEGER, LIST, OBJECTARRAY, STRING, TABLE |
Constructor Summary | |
ComposedType(java.lang.String composedTypeName,
java.util.LinkedList composedTypeFields)
Constructor |
Method Summary | |
void |
createStoredComposedType()
Creates an SQL stored class Made through a JDBC call |
boolean |
equals(Type other)
Compares this type to another type. |
java.util.Iterator |
getFields()
Returns an iterator of all its fields |
FieldType |
getFieldType(java.lang.String fieldName)
Given a field name, looks for the desired field and returns its type. |
java.lang.String |
getName()
Gets the name of the composed type. |
int |
nbFields()
Returns the number of fields |
java.lang.String |
toDBaseType(boolean function)
Converts this type into the DBMS corresponding one |
java.lang.String |
toJavaType()
Converts this type into the Java corresponding one |
java.lang.String |
toString()
Converts the composed type into a human read-able object. |
Methods inherited from class ajax.type.Type |
ARRAY, getBaseType, STRING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ComposedType(java.lang.String composedTypeName, java.util.LinkedList composedTypeFields)
Method Detail |
public java.lang.String getName()
getName
in class Type
public FieldType getFieldType(java.lang.String fieldName) throws AjaxTypeException
public java.util.Iterator getFields()
public int nbFields()
public boolean equals(Type other)
equals
in class Type
public java.lang.String toJavaType() throws AjaxTypeException
toJavaType
in class Type
public java.lang.String toDBaseType(boolean function) throws AjaxTypeException
toDBaseType
in class Type
public void createStoredComposedType()
public java.lang.String toString()
toString
in class Type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |