org.granite.generator.as3.reflect
Class JavaBean
java.lang.Object
org.granite.generator.as3.reflect.JavaAbstractType
org.granite.generator.as3.reflect.JavaBean
- All Implemented Interfaces:
- ClientTyped, JavaType
- Direct Known Subclasses:
- JavaEntityBean, JavaValidatableBean
public class JavaBean
- extends JavaAbstractType
- Author:
- Franck WOLFF
| Nested classes/interfaces inherited from interface org.granite.generator.as3.reflect.JavaType |
JavaType.Kind |
| Methods inherited from class org.granite.generator.as3.reflect.JavaAbstractType |
getAs3Type, getClientType, 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 |
imports
protected final Set<JavaImport> imports
superclass
protected final JavaType superclass
clientSuperclass
protected final ClientType clientSuperclass
interfaces
protected final List<JavaInterface> interfaces
interfacesProperties
protected final List<JavaProperty> interfacesProperties
properties
protected final Map<String,JavaProperty> properties
uid
protected final JavaProperty uid
lazyProperties
protected final List<JavaProperty> lazyProperties
JavaBean
public JavaBean(JavaTypeFactory provider,
Class<?> type,
URL url)
getImports
public Set<JavaImport> getImports()
addToImports
protected void addToImports(JavaImport javaImport)
addToImports
protected void addToImports(Set<JavaImport> javaImports)
hasSuperclass
public boolean hasSuperclass()
getSuperclass
public JavaType getSuperclass()
getAs3Superclass
public ClientType getAs3Superclass()
getClientSuperclass
public ClientType getClientSuperclass()
hasInterfaces
public boolean hasInterfaces()
getInterfaces
public List<JavaInterface> getInterfaces()
hasInterfacesProperties
public boolean hasInterfacesProperties()
getInterfacesProperties
public List<JavaProperty> getInterfacesProperties()
getProperties
public Collection<JavaProperty> getProperties()
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotation)
hasUid
public boolean hasUid()
getUid
public JavaProperty getUid()
isLazy
public boolean isLazy(JavaProperty property)
hasEnumProperty
public boolean hasEnumProperty()
initProperties
protected SortedMap<String,JavaProperty> initProperties()
initProperties
protected SortedMap<String,JavaProperty> initProperties(Class<?> type,
ParameterizedType parentGenericType)