public class RestActor
extends java.lang.Object
| Constructor and Description |
|---|
RestActor()
Bean constructor
|
RestActor(int id,
java.lang.String name)
Convienence constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Get the Actor's id
|
java.lang.String |
getName()
Get the Actor's name
|
void |
setId(int id)
Set the Actor's id
|
void |
setName(java.lang.String name)
Set the Actor's name.
|
public RestActor()
public RestActor(int id,
java.lang.String name)
id - The id of this actorname - The name of this actorpublic int getId()
public void setId(int id)
id - the id to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name to set