org.granite.generator.as3.reflect
Class JavaBean

java.lang.Object
  extended by org.granite.generator.as3.reflect.JavaAbstractType
      extended by org.granite.generator.as3.reflect.JavaBean
All Implemented Interfaces:
As3Typed, JavaType
Direct Known Subclasses:
JavaEntityBean

public class JavaBean
extends JavaAbstractType

Author:
Franck WOLFF

Nested Class Summary
 
Nested classes/interfaces inherited from class org.granite.generator.as3.reflect.JavaAbstractType
JavaAbstractType.GenerationType
 
Nested classes/interfaces inherited from interface org.granite.generator.as3.reflect.JavaType
JavaType.Kind
 
Field Summary
protected  As3Type as3Superclass
           
protected  java.util.Set<JavaImport> imports
           
protected  java.util.List<JavaInterface> interfaces
           
protected  java.util.List<JavaProperty> interfacesProperties
           
protected  java.util.SortedMap<java.lang.String,JavaProperty> properties
           
protected  JavaType superclass
           
protected  JavaProperty uid
           
 
Fields inherited from class org.granite.generator.as3.reflect.JavaAbstractType
as3Type, generationType, kind, provider, type, url
 
Constructor Summary
JavaBean(JavaTypeFactory provider, java.lang.Class<?> type, java.net.URL url)
           
 
Method Summary
protected  void addToImports(JavaImport javaImport)
           
 As3Type getAs3Superclass()
           
 java.util.Set<JavaImport> getImports()
           
 java.util.List<JavaInterface> getInterfaces()
           
 java.util.List<JavaProperty> getInterfacesProperties()
           
 java.util.Collection<JavaProperty> getProperties()
           
 JavaType getSuperclass()
           
 JavaProperty getUid()
           
 boolean hasEnumProperty()
           
 boolean hasInterfaces()
           
 boolean hasInterfacesProperties()
           
 boolean hasSuperclass()
           
 boolean hasUid()
           
protected  java.util.SortedMap<java.lang.String,JavaProperty> initProperties()
           
 boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
           
 
Methods inherited from class org.granite.generator.as3.reflect.JavaAbstractType
getAs3Type, getGenerationType, getKind, getLastModified, getName, getPackage, getPackageName, getPropertyDescriptors, getProvider, getQualifiedName, getSortedUnmodifiableList, getType, getUrl, isBean, isEntity, isEnum, isGenerated, isInterface, isRemoteDestination, isWithBase, removeNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imports

protected final java.util.Set<JavaImport> imports

superclass

protected final JavaType superclass

as3Superclass

protected final As3Type as3Superclass

interfaces

protected final java.util.List<JavaInterface> interfaces

interfacesProperties

protected final java.util.List<JavaProperty> interfacesProperties

properties

protected final java.util.SortedMap<java.lang.String,JavaProperty> properties

uid

protected final JavaProperty uid
Constructor Detail

JavaBean

public JavaBean(JavaTypeFactory provider,
                java.lang.Class<?> type,
                java.net.URL url)
Method Detail

getImports

public java.util.Set<JavaImport> getImports()

addToImports

protected void addToImports(JavaImport javaImport)

hasSuperclass

public boolean hasSuperclass()

getSuperclass

public JavaType getSuperclass()

getAs3Superclass

public As3Type getAs3Superclass()

hasInterfaces

public boolean hasInterfaces()

getInterfaces

public java.util.List<JavaInterface> getInterfaces()

hasInterfacesProperties

public boolean hasInterfacesProperties()

getInterfacesProperties

public java.util.List<JavaProperty> getInterfacesProperties()

getProperties

public java.util.Collection<JavaProperty> getProperties()

isAnnotationPresent

public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)

hasUid

public boolean hasUid()

getUid

public JavaProperty getUid()

hasEnumProperty

public boolean hasEnumProperty()

initProperties

protected java.util.SortedMap<java.lang.String,JavaProperty> initProperties()