19 package org.turro.financials.model.document;
21 import org.turro.financials.db.FinancialsPU;
22 import org.turro.financials.entity.ContractPreference;
23 import org.turro.financials.entity.LineType;
24 import org.turro.jpa.Dao;
36 this.lineType = lineType;
37 this.contractPreference = contractPreference;
42 this.lineType = dao.find(
LineType.class, lineTypeId);
47 if(lineType !=
null) {
48 if(contractPreference !=
null) {
61 return contractPreference;
void setContractPreference(ContractPreference contractPreference)
ContractPreference getContractPreference()
LineTypeDescription(LineType lineType, ContractPreference contractPreference)
LineTypeDescription(long lineTypeId, long contractPreferenceId)