Library | Package Java Toolkit

Class ParamValueType

package com.ptc.pfc.pfcModelItem;

public class ParamValueType
  implements jxenum



Description

This enumerated type lists the possible kinds of parameter value.



Field Summary
static final int_PARAM_STRING
    Integer value of enum value "PARAM_STRING"
    The parameter has a string value.
static final ParamValueTypePARAM_STRING
    Object value of enum value "PARAM_STRING"
    The parameter has a string value.
static final int_PARAM_INTEGER
    Integer value of enum value "PARAM_INTEGER"
    The parameter has an integer value.
static final ParamValueTypePARAM_INTEGER
    Object value of enum value "PARAM_INTEGER"
    The parameter has an integer value.
static final int_PARAM_BOOLEAN
    Integer value of enum value "PARAM_BOOLEAN"
    The parameter has a Boolean value.
static final ParamValueTypePARAM_BOOLEAN
    Object value of enum value "PARAM_BOOLEAN"
    The parameter has a Boolean value.
static final int_PARAM_DOUBLE
    Integer value of enum value "PARAM_DOUBLE"
    The parameter has a real value.
static final ParamValueTypePARAM_DOUBLE
    Object value of enum value "PARAM_DOUBLE"
    The parameter has a real value.
static final int_PARAM_NOTE
    Integer value of enum value "PARAM_NOTE"
    The parameter has a note identifier as its value.
static final ParamValueTypePARAM_NOTE
    Object value of enum value "PARAM_NOTE"
    The parameter has a note identifier as its value.
static final int_PARAM_VOID
    Integer value of enum value "PARAM_VOID"
     
static final ParamValueTypePARAM_VOID
    Object value of enum value "PARAM_VOID"
     
static final int_PARAM_NOT_SET
    Integer value of enum value "PARAM_NOT_SET"
     
static final ParamValueTypePARAM_NOT_SET
    Object value of enum value "PARAM_NOT_SET"
     
static final int_ParamValueType_null
    Enum null value.

Method Summary
static ParamValueTypeFromInt (int value)
    Creates enum object from an integer.
static ParamValueTypeFromInt (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 ParamValueTypeFromInt (int value)


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


FromInt

static ParamValueTypeFromInt (Integer value)


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