Modifier and Type | Method and Description |
---|---|
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
|
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