- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 31 of file Resource.java.
◆ getAptitudeDegrees()
Set<AptitudeDegree> org.turro.erp.entity.Resource.getAptitudeDegrees |
( |
| ) |
|
◆ getContract()
Contract org.turro.erp.entity.Resource.getContract |
( |
| ) |
|
Helpers
Definition at line 116 of file Resource.java.
117 return new FinancialsPU().find(Contract.class, idContract);
◆ getCostHour()
double org.turro.erp.entity.Resource.getCostHour |
( |
| ) |
|
◆ getId()
long org.turro.erp.entity.Resource.getId |
( |
| ) |
|
◆ getIdContract()
long org.turro.erp.entity.Resource.getIdContract |
( |
| ) |
|
◆ getMarketPrice()
double org.turro.erp.entity.Resource.getMarketPrice |
( |
| ) |
|
◆ getName()
String org.turro.erp.entity.Resource.getName |
( |
| ) |
|
◆ getPriceHour()
double org.turro.erp.entity.Resource.getPriceHour |
( |
| ) |
|
◆ isActive()
boolean org.turro.erp.entity.Resource.isActive |
( |
| ) |
|
◆ isInternal()
boolean org.turro.erp.entity.Resource.isInternal |
( |
| ) |
|
◆ prepareForSaving()
void org.turro.erp.entity.Resource.prepareForSaving |
( |
| ) |
|
Definition at line 124 of file Resource.java.
126 String s = c ==
null ? null : c.getIContractor().getName();
127 name = (s ==
null || name.endsWith(s)) ? name : name +
" - " + s;
◆ setActive()
void org.turro.erp.entity.Resource.setActive |
( |
boolean |
active | ) |
|
◆ setAptitudeDegrees()
void org.turro.erp.entity.Resource.setAptitudeDegrees |
( |
Set< AptitudeDegree > |
aptitudeDegrees | ) |
|
Definition at line 102 of file Resource.java.
103 this.aptitudeDegrees = aptitudeDegrees;
◆ setContract()
void org.turro.erp.entity.Resource.setContract |
( |
Contract |
contract | ) |
|
Definition at line 120 of file Resource.java.
121 idContract = contract !=
null ? contract.getId() : 0L;
◆ setCostHour()
void org.turro.erp.entity.Resource.setCostHour |
( |
double |
costHour | ) |
|
◆ setId()
void org.turro.erp.entity.Resource.setId |
( |
long |
id | ) |
|
◆ setIdContract()
void org.turro.erp.entity.Resource.setIdContract |
( |
long |
idContract | ) |
|
Definition at line 78 of file Resource.java.
79 this.idContract = idContract;
◆ setMarketPrice()
void org.turro.erp.entity.Resource.setMarketPrice |
( |
double |
marketPrice | ) |
|
Definition at line 86 of file Resource.java.
87 this.marketPrice = marketPrice;
◆ setName()
void org.turro.erp.entity.Resource.setName |
( |
String |
name | ) |
|
◆ setPriceHour()
void org.turro.erp.entity.Resource.setPriceHour |
( |
double |
priceHour | ) |
|
The documentation for this class was generated from the following file: