19 package org.turro.financials.stub;
21 import java.util.Currency;
22 import java.util.Date;
24 import org.turro.elephant.calendar.Periodicity;
25 import org.turro.financials.entity.Contract;
26 import org.turro.financials.entity.OperatingModifier;
27 import org.turro.reflection.stub.DefaultStub;
28 import org.turro.reflection.stub.StubSet;
37 private String globalId;
38 private String contractor;
40 private boolean stock, cash, active, useContractorCode;
42 private String grouping;
47 private Date startDate;
50 private Currency currency;
51 private boolean equivalenceSurcharge;
56 private Set<ContractFlowStub> contractFlows =
new StubSet<>(
ContractFlowStub.class);
57 private Set<TaxStub> taxes =
new StubSet<>(
TaxStub.class);
58 private Set<ContractedStub> contracted =
new StubSet<>(
ContractedStub.class);
61 silentlyInitializeValues(contract);
77 this.globalId = globalId;
85 this.contractor = contractor;
117 this.active = active;
121 return useContractorCode;
125 this.useContractorCode = useContractorCode;
129 return operatingModifier;
133 this.operatingModifier = operatingModifier;
141 this.grouping = grouping;
157 this.periodicity = periodicity;
165 this.department = department;
173 this.service = service;
181 this.startDate = startDate;
189 this.endDate = endDate;
205 this.currency = currency;
209 return equivalenceSurcharge;
213 this.equivalenceSurcharge = equivalenceSurcharge;
217 return contractDefinition;
221 this.contractDefinition = contractDefinition;
225 return contractPreferences;
229 this.contractPreferences = contractPreferences;
233 return relatedContractStores;
237 this.relatedContractStores = relatedContractStores;
245 this.participants = participants;
249 return contractFlows;
253 this.contractFlows = contractFlows;
269 this.contracted = contracted;
void setName(String name)
boolean isEquivalenceSurcharge()
Set< ContractedStub > getContracted()
void setOperatingModifier(OperatingModifier operatingModifier)
void setCurrency(Currency currency)
ContractStub(Contract contract)
Set< TaxStub > getTaxes()
void setDepartment(DepartmentStubmin department)
void setContractPreferences(Set< ContractPreferenceStubmin > contractPreferences)
void setTaxes(Set< TaxStub > taxes)
void setGlobalId(String globalId)
void setEquivalenceSurcharge(boolean equivalenceSurcharge)
void setRelatedContractStores(Set< RelatedContractStoreStub > relatedContractStores)
void setNotes(String notes)
void setContractDefinition(ContractDefinitionStubmin contractDefinition)
ServiceStubmin getService()
void setStock(boolean stock)
void setParticipants(Set< ContractParticipantStub > participants)
Set< ContractFlowStub > getContractFlows()
void setContractFlows(Set< ContractFlowStub > contractFlows)
void setService(ServiceStubmin service)
Set< RelatedContractStoreStub > getRelatedContractStores()
void setEndDate(Date endDate)
DepartmentStubmin getDepartment()
void setUseContractorCode(boolean useContractorCode)
OperatingModifier getOperatingModifier()
void setStartDate(Date startDate)
boolean isUseContractorCode()
Periodicity getPeriodicity()
void setContractor(String contractor)
void setPeriodicity(Periodicity periodicity)
Set< ContractParticipantStub > getParticipants()
void setCash(boolean cash)
void setActive(boolean active)
void setContracted(Set< ContractedStub > contracted)
Set< ContractPreferenceStubmin > getContractPreferences()
ContractDefinitionStubmin getContractDefinition()
void setGrouping(String grouping)