joeq.ClassLib.Common.java.lang.reflect
Class Field
java.lang.Object
joeq.ClassLib.Common.java.lang.reflect.AccessibleObject
joeq.ClassLib.Common.java.lang.reflect.Field
public class Field
- extends AccessibleObject
Field
- Version:
- $Id: Field.java,v 1.17 2004/10/08 08:43:02 joewhaley Exp $
- Author:
- John Whaley
Method Summary |
static Field |
createNewField(jq_Field jq_field)
|
boolean |
equals(Object obj)
|
Object |
get(Object obj)
|
boolean |
getBoolean(Object obj)
|
byte |
getByte(Object obj)
|
char |
getChar(Object obj)
|
Class |
getDeclaringClass()
|
double |
getDouble(Object obj)
|
float |
getFloat(Object obj)
|
int |
getInt(Object obj)
|
long |
getLong(Object obj)
|
int |
getModifiers()
|
String |
getName()
|
short |
getShort(Object obj)
|
Class |
getType()
|
static void |
initNewField(Field o,
jq_Field jq_field)
|
void |
set(Object obj,
Object value)
|
void |
setBoolean(Object obj,
boolean val)
|
void |
setByte(Object obj,
byte val)
|
void |
setChar(Object obj,
char val)
|
void |
setDouble(Object obj,
double val)
|
void |
setFloat(Object obj,
float val)
|
void |
setInt(Object obj,
int val)
|
void |
setLong(Object obj,
long val)
|
void |
setShort(Object obj,
short val)
|
jq_field
public final jq_Field jq_field
getDeclaringClass
public Class getDeclaringClass()
getName
public String getName()
getModifiers
public int getModifiers()
getType
public Class getType()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
get
public Object get(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
getBoolean
public boolean getBoolean(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
getByte
public byte getByte(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
getChar
public char getChar(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
getShort
public short getShort(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
getInt
public int getInt(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
getLong
public long getLong(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
getFloat
public float getFloat(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
getDouble
public double getDouble(Object obj)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
set
public void set(Object obj,
Object value)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
setBoolean
public void setBoolean(Object obj,
boolean val)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
setByte
public void setByte(Object obj,
byte val)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
setChar
public void setChar(Object obj,
char val)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
setShort
public void setShort(Object obj,
short val)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
setInt
public void setInt(Object obj,
int val)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
setFloat
public void setFloat(Object obj,
float val)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
setLong
public void setLong(Object obj,
long val)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
setDouble
public void setDouble(Object obj,
double val)
throws IllegalArgumentException,
IllegalAccessException
- Throws:
IllegalArgumentException
IllegalAccessException
createNewField
public static Field createNewField(jq_Field jq_field)
initNewField
public static void initNewField(Field o,
jq_Field jq_field)
Copyright © 2001-2005 John Whaley. All Rights Reserved.