|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NameAndIdObject
This interface forces 4 Methods for a data object so that we can easily combine some operations
| Method Summary | |
|---|---|
Integer |
getId()
Returns the id of this object |
String |
getName()
Returns the name of this object |
void |
setId(Integer id)
Sets the id for this object |
void |
setName(String name)
Sets the name for this object |
| Method Detail |
|---|
void setId(Integer id)
id - An Integer object containing the idInteger getId()
Integer object containing the idvoid setName(String name)
name - A String containing the nameString getName()
String containing the name
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||