BrightSide Workbench Full Report + Source Code
org.turro.financials.entity.Tax Class Reference
Inheritance diagram for org.turro.financials.entity.Tax:
Collaboration diagram for org.turro.financials.entity.Tax:

Public Member Functions

Contract getContract ()
 
void setContract (Contract contract)
 
long getId ()
 
void setId (long id)
 
TaxType getTaxType ()
 
void setTaxType (TaxType taxType)
 
double getTax ()
 
void setTax (double tax)
 
double getEquivalenceSurcharge ()
 
void setEquivalenceSurcharge (double equivalenceSurcharge)
 
Object entityId ()
 
boolean isEmpty ()
 
- Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity
default boolean isNew ()
 
default void prepareSave ()
 
default void prepareDelete ()
 
default void removeEmpties ()
 
default Collection< Collection > collections ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 34 of file Tax.java.

Member Function Documentation

◆ entityId()

Object org.turro.financials.entity.Tax.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 92 of file Tax.java.

92  {
93  return id;
94  }

◆ getContract()

Contract org.turro.financials.entity.Tax.getContract ( )

Definition at line 48 of file Tax.java.

48  {
49  return contract;
50  }

◆ getEquivalenceSurcharge()

double org.turro.financials.entity.Tax.getEquivalenceSurcharge ( )

Definition at line 80 of file Tax.java.

80  {
81  return equivalenceSurcharge;
82  }

◆ getId()

long org.turro.financials.entity.Tax.getId ( )

Definition at line 56 of file Tax.java.

56  {
57  return id;
58  }

◆ getTax()

double org.turro.financials.entity.Tax.getTax ( )

Definition at line 72 of file Tax.java.

72  {
73  return tax;
74  }

◆ getTaxType()

TaxType org.turro.financials.entity.Tax.getTaxType ( )

Definition at line 64 of file Tax.java.

64  {
65  return taxType;
66  }

◆ isEmpty()

boolean org.turro.financials.entity.Tax.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 97 of file Tax.java.

97  {
98  return taxType == null || tax == 0.0d;
99  }
Here is the caller graph for this function:

◆ setContract()

void org.turro.financials.entity.Tax.setContract ( Contract  contract)

Definition at line 52 of file Tax.java.

52  {
53  this.contract = contract;
54  }
Here is the caller graph for this function:

◆ setEquivalenceSurcharge()

void org.turro.financials.entity.Tax.setEquivalenceSurcharge ( double  equivalenceSurcharge)

Definition at line 84 of file Tax.java.

84  {
85  this.equivalenceSurcharge = equivalenceSurcharge;
86  }

◆ setId()

void org.turro.financials.entity.Tax.setId ( long  id)

Definition at line 60 of file Tax.java.

60  {
61  this.id = id;
62  }

◆ setTax()

void org.turro.financials.entity.Tax.setTax ( double  tax)

Definition at line 76 of file Tax.java.

76  {
77  this.tax = tax;
78  }

◆ setTaxType()

void org.turro.financials.entity.Tax.setTaxType ( TaxType  taxType)

Definition at line 68 of file Tax.java.

68  {
69  this.taxType = taxType;
70  }

The documentation for this class was generated from the following file: