public class DestinationBean extends BaseBean
DestinationBean.Type| Modifier and Type | Class and Description |
|---|---|
static class |
DestinationBean.Type
Enumerates all the supported destination types.
|
| Constructor and Description |
|---|
DestinationBean() |
| Modifier and Type | Method and Description |
|---|---|
long |
getId()
Returns the identifier for this destination.
|
String |
getName()
Returns the name of this destination.
|
DestinationBean.Type |
getType()
Returns the type of this destination.
|
void |
setId(long id)
Sets the identifier for this destination.
|
void |
setName(String name)
Sets the name for this destination.
|
void |
setType(DestinationBean.Type type)
Sets the type of this destination.
|
public DestinationBean.Type getType()
DestinationBean.Typepublic void setType(DestinationBean.Type type)
type - the delivery type to set.DestinationBean.Typepublic void setId(long id)
id - the id to set.public void setName(String name)
name - the name to set.public long getId()
public String getName()