org.granite.generator.as3
Class As3Type

java.lang.Object
  extended by org.granite.generator.as3.As3Type
All Implemented Interfaces:
ClientType

public class As3Type
extends java.lang.Object
implements ClientType

Author:
Franck WOLFF

Field Summary
static As3Type ARRAY
           
static As3Type ARRAY_COLLECTION
           
static As3Type BIG_DECIMAL
           
static As3Type BIG_INTEGER
           
static As3Type BOOLEAN
           
static As3Type BYTE_ARRAY
           
static As3Type DATE
           
static As3Type DICTIONARY
           
static As3Type ENUM
           
static As3Type ILIST
           
static As3Type IMAP
           
static As3Type INT
           
static As3Type LIST_COLLECTION_VIEW
           
static As3Type LONG
           
static As3Type MATH_CONTEXT
           
static As3Type NUMBER
           
static As3Type OBJECT
           
static As3Type PAGE
           
static As3Type PAGE_INFO
           
static As3Type ROUNDING_MODE
           
static As3Type SORT_INFO
           
static As3Type STRING
           
static As3Type UINT
           
static As3Type XML
           
 
Constructor Summary
As3Type(java.lang.String packageName, java.lang.String simpleName)
           
As3Type(java.lang.String packageName, java.lang.String name, java.lang.Object nullValue)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Set<java.lang.String> getImports()
           
 java.lang.String getName()
           
 java.lang.Object getNullValue()
           
 java.lang.String getPackageName()
           
 java.lang.String getQualifiedName()
           
 int hashCode()
           
 boolean hasPackage()
           
 boolean isNumber()
           
 As3Type toArrayType()
           
 java.lang.String toString()
           
 As3Type translatePackage(PackageTranslator translator)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INT

public static final As3Type INT

UINT

public static final As3Type UINT

BOOLEAN

public static final As3Type BOOLEAN

NUMBER

public static final As3Type NUMBER

LONG

public static final As3Type LONG

BIG_INTEGER

public static final As3Type BIG_INTEGER

BIG_DECIMAL

public static final As3Type BIG_DECIMAL

MATH_CONTEXT

public static final As3Type MATH_CONTEXT

ROUNDING_MODE

public static final As3Type ROUNDING_MODE

OBJECT

public static final As3Type OBJECT

STRING

public static final As3Type STRING

ARRAY

public static final As3Type ARRAY

DATE

public static final As3Type DATE

XML

public static final As3Type XML

BYTE_ARRAY

public static final As3Type BYTE_ARRAY

DICTIONARY

public static final As3Type DICTIONARY

LIST_COLLECTION_VIEW

public static final As3Type LIST_COLLECTION_VIEW

ARRAY_COLLECTION

public static final As3Type ARRAY_COLLECTION

ILIST

public static final As3Type ILIST

IMAP

public static final As3Type IMAP

ENUM

public static final As3Type ENUM

PAGE

public static final As3Type PAGE

PAGE_INFO

public static final As3Type PAGE_INFO

SORT_INFO

public static final As3Type SORT_INFO
Constructor Detail

As3Type

public As3Type(java.lang.String packageName,
               java.lang.String simpleName)

As3Type

public As3Type(java.lang.String packageName,
               java.lang.String name,
               java.lang.Object nullValue)
Method Detail

hasPackage

public boolean hasPackage()
Specified by:
hasPackage in interface ClientType

getPackageName

public java.lang.String getPackageName()
Specified by:
getPackageName in interface ClientType

getName

public java.lang.String getName()
Specified by:
getName in interface ClientType

getQualifiedName

public java.lang.String getQualifiedName()
Specified by:
getQualifiedName in interface ClientType

getNullValue

public java.lang.Object getNullValue()
Specified by:
getNullValue in interface ClientType

isNumber

public boolean isNumber()

getImports

public java.util.Set<java.lang.String> getImports()
Specified by:
getImports in interface ClientType

toArrayType

public As3Type toArrayType()
Specified by:
toArrayType in interface ClientType

translatePackage

public As3Type translatePackage(PackageTranslator translator)
Specified by:
translatePackage in interface ClientType

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object