Library | Package Java Toolkit

Class RestrictionType

package com.ptc.pfc.pfcModelItem;

public class RestrictionType
  implements jxenum



Description

This enumerated type lists the types of parameter restriction.



Field Summary
static final int_PARAMSELECT_ENUMERATION
    Integer value of enum value "PARAMSELECT_ENUMERATION"
    Parameter has enumeration type restriction.
static final RestrictionTypePARAMSELECT_ENUMERATION
    Object value of enum value "PARAMSELECT_ENUMERATION"
    Parameter has enumeration type restriction.
static final int_PARAMSELECT_RANGE
    Integer value of enum value "PARAMSELECT_RANGE"
    Parameter has range type restriction.
static final RestrictionTypePARAMSELECT_RANGE
    Object value of enum value "PARAMSELECT_RANGE"
    Parameter has range type restriction.
static final int_RestrictionType_null
    Enum null value.

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


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


FromInt

static RestrictionTypeFromInt (Integer value)


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