saffron.rel
Interface Field

All Known Implementing Classes:
TypeFactoryImpl.FieldImpl

public interface Field

The definition of a field in a Type.

Since:
May 29, 2003
Version:
$Id: //open/saffron/src/main/saffron/rel/Field.java#1 $
Author:
jhyde

Method Summary
 Object get(Object o)
          Retrieves the value of this field in an instance of this type.
 String getName()
          Returns the name of this field.
 Type getType()
          Returns the type of this field.
 void set(Object o, Object value)
          Sets the value of this field in an instance of the type.
 

Method Detail

getType

public Type getType()
Returns the type of this field.


getName

public String getName()
Returns the name of this field. The name is unique within the type.


set

public void set(Object o,
                Object value)
         throws IllegalAccessException
Sets the value of this field in an instance of the type.

IllegalAccessException

get

public Object get(Object o)
           throws IllegalAccessException
Retrieves the value of this field in an instance of this type.

IllegalAccessException

SourceForge.net_Logo