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()
           
 
Method Summary
(package private) abstract  Object get(Object obj)
           
(package private) abstract  boolean getBoolean(Object obj)
           
(package private) abstract  byte getByte(Object obj)
           
(package private) abstract  Field getByteCode()
           
(package private) abstract  char getChar(Object obj)
           
(package private) abstract  OJClass getDeclaringClass()
           
(package private) abstract  double getDouble(Object obj)
           
(package private) abstract  float getFloat(Object obj)
           
(package private) abstract  String getIdentifiableName()
           
(package private) abstract  int getInt(Object obj)
           
(package private) abstract  long getLong(Object obj)
           
(package private) abstract  OJModifier getModifiers()
           
(package private) abstract  String getName()
           
(package private) abstract  short getShort(Object obj)
           
(package private) abstract  FieldDeclaration getSourceCode()
           
(package private) abstract  OJClass getType()
           
(package private) abstract  boolean isAlterable()
           
(package private) abstract  boolean isExecutable()
           
(package private) abstract  void set(Object obj, Object value)
           
(package private) abstract  void setBoolean(Object obj, boolean z)
           
(package private) abstract  void setByte(Object obj, byte b)
           
(package private) abstract  void setChar(Object obj, char c)
           
(package private) abstract  void setDeclaringClass(OJClass parent)
           
(package private) abstract  void setDouble(Object obj, double d)
           
(package private) abstract  void setFloat(Object obj, float f)
           
(package private) abstract  void setInt(Object obj, int i)
           
(package private) abstract  void setLong(Object obj, long l)
           
(package private) abstract  void setModifiers(int mods)
           
(package private) abstract  void setName(String name)
           
(package private) abstract  void setShort(Object obj, short s)
           
(package private) abstract  void setType(OJClass type)
           
abstract  String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OJFieldImp

OJFieldImp()
Method Detail

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

SourceForge.net_Logo