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

Public Member Functions

double getStructureMargin ()
 
void setStructureMargin (double structureMargin)
 
Headquarters getHeadquarters ()
 
void setHeadquarters (Headquarters headquarters)
 
long getId ()
 
void setId (long id)
 
String getName ()
 
void setName (String name)
 
double getProfitMargin ()
 
void setProfitMargin (double profitMargin)
 
boolean isAlwaysApply ()
 
void setAlwaysApply (boolean alwaysApply)
 
Set< ContractgetStores ()
 
void setStores (Set< Contract > stores)
 
Object entityId ()
 
boolean isEmpty ()
 
String getFullName ()
 
- 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 32 of file Department.java.

Member Function Documentation

◆ entityId()

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

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 117 of file Department.java.

117  {
118  return id;
119  }

◆ getFullName()

String org.turro.financials.entity.Department.getFullName ( )

Definition at line 128 of file Department.java.

128  {
129  return headquarters.getName() + " | " +
130  getName();
131  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getHeadquarters()

Headquarters org.turro.financials.entity.Department.getHeadquarters ( )

Definition at line 62 of file Department.java.

62  {
63  return headquarters;
64  }
Here is the caller graph for this function:

◆ getId()

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

Implements org.turro.financials.model.business.IValuation.

Definition at line 71 of file Department.java.

71  {
72  return id;
73  }

◆ getName()

String org.turro.financials.entity.Department.getName ( )

Implements org.turro.financials.model.business.IValuation.

Definition at line 80 of file Department.java.

80  {
81  return name;
82  }
Here is the caller graph for this function:

◆ getProfitMargin()

double org.turro.financials.entity.Department.getProfitMargin ( )

Implements org.turro.financials.model.business.IValuation.

Definition at line 89 of file Department.java.

89  {
90  return profitMargin;
91  }

◆ getStores()

Set<Contract> org.turro.financials.entity.Department.getStores ( )

Definition at line 106 of file Department.java.

106  {
107  return stores;
108  }
Here is the caller graph for this function:

◆ getStructureMargin()

double org.turro.financials.entity.Department.getStructureMargin ( )

Implements org.turro.financials.model.business.IValuation.

Definition at line 54 of file Department.java.

54  {
55  return structureMargin;
56  }
Here is the caller graph for this function:

◆ isAlwaysApply()

boolean org.turro.financials.entity.Department.isAlwaysApply ( )

Implements org.turro.financials.model.business.IValuation.

Definition at line 98 of file Department.java.

98  {
99  return alwaysApply;
100  }

◆ isEmpty()

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

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 122 of file Department.java.

122  {
123  return Strings.isBlank(name);
124  }

◆ setAlwaysApply()

void org.turro.financials.entity.Department.setAlwaysApply ( boolean  alwaysApply)

Definition at line 102 of file Department.java.

102  {
103  this.alwaysApply = alwaysApply;
104  }

◆ setHeadquarters()

void org.turro.financials.entity.Department.setHeadquarters ( Headquarters  headquarters)

Definition at line 66 of file Department.java.

66  {
67  this.headquarters = headquarters;
68  }
Here is the caller graph for this function:

◆ setId()

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

Definition at line 75 of file Department.java.

75  {
76  this.id = id;
77  }

◆ setName()

void org.turro.financials.entity.Department.setName ( String  name)

Definition at line 84 of file Department.java.

84  {
85  this.name = name;
86  }

◆ setProfitMargin()

void org.turro.financials.entity.Department.setProfitMargin ( double  profitMargin)

Definition at line 93 of file Department.java.

93  {
94  this.profitMargin = profitMargin;
95  }

◆ setStores()

void org.turro.financials.entity.Department.setStores ( Set< Contract stores)

Definition at line 110 of file Department.java.

110  {
111  this.stores = stores;
112  }

◆ setStructureMargin()

void org.turro.financials.entity.Department.setStructureMargin ( double  structureMargin)

Definition at line 58 of file Department.java.

58  {
59  this.structureMargin = structureMargin;
60  }

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