public class InvoiceModel extends BaseModel<ImmutableInvoice>
ImmutableInvoice.| Type | Property and Description |
|---|---|
javafx.beans.property.SimpleIntegerProperty |
items
Get the property for the total number of items (sum of all quantities of
all the items).
|
javafx.beans.property.SimpleObjectProperty<PersonListModel> |
paidByModel
Get the property for the "paid by" person model.
|
javafx.beans.property.SimpleStringProperty |
paidByName
Get the property for the "paid by" person name.
|
javafx.beans.property.SimpleIntegerProperty |
paidBy
Get the property for the "paid by" person ID.
|
javafx.beans.property.SimpleStringProperty |
title
Get the property for the title.
|
javafx.beans.property.SimpleStringProperty |
total
Get the property for the total price (as currency String)
|
idProperty| Constructor and Description |
|---|
InvoiceModel(ImmutableInvoice invoice)
Create model.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.SimpleIntegerProperty |
itemsProperty()
Get the property for the total number of items (sum of all quantities of
all the items).
|
javafx.beans.property.SimpleObjectProperty<PersonListModel> |
paidByModelProperty()
Get the property for the "paid by" person model.
|
javafx.beans.property.SimpleStringProperty |
paidByNameProperty()
Get the property for the "paid by" person name.
|
javafx.beans.property.SimpleIntegerProperty |
paidByProperty()
Get the property for the "paid by" person ID.
|
javafx.beans.property.SimpleStringProperty |
titleProperty()
Get the property for the title.
|
javafx.beans.property.SimpleStringProperty |
totalProperty()
Get the property for the total price (as currency String)
|
void |
update(ImmutableInvoice invoice)
Update value of model with new value
|
equals, getId, hashCode, idPropertypublic javafx.beans.property.SimpleStringProperty titleProperty
public javafx.beans.property.SimpleIntegerProperty paidByProperty
public javafx.beans.property.SimpleStringProperty paidByNameProperty
public javafx.beans.property.SimpleObjectProperty<PersonListModel> paidByModelProperty
public javafx.beans.property.SimpleIntegerProperty itemsProperty
public javafx.beans.property.SimpleStringProperty totalProperty
public InvoiceModel(ImmutableInvoice invoice)
invoice - invoice datapublic void update(ImmutableInvoice invoice)
BaseModelupdate in class BaseModel<ImmutableInvoice>public javafx.beans.property.SimpleStringProperty titleProperty()
public javafx.beans.property.SimpleIntegerProperty paidByProperty()
public javafx.beans.property.SimpleStringProperty paidByNameProperty()
public javafx.beans.property.SimpleObjectProperty<PersonListModel> paidByModelProperty()
public javafx.beans.property.SimpleIntegerProperty itemsProperty()
public javafx.beans.property.SimpleStringProperty totalProperty()
Copyright © 2015 illucIT Software GmbH. All rights reserved.