|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.cfg.ApiClass
public class ApiClass
Represents an interface class, either Local or Remote
| Field Summary | |
|---|---|
static ApiClass |
ENTITY_BEAN
|
static ApiClass |
OBJECT
|
| Constructor Summary | |
|---|---|
ApiClass(java.lang.Class apiClass)
Creates a new api class |
|
ApiClass(java.lang.Class apiClass,
java.util.HashMap<java.lang.String,java.lang.reflect.Type> parentTypeMap)
Creates a new api class |
|
ApiClass(java.lang.Class apiClass,
java.util.HashMap<java.lang.String,java.lang.reflect.Type> parentTypeMap,
java.util.ArrayList<java.lang.reflect.Type> param)
Creates a new api class |
|
| Method Summary | ||
|---|---|---|
|
getAnnotation(java.lang.Class<A> annType)
Returns true if the annotation exists. |
|
java.lang.reflect.Constructor |
getConstructor(java.lang.Class[] param)
|
|
java.lang.String |
getDeclarationName()
Returns the declaration name |
|
java.lang.reflect.Field[] |
getFields()
Returns the fields. |
|
java.util.ArrayList<ApiClass> |
getInterfaces()
Returns the interfaces (should be ApiClass?) |
|
java.lang.Class |
getJavaClass()
|
|
ApiMethod |
getMethod(ApiMethod method)
Returns the matching method. |
|
ApiMethod |
getMethod(java.lang.reflect.Method method)
Returns the matching method. |
|
ApiMethod |
getMethod(java.lang.String name,
java.lang.Class[] param)
Returns the matching method. |
|
java.util.ArrayList<ApiMethod> |
getMethods()
Returns the methods. |
|
java.lang.String |
getName()
Returns the classname. |
|
java.lang.String |
getSimpleName()
Returns the short classname. |
|
java.util.HashMap<java.lang.String,java.lang.reflect.Type> |
getTypeMap()
Returns the type map |
|
boolean |
hasMethod(java.lang.String name,
java.lang.Class[] args)
Returns true if the method exists |
|
boolean |
isAbstract()
Returns true for an abstract class |
|
boolean |
isAnnotationPresent(java.lang.Class annType)
Returns true if the annotation exists. |
|
boolean |
isFinal()
Returns true for a final class |
|
boolean |
isInterface()
Returns true for an interface |
|
boolean |
isPrimitive()
Returns true for a primitive class |
|
boolean |
isPublic()
Returns true for a public class. |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ApiClass OBJECT
public static final ApiClass ENTITY_BEAN
| Constructor Detail |
|---|
public ApiClass(java.lang.Class apiClass)
topClass - the api class
public ApiClass(java.lang.Class apiClass,
java.util.HashMap<java.lang.String,java.lang.reflect.Type> parentTypeMap)
topClass - the api class
public ApiClass(java.lang.Class apiClass,
java.util.HashMap<java.lang.String,java.lang.reflect.Type> parentTypeMap,
java.util.ArrayList<java.lang.reflect.Type> param)
topClass - the api class| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getSimpleName()
public java.lang.String getDeclarationName()
public java.util.HashMap<java.lang.String,java.lang.reflect.Type> getTypeMap()
public java.lang.Class getJavaClass()
public boolean isPublic()
public boolean isInterface()
public boolean isAbstract()
public boolean isFinal()
public boolean isPrimitive()
public java.lang.reflect.Field[] getFields()
public java.util.ArrayList<ApiClass> getInterfaces()
public java.lang.reflect.Constructor getConstructor(java.lang.Class[] param)
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic java.util.ArrayList<ApiMethod> getMethods()
public ApiMethod getMethod(java.lang.reflect.Method method)
public ApiMethod getMethod(ApiMethod method)
public boolean hasMethod(java.lang.String name,
java.lang.Class[] args)
public ApiMethod getMethod(java.lang.String name,
java.lang.Class[] param)
public boolean isAnnotationPresent(java.lang.Class annType)
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annType)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||