Package org.cip4.jdflib.resource
Class JDFResource.EnumAmountMerge
java.lang.Object
org.apache.commons.lang.enums.Enum
org.apache.commons.lang.enums.ValuedEnum
org.cip4.jdflib.resource.JDFResource.EnumAmountMerge
- All Implemented Interfaces:
Serializable,Comparable
- Enclosing class:
- JDFResource
Enumeration for the policy of merging the amounts from ResourceLinks
AmountMerge_none - does not recalculate amounts
AmountMerge_LinkOnly - calculates the Resource Amount based on the Amount values in the ResourceLinks only.
The original Resource Amount is ignored
AmountMerge_UpdateLink - calculates the Resource Amount based on the difference of previous and current resource link amounts
The original Resource Amount is ignored
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JDFResource.EnumAmountMergestatic final JDFResource.EnumAmountMergestatic final JDFResource.EnumAmountMerge -
Method Summary
Modifier and TypeMethodDescriptionstatic JDFResource.EnumAmountMergegetEnum(int enumValue) static JDFResource.EnumAmountMergestatic Liststatic Mapstatic Iteratoriterator()Methods inherited from class org.apache.commons.lang.enums.ValuedEnum
compareTo, getEnum, getValue, toStringMethods inherited from class org.apache.commons.lang.enums.Enum
equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve
-
Field Details
-
None
-
LinkOnly
-
UpdateLink
-
-
Method Details
-
getEnum
- Parameters:
enumName-- Returns:
-
getEnum
- Parameters:
enumValue-- Returns:
-
getEnumMap
- Returns:
-
getEnumList
- Returns:
-
iterator
- Returns:
-