|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saffron.core.SaffronTypeFactoryImpl.FieldImpl
Simple implementation of SaffronField
Field Summary | |
private int |
index
|
private String |
name
|
private SaffronType |
type
|
Constructor Summary | |
SaffronTypeFactoryImpl.FieldImpl(String name,
int index,
SaffronType type)
|
Method Summary | |
Object |
get(Object o)
Retrieves the value of this field in an instance of this type. |
int |
getIndex()
Returns the index of this field within its record type. |
String |
getName()
Returns the name of this field. |
SaffronType |
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 SaffronType type
private final String name
private final int index
Constructor Detail |
public SaffronTypeFactoryImpl.FieldImpl(String name, int index, SaffronType type)
Method Detail |
public String getName()
SaffronField
getName
in interface SaffronField
public int getIndex()
SaffronField
getIndex
in interface SaffronField
public SaffronType getType()
SaffronField
getType
in interface SaffronField
public Object get(Object o)
SaffronField
get
in interface SaffronField
public void set(Object o, Object value)
SaffronField
set
in interface SaffronField
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |