19 package org.turro.financials.stub;
21 import java.util.Date;
23 import org.turro.financials.entity.Company;
24 import org.turro.reflection.stub.DefaultStub;
25 import org.turro.reflection.stub.StubSet;
35 private double structureMargin, profitMargin;
36 private boolean alwaysApply;
37 private String idContact;
38 private Date closingDate;
39 private Set<ServiceStub> services =
new StubSet<>(
ServiceStub.class);
40 private Set<HeadquartersStub> headquarters =
new StubSet<>(
HeadquartersStub.class);
43 silentlyInitializeValues(company);
63 return structureMargin;
67 this.structureMargin = structureMargin;
75 this.profitMargin = profitMargin;
83 this.alwaysApply = alwaysApply;
91 this.idContact = idContact;
99 this.closingDate = closingDate;
107 this.services = services;
115 this.headquarters = headquarters;
void setServices(Set< ServiceStub > services)
Set< ServiceStub > getServices()
void setHeadquarters(Set< HeadquartersStub > headquarters)
void setAlwaysApply(boolean alwaysApply)
Set< HeadquartersStub > getHeadquarters()
void setProfitMargin(double profitMargin)
double getStructureMargin()
CompanyStub(Company company)
void setName(String name)
void setClosingDate(Date closingDate)
void setIdContact(String idContact)
void setStructureMargin(double structureMargin)