|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.util.AccessStrategy
org.apache.bval.jsr303.extensions.ParameterAccess
public class ParameterAccess
Implementation of AccessStrategy
for method parameters.
Constructor Summary | |
---|---|
ParameterAccess(Type paramType,
int paramIdx)
Create a new ParameterAccess instance. |
Method Summary | |
---|---|
Object |
get(Object instance)
Get the value from the given instance. |
ElementType |
getElementType()
Get the Java program ElementType used by this AccessStrategy
to determine property values. |
Type |
getJavaType()
Get the type of the property |
String |
getPropertyName()
Get a name representative of this property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterAccess(Type paramType, int paramIdx)
paramType
- paramIdx
- Method Detail |
---|
public Object get(Object instance)
get
in class AccessStrategy
public ElementType getElementType()
ElementType
used by this AccessStrategy
to determine property values.
getElementType
in class AccessStrategy
public Type getJavaType()
getJavaType
in class AccessStrategy
public String getPropertyName()
getPropertyName
in class AccessStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |