|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--saffron.rel.TypeFactoryImpl.FieldImpl
Simple implementation of Field
Field Summary | |
private String |
name
|
private Type |
type
|
Constructor Summary | |
TypeFactoryImpl.FieldImpl(String name,
Type type)
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final String name
private final Type type
Constructor Detail |
public TypeFactoryImpl.FieldImpl(String name, Type type)
Method Detail |
public Type getType()
Field
getType
in interface Field
public String getName()
Field
getName
in interface Field
public void set(Object o, Object value)
Field
set
in interface Field
public Object get(Object o)
Field
get
in interface Field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |