Library | Package Java Toolkit

Class MassUnitType

package com.ptc.pfc.pfcBase;

public class MassUnitType
  implements jxenum



Description

 



Field Summary
static final int_MASSUNIT_OUNCE
    Integer value of enum value "MASSUNIT_OUNCE"
     
static final MassUnitTypeMASSUNIT_OUNCE
    Object value of enum value "MASSUNIT_OUNCE"
     
static final int_MASSUNIT_POUND
    Integer value of enum value "MASSUNIT_POUND"
     
static final MassUnitTypeMASSUNIT_POUND
    Object value of enum value "MASSUNIT_POUND"
     
static final int_MASSUNIT_TON
    Integer value of enum value "MASSUNIT_TON"
     
static final MassUnitTypeMASSUNIT_TON
    Object value of enum value "MASSUNIT_TON"
     
static final int_MASSUNIT_GRAM
    Integer value of enum value "MASSUNIT_GRAM"
     
static final MassUnitTypeMASSUNIT_GRAM
    Object value of enum value "MASSUNIT_GRAM"
     
static final int_MASSUNIT_KILOGRAM
    Integer value of enum value "MASSUNIT_KILOGRAM"
     
static final MassUnitTypeMASSUNIT_KILOGRAM
    Object value of enum value "MASSUNIT_KILOGRAM"
     
static final int_MASSUNIT_TONNE
    Integer value of enum value "MASSUNIT_TONNE"
     
static final MassUnitTypeMASSUNIT_TONNE
    Object value of enum value "MASSUNIT_TONNE"
     
static final int_MassUnitType_null
    Enum null value.

Method Summary
static MassUnitTypeFromInt (int value)
    Creates enum object from an integer.
static MassUnitTypeFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static MassUnitTypeFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static MassUnitTypeFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.