openjava.mop
Class OJFieldImp
java.lang.Object
|
+--openjava.mop.OJFieldImp
- Direct Known Subclasses:
- OJFieldByteCode, OJFieldSourceCode
- abstract class OJFieldImp
- extends Object
The abstract class OJFieldImp
provides an interface to
an implementation of OJField.
Constructor Summary |
(package private) |
OJFieldImp()
|
OJFieldImp
OJFieldImp()
toString
public abstract String toString()
- Overrides:
toString
in class Object
getDeclaringClass
abstract OJClass getDeclaringClass()
getName
abstract String getName()
getIdentifiableName
abstract String getIdentifiableName()
getModifiers
abstract OJModifier getModifiers()
getType
abstract OJClass getType()
get
abstract Object get(Object obj)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
getBoolean
abstract boolean getBoolean(Object obj)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
getByte
abstract byte getByte(Object obj)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
getChar
abstract char getChar(Object obj)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
getShort
abstract short getShort(Object obj)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
getInt
abstract int getInt(Object obj)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
getLong
abstract long getLong(Object obj)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
getFloat
abstract float getFloat(Object obj)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
getDouble
abstract double getDouble(Object obj)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
set
abstract void set(Object obj,
Object value)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
setBoolean
abstract void setBoolean(Object obj,
boolean z)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
setByte
abstract void setByte(Object obj,
byte b)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
setChar
abstract void setChar(Object obj,
char c)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
setShort
abstract void setShort(Object obj,
short s)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
setInt
abstract void setInt(Object obj,
int i)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
setLong
abstract void setLong(Object obj,
long l)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
setFloat
abstract void setFloat(Object obj,
float f)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
setDouble
abstract void setDouble(Object obj,
double d)
throws IllegalArgumentException,
IllegalAccessException
IllegalArgumentException
IllegalAccessException
isExecutable
abstract boolean isExecutable()
isAlterable
abstract boolean isAlterable()
getByteCode
abstract Field getByteCode()
throws CannotExecuteException
CannotExecuteException
getSourceCode
abstract FieldDeclaration getSourceCode()
throws CannotAlterException
CannotAlterException
setDeclaringClass
abstract void setDeclaringClass(OJClass parent)
throws CannotAlterException
CannotAlterException
setName
abstract void setName(String name)
throws CannotAlterException
CannotAlterException
setModifiers
abstract void setModifiers(int mods)
throws CannotAlterException
CannotAlterException
setType
abstract void setType(OJClass type)
throws CannotAlterException
CannotAlterException