Library | Package Java Toolkit

Class ToleranceType

package com.ptc.wfc.wfcSolid;

public class ToleranceType
  implements jxenum



Description

Provides the list of tolerance types.



Field Summary
static final int_TOLERANCE_LINEAR
    Integer value of enum value "TOLERANCE_LINEAR"
     
static final ToleranceTypeTOLERANCE_LINEAR
    Object value of enum value "TOLERANCE_LINEAR"
     
static final int_TOLERANCE_ANGULAR
    Integer value of enum value "TOLERANCE_ANGULAR"
     
static final ToleranceTypeTOLERANCE_ANGULAR
    Object value of enum value "TOLERANCE_ANGULAR"
     
static final int_ToleranceType_null
    Enum null value.

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


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


FromInt

static ToleranceTypeFromInt (Integer value)


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