|
![]() |
||||||||
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 | |
---|---|
java.lang.Integer |
getId()
Returns the id of this object |
java.lang.String |
getName()
Returns the name of this object |
void |
setId(java.lang.Integer id)
Sets the id for this object |
void |
setName(java.lang.String name)
Sets the name for this object |
Method Detail |
---|
void setId(java.lang.Integer id)
id
- An Integer
object containing the idjava.lang.Integer getId()
Integer
object containing the idvoid setName(java.lang.String name)
name
- A String
containing the namejava.lang.String getName()
String
containing the name
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |