public class JavaBean extends JavaAbstractType
| Type | Property and Description |
|---|---|
boolean |
hasEnum |
JavaAbstractType.GenerationTypeJavaType.Kind| Modifier and Type | Field and Description |
|---|---|
protected ClientType |
clientSuperclass |
protected Set<JavaImport> |
imports |
protected List<JavaInterface> |
interfaces |
protected List<JavaProperty> |
interfacesProperties |
protected List<JavaProperty> |
lazyProperties |
protected Map<String,JavaProperty> |
properties |
protected JavaType |
superclass |
protected JavaProperty |
uid |
clientType, generationType, kind, provider, type, url| Constructor and Description |
|---|
JavaBean(JavaTypeFactory provider,
Class<?> type,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToImports(JavaImport javaImport) |
protected void |
addToImports(Set<JavaImport> javaImports) |
ClientType |
getAs3Superclass() |
ClientType |
getClientSuperclass() |
Set<JavaImport> |
getImports() |
List<JavaInterface> |
getInterfaces() |
List<JavaProperty> |
getInterfacesProperties() |
Collection<JavaProperty> |
getProperties() |
JavaType |
getSuperclass() |
JavaProperty |
getUid() |
boolean |
hasEnumProperty() |
boolean |
hasInterfaces() |
boolean |
hasInterfacesProperties() |
boolean |
hasSuperclass() |
boolean |
hasUid() |
protected SortedMap<String,JavaProperty> |
initProperties() |
protected SortedMap<String,JavaProperty> |
initProperties(Class<?> type,
ParameterizedType parentGenericType) |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotation) |
boolean |
isLazy(JavaProperty property) |
getAs3Type, getClientType, getGenerationType, getKind, getLastModified, getName, getPackage, getPackageName, getPropertyDescriptors, getProvider, getQualifiedName, getSortedUnmodifiableList, getType, getUrl, isBean, isEntity, isEnum, isGenerated, isInterface, isRemoteDestination, isWithBase, removeNullprotected final Set<JavaImport> imports
protected final JavaType superclass
protected final ClientType clientSuperclass
protected final List<JavaInterface> interfaces
protected final List<JavaProperty> interfacesProperties
protected final Map<String,JavaProperty> properties
protected final JavaProperty uid
protected final List<JavaProperty> lazyProperties
public JavaBean(JavaTypeFactory provider, Class<?> type, URL url)
public Set<JavaImport> getImports()
protected void addToImports(JavaImport javaImport)
protected void addToImports(Set<JavaImport> javaImports)
public boolean hasSuperclass()
public JavaType getSuperclass()
public ClientType getAs3Superclass()
public ClientType getClientSuperclass()
public boolean hasInterfaces()
public List<JavaInterface> getInterfaces()
public boolean hasInterfacesProperties()
public List<JavaProperty> getInterfacesProperties()
public Collection<JavaProperty> getProperties()
public boolean isAnnotationPresent(Class<? extends Annotation> annotation)
public boolean hasUid()
public JavaProperty getUid()
public boolean isLazy(JavaProperty property)
public boolean hasEnumProperty()
protected SortedMap<String,JavaProperty> initProperties()
protected SortedMap<String,JavaProperty> initProperties(Class<?> type, ParameterizedType parentGenericType)