Class DecimalCount
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.DecimalCount
Decimal Count enumerations are used to set the number of decimal places to be displayed for the
time. Valid values are '0','1' and '2'.
To use an enumeration in a where clause, make sure you use the internal database value. This can be retrieved from a particular enum instance by calling getValue().
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DecimalCountstatic final DecimalCountstatic final DecimalCountstatic final DecimalCount -
Method Summary
Modifier and TypeMethodDescriptionstatic DecimalCountgetDecimalCount(int iDecimalCount) Gets an instance of DecimalCount based on the integer value specified.static DecimalCountgetDecimalCount(String sDecimalCount) Gets an instance of DecimalCount based on the String value specified.Gets the description of this DecimalCount instancestatic String[]Gets an array of all descriptions for this enumerationstatic String[]Gets an array of all internal values for this enumerationgetValue()Gets the internal value of this DecimalCount instancetoString()Returns a string representation of the object, which is the same as the description returned by the getDescription() method
-
Field Details
-
NULL
-
ZERO
-
ONE
-
TWO
-
-
Method Details
-
toString
Returns a string representation of the object, which is the same as the description returned by the getDescription() method -
getValue
Gets the internal value of this DecimalCount instance -
getDescription
Gets the description of this DecimalCount instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getDecimalCount
Gets an instance of DecimalCount based on the String value specified.- Parameters:
sDecimalCount- the internal value or description- Returns:
- DecimalCount the unique DecimalCount instance
-
getDecimalCount
Gets an instance of DecimalCount based on the integer value specified.- Parameters:
iDecimalCount- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- DecimalCount the unique DecimalCount instance
-
getEnumValues
Gets an array of all internal values for this enumeration- Returns:
- String[] an array of all internal values
-
getEnumDescriptions
Gets an array of all descriptions for this enumeration- Returns:
- String[] an array of all descriptions
-