|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.reflect.Field
| Field Summary |
| Fields inherited from interface java.lang.reflect.Member |
DECLARED, PUBLIC |
| Constructor Summary | |
Field(Field field)
|
|
| Method Summary | |
boolean |
equals(Object other)
Returns if this object is considered equal to the other object. |
Object |
get(Object src)
|
boolean |
getBoolean(Object dest)
|
byte |
getByte(Object dest)
|
char |
getChar(Object dest)
|
Class |
getDeclaringClass()
Gets the class that declared this member. |
double |
getDouble(Object dest)
|
float |
getFloat(Object dest)
|
int |
getInt(Object dest)
|
long |
getLong(Object dest)
|
int |
getModifiers()
Gets the modifiers this member uses. |
String |
getName()
Gets the simple name of this member. |
short |
getShort(Object dest)
|
Class |
getType()
Return the type of the Field as a Class object. |
int |
hashCode()
Returns a hashCode for the object. |
void |
set(Object dest,
Object value)
|
void |
setBoolean(Object dest,
boolean value)
|
void |
setByte(Object dest,
byte value)
|
void |
setChar(Object dest,
char value)
|
void |
setDouble(Object dest,
double value)
|
void |
setFloat(Object dest,
float value)
|
void |
setInt(Object dest,
int value)
|
void |
setLong(Object dest,
long value)
|
void |
setShort(Object dest,
short value)
|
String |
toString()
Return a String representation of this object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass |
| Constructor Detail |
public Field(Field field)
| Method Detail |
public String getName()
Member
getName in interface Memberpublic int getModifiers()
MemberModifier
class to interpret the values.
getModifiers in interface MemberModifierpublic Class getDeclaringClass()
Member
getDeclaringClass in interface Memberpublic int hashCode()
Object
hashCode in class Objectpublic Class getType()
public boolean equals(Object other)
Object
equals in class Objectother - Another object to compare to.
public void set(Object dest,
Object value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public Object get(Object src)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessExceptionpublic String toString()
Object
toString in class Object
public void setBoolean(Object dest,
boolean value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public void setByte(Object dest,
byte value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public void setChar(Object dest,
char value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public void setDouble(Object dest,
double value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public void setFloat(Object dest,
float value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public void setInt(Object dest,
int value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public void setLong(Object dest,
long value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public void setShort(Object dest,
short value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public boolean getBoolean(Object dest)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public byte getByte(Object dest)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public char getChar(Object dest)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public double getDouble(Object dest)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public float getFloat(Object dest)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public int getInt(Object dest)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public long getLong(Object dest)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
public short getShort(Object dest)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||