Library | Package Java Toolkit

Class OperationType

package com.ptc.pfc.pfcModel;

public class OperationType
  implements jxenum



Description

This enumerated type is used in creating import features.



Field Summary
static final int_CUT_OPERATION
    Integer value of enum value "CUT_OPERATION"
    Removes material from the model.
static final OperationTypeCUT_OPERATION
    Object value of enum value "CUT_OPERATION"
    Removes material from the model.
static final int_ADD_OPERATION
    Integer value of enum value "ADD_OPERATION"
    Adds material to the model.
static final OperationTypeADD_OPERATION
    Object value of enum value "ADD_OPERATION"
    Adds material to the model.
static final int_OperationType_null
    Enum null value.

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


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


FromInt

static OperationTypeFromInt (Integer value)


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