CostApplicationFunction.java
package com.tradecloud.domain.costing.clean;
/**
* Functions that can be used in in conjunction with a CostApplicationMethod to apply a cost amount.
*
* @author ronan
*/
public enum CostApplicationFunction {
/**
* Allocate the cost as a percentage of the DIRECT_COST cost line total.
*/
DIRECT_COST("Direct Cost", "Use the direct cost of the costable", true),
/**
* Use the duty cost of the costable.
*/
DUTY_COST("Duty Cost", "Use the duty cost of the costable", true);
private final String name;
private final boolean selectable;
private final String description;
private CostApplicationFunction(String name, String description, boolean selectable) {
this.name = name;
this.description = description;
this.selectable = selectable;
}
}