edu.mit.ai.psg.jeva
Interface IField
- All Known Implementing Classes:
- WrappedField, InterpretedField
- public abstract interface IField
- extends IMember, IAccessibleObject
IField mirrors java.lang.reflect.Field, enabling Jeva to treat
compiled fields and interpreted fields interchangeably.
- Author:
- CarlManning, caroma@ai.mit.edu
Copyright (c) 1997, 1998, 1999 Massachusetts Institute of Technology
- See Also:
Field
getType
public IClass getType()
get
public Object get(Object objectWithField)
throws IllegalArgumentException,
IllegalAccessException
getBoolean
public boolean getBoolean(Object objectWithField)
throws IllegalArgumentException,
IllegalAccessException
getByte
public byte getByte(Object objectWithField)
throws IllegalArgumentException,
IllegalAccessException
getChar
public char getChar(Object objectWithField)
throws IllegalArgumentException,
IllegalAccessException
getShort
public short getShort(Object objectWithField)
throws IllegalArgumentException,
IllegalAccessException
getInt
public int getInt(Object objectWithField)
throws IllegalArgumentException,
IllegalAccessException
getLong
public long getLong(Object objectWithField)
throws IllegalArgumentException,
IllegalAccessException
getFloat
public float getFloat(Object objectWithField)
throws IllegalArgumentException,
IllegalAccessException
getDouble
public double getDouble(Object objectWithField)
throws IllegalArgumentException,
IllegalAccessException
set
public void set(Object obj,
Object value)
throws IllegalArgumentException,
IllegalAccessException
setBoolean
public void setBoolean(Object obj,
boolean value)
throws IllegalArgumentException,
IllegalAccessException
setByte
public void setByte(Object obj,
byte value)
throws IllegalArgumentException,
IllegalAccessException
setChar
public void setChar(Object obj,
char value)
throws IllegalArgumentException,
IllegalAccessException
setShort
public void setShort(Object obj,
short value)
throws IllegalArgumentException,
IllegalAccessException
setInt
public void setInt(Object obj,
int value)
throws IllegalArgumentException,
IllegalAccessException
setLong
public void setLong(Object obj,
long value)
throws IllegalArgumentException,
IllegalAccessException
setFloat
public void setFloat(Object obj,
float value)
throws IllegalArgumentException,
IllegalAccessException
setDouble
public void setDouble(Object obj,
double value)
throws IllegalArgumentException,
IllegalAccessException