Class Statement
- java.lang.Object
-
- com.palmer.billingstatementgenerator.models.statement.Statement
-
public class Statement extends java.lang.ObjectAggregate root for a billing statement. Holds all user-entered service information and observable collections of line items for each billing category.A single instance is managed by
StatementContextfor the lifetime of the application session. Financial totals are computed on demand byStatementCalculatorrather than stored here.
-
-
Constructor Summary
Constructors Constructor Description Statement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.IntegerPropertycontrolNumberProperty()javafx.beans.property.ObjectProperty<java.time.LocalDate>dateOfDeathProperty()javafx.collections.ObservableList<CashAdvanceLineItem>getCashAdvances()intgetControlNumber()java.time.LocalDategetDateOfDeath()javafx.collections.ObservableList<MerchandiseLineItem>getMerchandise()java.math.BigDecimalgetPayment()java.lang.StringgetPlaceOfDeath()java.lang.StringgetReasonForEmbalming()java.math.BigDecimalgetSalesTaxRate()ServicePackagegetSelectedPackage()java.time.LocalDategetServiceDate()javafx.collections.ObservableList<ServiceLineItem>getServices()java.lang.StringgetServicesForName()javafx.collections.ObservableList<SpecialChargeLineItem>getSpecialCharges()javafx.beans.property.ObjectProperty<java.math.BigDecimal>paymentProperty()javafx.beans.property.StringPropertyplaceOfDeathProperty()javafx.beans.property.StringPropertyreasonForEmbalmingProperty()javafx.beans.property.ObjectProperty<java.math.BigDecimal>salesTaxRateProperty()javafx.beans.property.ObjectProperty<ServicePackage>selectedPackageProperty()javafx.beans.property.ObjectProperty<java.time.LocalDate>serviceDateProperty()javafx.beans.property.StringPropertyservicesForNameProperty()voidsetControlNumber(int value)voidsetDateOfDeath(java.time.LocalDate value)voidsetPayment(java.math.BigDecimal value)voidsetPlaceOfDeath(java.lang.String value)voidsetReasonForEmbalming(java.lang.String value)voidsetSalesTaxRate(java.math.BigDecimal value)voidsetSelectedPackage(ServicePackage value)voidsetServiceDate(java.time.LocalDate value)voidsetServicesForName(java.lang.String value)
-
-
-
Method Detail
-
controlNumberProperty
public javafx.beans.property.IntegerProperty controlNumberProperty()
-
getControlNumber
public int getControlNumber()
-
setControlNumber
public void setControlNumber(int value)
-
servicesForNameProperty
public javafx.beans.property.StringProperty servicesForNameProperty()
-
getServicesForName
public java.lang.String getServicesForName()
-
setServicesForName
public void setServicesForName(java.lang.String value)
-
dateOfDeathProperty
public javafx.beans.property.ObjectProperty<java.time.LocalDate> dateOfDeathProperty()
-
getDateOfDeath
public java.time.LocalDate getDateOfDeath()
-
setDateOfDeath
public void setDateOfDeath(java.time.LocalDate value)
-
placeOfDeathProperty
public javafx.beans.property.StringProperty placeOfDeathProperty()
-
getPlaceOfDeath
public java.lang.String getPlaceOfDeath()
-
setPlaceOfDeath
public void setPlaceOfDeath(java.lang.String value)
-
serviceDateProperty
public javafx.beans.property.ObjectProperty<java.time.LocalDate> serviceDateProperty()
-
getServiceDate
public java.time.LocalDate getServiceDate()
-
setServiceDate
public void setServiceDate(java.time.LocalDate value)
-
reasonForEmbalmingProperty
public javafx.beans.property.StringProperty reasonForEmbalmingProperty()
-
getReasonForEmbalming
public java.lang.String getReasonForEmbalming()
-
setReasonForEmbalming
public void setReasonForEmbalming(java.lang.String value)
-
selectedPackageProperty
public javafx.beans.property.ObjectProperty<ServicePackage> selectedPackageProperty()
-
getSelectedPackage
public ServicePackage getSelectedPackage()
-
setSelectedPackage
public void setSelectedPackage(ServicePackage value)
-
getServices
public javafx.collections.ObservableList<ServiceLineItem> getServices()
-
getMerchandise
public javafx.collections.ObservableList<MerchandiseLineItem> getMerchandise()
-
getSpecialCharges
public javafx.collections.ObservableList<SpecialChargeLineItem> getSpecialCharges()
-
getCashAdvances
public javafx.collections.ObservableList<CashAdvanceLineItem> getCashAdvances()
-
paymentProperty
public javafx.beans.property.ObjectProperty<java.math.BigDecimal> paymentProperty()
-
getPayment
public java.math.BigDecimal getPayment()
-
setPayment
public void setPayment(java.math.BigDecimal value)
-
salesTaxRateProperty
public javafx.beans.property.ObjectProperty<java.math.BigDecimal> salesTaxRateProperty()
-
getSalesTaxRate
public java.math.BigDecimal getSalesTaxRate()
-
setSalesTaxRate
public void setSalesTaxRate(java.math.BigDecimal value)
-
-