ajax.type
Class ArrayType

java.lang.Object
  |
  +--ajax.type.Type
        |
        +--ajax.type.ArrayType

public class ArrayType
extends Type

Class BuiltInType represents the array type objects. The type of aech array object is represented by the instance variable "typeElement".


Fields inherited from class ajax.type.Type
BOOLEAN, CHAR, DATE, FLOAT, INTEGER, LIST, OBJECTARRAY, STRING, TABLE
 
Constructor Summary
ArrayType(Type type)
          Constructs an ArrayType from the type of each of its elements.
 
Method Summary
 boolean equals(Type other)
          Compares this type to another type.
 Type getElementType()
           
 java.lang.String getName()
          Gets the type name
 java.lang.String toDBaseType(boolean function)
          Converts this type into the database corresponding one In this case: Oracle types
 java.lang.String toJavaType()
          Converts this type into the Java corresponding one
 java.lang.String toString()
          Produces a human-readable version of the type.
 
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

ArrayType

public ArrayType(Type type)
Constructs an ArrayType from the type of each of its elements.
Method Detail

getName

public java.lang.String getName()
Description copied from class: Type
Gets the type name
Overrides:
getName in class Type
Returns:
name of the type.

getElementType

public Type getElementType()
Returns:
the type of this array.

equals

public boolean equals(Type other)
Compares this type to another type.
Overrides:
equals in class Type
Returns:
true if this type equals the other type

toString

public java.lang.String toString()
Produces a human-readable version of the type.
Overrides:
toString in class Type
Returns:
a string representing the type.

toDBaseType

public java.lang.String toDBaseType(boolean function)
                             throws AjaxTypeException
Converts this type into the database corresponding one In this case: Oracle types
Overrides:
toDBaseType in class Type

toJavaType

public java.lang.String toJavaType()
                            throws AjaxTypeException
Converts this type into the Java corresponding one
Overrides:
toJavaType in class Type