public class ItemModel extends BaseModel<ImmutableItem>
ImmutableItem.| Type | Property and Description |
|---|---|
javafx.beans.property.SimpleIntegerProperty |
groupToPay
Get the property for the "group to pay" group ID.
|
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.SimpleIntegerProperty |
personToPay
Get the property for the "person to pay" person ID.
|
javafx.beans.property.SimpleStringProperty |
priceCurrency
Get the property for the price (as currency String).
|
javafx.beans.property.SimpleLongProperty |
price
Get the property for the price (in cents).
|
javafx.beans.property.SimpleIntegerProperty |
quantity
Get the property for the quantity.
|
javafx.beans.property.SimpleStringProperty |
quantityString
Get the property for the quantity (as String).
|
javafx.beans.property.SimpleStringProperty |
title
Get the property for the title.
|
javafx.beans.property.SimpleObjectProperty<ToPayModel> |
toPayModel
Get the property for the "to pay model".
|
javafx.beans.property.SimpleStringProperty |
total
Get the property for the total rpice (as currency String)
|
idProperty| Constructor and Description |
|---|
ItemModel(ImmutableItem item)
Create model.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.SimpleIntegerProperty |
groupToPayProperty()
Get the property for the "group to pay" group ID.
|
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.SimpleIntegerProperty |
personToPayProperty()
Get the property for the "person to pay" person ID.
|
javafx.beans.property.SimpleStringProperty |
priceCurrencyProperty()
Get the property for the price (as currency String).
|
javafx.beans.property.SimpleLongProperty |
priceProperty()
Get the property for the price (in cents).
|
javafx.beans.property.SimpleIntegerProperty |
quantityProperty()
Get the property for the quantity.
|
javafx.beans.property.SimpleStringProperty |
quantityStringProperty()
Get the property for the quantity (as String).
|
javafx.beans.property.SimpleStringProperty |
titleProperty()
Get the property for the title.
|
javafx.beans.property.SimpleObjectProperty<ToPayModel> |
toPayModelProperty()
Get the property for the "to pay model".
|
javafx.beans.property.SimpleStringProperty |
totalProperty()
Get the property for the total rpice (as currency String)
|
void |
update(ImmutableItem item)
Update value of model with new value
|
equals, getId, hashCode, idPropertypublic javafx.beans.property.SimpleStringProperty titleProperty
public javafx.beans.property.SimpleLongProperty priceProperty
public javafx.beans.property.SimpleStringProperty priceCurrencyProperty
public javafx.beans.property.SimpleIntegerProperty quantityProperty
public javafx.beans.property.SimpleStringProperty quantityStringProperty
public javafx.beans.property.SimpleStringProperty totalProperty
public javafx.beans.property.SimpleIntegerProperty paidbyProperty
public javafx.beans.property.SimpleStringProperty paidByNameProperty
public javafx.beans.property.SimpleObjectProperty<PersonListModel> paidByModelProperty
public javafx.beans.property.SimpleIntegerProperty personToPayProperty
public javafx.beans.property.SimpleIntegerProperty groupToPayProperty
public javafx.beans.property.SimpleObjectProperty<ToPayModel> toPayModelProperty
public ItemModel(ImmutableItem item)
item - item datapublic void update(ImmutableItem item)
BaseModelupdate in class BaseModel<ImmutableItem>public javafx.beans.property.SimpleStringProperty titleProperty()
public javafx.beans.property.SimpleLongProperty priceProperty()
public javafx.beans.property.SimpleStringProperty priceCurrencyProperty()
public javafx.beans.property.SimpleIntegerProperty quantityProperty()
public javafx.beans.property.SimpleStringProperty quantityStringProperty()
public javafx.beans.property.SimpleStringProperty totalProperty()
public javafx.beans.property.SimpleIntegerProperty paidbyProperty()
public javafx.beans.property.SimpleStringProperty paidByNameProperty()
public javafx.beans.property.SimpleObjectProperty<PersonListModel> paidByModelProperty()
public javafx.beans.property.SimpleIntegerProperty personToPayProperty()
public javafx.beans.property.SimpleIntegerProperty groupToPayProperty()
public javafx.beans.property.SimpleObjectProperty<ToPayModel> toPayModelProperty()
Copyright © 2015 illucIT Software GmbH. All rights reserved.