Library | Package Java Toolkit

Class SubstType

package com.ptc.pfc.pfcSimpRep;

public class SubstType
  implements jxenum



Description

This enumerated type lists the supported types of substitution.



Field Summary
static final int_SUBST_INTERCHG
    Integer value of enum value "SUBST_INTERCHG"
    Substitute using an interchange assembly or a family table.
static final SubstTypeSUBST_INTERCHG
    Object value of enum value "SUBST_INTERCHG"
    Substitute using an interchange assembly or a family table.
static final int_SUBST_PRT_REP
    Integer value of enum value "SUBST_PRT_REP"
    Substitute a part with a simplified representation.
static final SubstTypeSUBST_PRT_REP
    Object value of enum value "SUBST_PRT_REP"
    Substitute a part with a simplified representation.
static final int_SUBST_ASM_REP
    Integer value of enum value "SUBST_ASM_REP"
    Substitute an assembly with a simplified representation.
static final SubstTypeSUBST_ASM_REP
    Object value of enum value "SUBST_ASM_REP"
    Substitute an assembly with a simplified representation.
static final int_SUBST_ENVELOPE
    Integer value of enum value "SUBST_ENVELOPE"
    Substitute with an envelope.
static final SubstTypeSUBST_ENVELOPE
    Object value of enum value "SUBST_ENVELOPE"
    Substitute with an envelope.
static final int_SUBST_NONE
    Integer value of enum value "SUBST_NONE"
     
static final SubstTypeSUBST_NONE
    Object value of enum value "SUBST_NONE"
     
static final int_SubstType_null
    Enum null value.

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


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


FromInt

static SubstTypeFromInt (Integer value)


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