|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CMModifiable
A Drinkable object containing its own liquid material type, and liquid capacity management.
| Method Summary | |
|---|---|
int |
getSaveStatIndex()
Returns the index into the stat codes array where extra savable fields begins. |
java.lang.String |
getStat(java.lang.String code)
An alternative means of retreiving the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String[] |
getStatCodes()
Returns an array of the string names of those fields which are modifiable on this object at run-time by builders. |
boolean |
isStat(java.lang.String code)
An alternative means of retreiving the values of those fields on this object which are modifiable at run-time by builders. |
void |
setStat(java.lang.String code,
java.lang.String val)
An alternative means of setting the values of those fields on this object which are modifiable at run-time by builders. |
| Method Detail |
|---|
java.lang.String[] getStatCodes()
getStat(String),
setStat(String, String)int getSaveStatIndex()
getStatCodes(),
getStat(String),
setStat(String, String)java.lang.String getStat(java.lang.String code)
code - the name of the field to read.
getStatCodes()boolean isStat(java.lang.String code)
code - the name of the field to read.
getStatCodes()
void setStat(java.lang.String code,
java.lang.String val)
code - the name of the field to setval - the value to set the field togetStatCodes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||