Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.adfinternal.model.adapter.bean
Class BeanMethodInfo

java.lang.Object
  extended by oracle.adfinternal.model.adapter.bean.BeanFieldInfo
      extended by oracle.adfinternal.model.adapter.bean.BeanMethodInfo

public class BeanMethodInfo
extends BeanFieldInfo

Since:
11.1.2

Field Summary
 
Fields inherited from class oracle.adfinternal.model.adapter.bean.BeanFieldInfo
accessorModifiers, declaringClassName, modifiers, name, type, typeSignature
 
Constructor Summary
BeanMethodInfo(java.lang.reflect.Constructor c)
           
BeanMethodInfo(java.lang.reflect.Method m)
           
BeanMethodInfo(java.lang.String name, java.lang.String returnType, int modifiers)
           
 
Method Summary
 void addParameter(java.lang.String name, java.lang.String type)
          Holding name and type pairs for each parameter
<T extends AccessMode>
T
getAccessModeAnnotation()
          Returns accessMode for the method represented by this @AccessMode object.
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<T> clz)
          Return annotation Class
<T extends ElementType>
T
getElementTypeAnnotation()
          Returns the generic type for the method represented by this @ElementType object.
 BeanFieldInfo getField()
           
<T extends java.lang.annotation.Annotation>
T
getFieldAnnotation(java.lang.Class<T> clz)
          Return annotation Class
<T extends java.lang.annotation.Annotation>
T
getMethodAnnotation(java.lang.Class<T> clz)
          Return annotation Class
 java.util.List<java.util.List<java.lang.String>> getParameters()
           
<T extends Properties>
T
getPropertiesAnnotation()
          Returns the properties for the method represented by this @Properties object.
<T extends Property>
T
getPropertyAnnotation()
          Returns the property for the method represented by this @Property object.
 boolean isAnnotatedId()
           
 boolean isEmbeddedID()
           
 boolean isGetter()
           
 boolean isInsertable()
           
 boolean isReadOnly()
           
 boolean isSetter()
           
 boolean isUpdatable()
           
 
Methods inherited from class oracle.adfinternal.model.adapter.bean.BeanFieldInfo
getDeclaringClassName, getDeclaringField, getName, getType, isPublic, makeGetter, makeGetter, makeSetter, makeSetter, setDeclaringField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanMethodInfo

public BeanMethodInfo(java.lang.String name,
                      java.lang.String returnType,
                      int modifiers)

BeanMethodInfo

public BeanMethodInfo(java.lang.reflect.Constructor c)

BeanMethodInfo

public BeanMethodInfo(java.lang.reflect.Method m)
Method Detail

isGetter

public boolean isGetter()

isSetter

public boolean isSetter()

getField

public BeanFieldInfo getField()

addParameter

public void addParameter(java.lang.String name,
                         java.lang.String type)
Holding name and type pairs for each parameter

Parameters:
name -
type -

getAccessModeAnnotation

public <T extends AccessMode> T getAccessModeAnnotation()
Returns accessMode for the method represented by this @AccessMode object.


getElementTypeAnnotation

public <T extends ElementType> T getElementTypeAnnotation()
Returns the generic type for the method represented by this @ElementType object.


getPropertiesAnnotation

public <T extends Properties> T getPropertiesAnnotation()
Returns the properties for the method represented by this @Properties object.

See Also:
Properties

getPropertyAnnotation

public <T extends Property> T getPropertyAnnotation()
Returns the property for the method represented by this @Property object.

See Also:
Property

getAnnotation

public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> clz)
Return annotation Class


getMethodAnnotation

public <T extends java.lang.annotation.Annotation> T getMethodAnnotation(java.lang.Class<T> clz)
Return annotation Class


getFieldAnnotation

public <T extends java.lang.annotation.Annotation> T getFieldAnnotation(java.lang.Class<T> clz)
Return annotation Class


isAnnotatedId

public boolean isAnnotatedId()
Returns:
true if the definition contains @Id.

isEmbeddedID

public boolean isEmbeddedID()
Returns:
true if the definition contains @EmbeddedId

isReadOnly

public boolean isReadOnly()
Returns:
true if the definition contains @EmbeddedId

isInsertable

public boolean isInsertable()

isUpdatable

public boolean isUpdatable()

getParameters

public java.util.List<java.util.List<java.lang.String>> getParameters()
Returns:
Name value pairs of List of List of String

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

Copyright © 1997, 2013, Oracle. All rights reserved.