public class ToPayModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ToPayModel.ToPayType
"To pay" category type.
|
| Constructor and Description |
|---|
ToPayModel()
Create model for
ToPayModel.ToPayType.All. |
ToPayModel(ImmutableGroup group)
Create model for
ToPayModel.ToPayType.Group. |
ToPayModel(ImmutablePerson person)
Create model for
ToPayModel.ToPayType.Person. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableGroup |
getGroup()
Get group for a model with
ToPayModel.ToPayType.Group. |
ImmutablePerson |
getPerson()
Get person for a model with
ToPayModel.ToPayType.Person. |
String |
getTitle()
Get title of "to pay" model.
|
ToPayModel.ToPayType |
getType()
Get type.
|
String |
toString() |
void |
update(ImmutableGroup group)
Update data for a model with
ToPayModel.ToPayType.Group. |
void |
update(ImmutablePerson person)
Update data for a model with
ToPayModel.ToPayType.Person. |
public ToPayModel()
ToPayModel.ToPayType.All.public ToPayModel(ImmutablePerson person)
ToPayModel.ToPayType.Person.person - person who has to paypublic ToPayModel(ImmutableGroup group)
ToPayModel.ToPayType.Group.group - group who has to paypublic void update(ImmutablePerson person)
ToPayModel.ToPayType.Person.person - updated person datapublic void update(ImmutableGroup group)
ToPayModel.ToPayType.Group.group - updated group datapublic ToPayModel.ToPayType getType()
public ImmutableGroup getGroup()
ToPayModel.ToPayType.Group.public ImmutablePerson getPerson()
ToPayModel.ToPayType.Person.public String getTitle()
Copyright © 2015 illucIT Software GmbH. All rights reserved.