org.granite.generator.as3.reflect
Class JavaRemoteDestination

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

public class JavaRemoteDestination
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  java.lang.String channelId
           
protected  java.lang.String destinationName
           
protected  java.util.Set<JavaImport> imports
           
protected  java.util.List<JavaMethod> methods
           
protected  java.util.Map<java.lang.String,JavaMethodProperty> properties
           
protected  JavaType superclass
           
 
Fields inherited from class org.granite.generator.as3.reflect.JavaAbstractType
as3Type, generationType, kind, provider, type, url
 
Constructor Summary
JavaRemoteDestination(JavaTypeFactory provider, java.lang.Class<?> type, java.net.URL url)
           
 
Method Summary
protected  void addToImports(JavaImport javaImport)
           
 JavaInterface convertToJavaInterface()
           
 java.lang.String getChannelId()
           
 java.lang.String getDestinationName()
           
 java.util.Set<JavaImport> getImports()
           
 java.util.Collection<JavaMethod> getMethods()
           
 java.util.Collection<JavaMethodProperty> getProperties()
           
 JavaType getSuperclass()
           
 boolean hasSuperclass()
           
protected  java.util.List<JavaMethod> initMethods()
           
protected  java.util.Map<java.lang.String,JavaMethodProperty> initProperties()
           
 boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
           
protected  boolean shouldGenerateMethod(java.lang.reflect.Method method)
           
protected  boolean shouldGenerateProperty(java.lang.reflect.Method method)
           
 
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

methods

protected final java.util.List<JavaMethod> methods

properties

protected final java.util.Map<java.lang.String,JavaMethodProperty> properties

destinationName

protected final java.lang.String destinationName

channelId

protected final java.lang.String channelId
Constructor Detail

JavaRemoteDestination

public JavaRemoteDestination(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()

getMethods

public java.util.Collection<JavaMethod> getMethods()

getProperties

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

getDestinationName

public java.lang.String getDestinationName()

getChannelId

public java.lang.String getChannelId()

isAnnotationPresent

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

initMethods

protected java.util.List<JavaMethod> initMethods()

shouldGenerateMethod

protected boolean shouldGenerateMethod(java.lang.reflect.Method method)

initProperties

protected java.util.Map<java.lang.String,JavaMethodProperty> initProperties()

shouldGenerateProperty

protected boolean shouldGenerateProperty(java.lang.reflect.Method method)

convertToJavaInterface

public JavaInterface convertToJavaInterface()