Library | Package Java Toolkit

Class SubstitutionType

package com.ptc.wfc.wfcAssembly;

public class SubstitutionType
  implements jxenum



Description

Specifies the type of substitution peformed on component.



Field Summary
static final int_SUBSTITUTE_NONE
    Integer value of enum value "SUBSTITUTE_NONE"
    No substitution is defined.
static final SubstitutionTypeSUBSTITUTE_NONE
    Object value of enum value "SUBSTITUTE_NONE"
    No substitution is defined.
static final int_SUBSTITUTE_INTERCHG
    Integer value of enum value "SUBSTITUTE_INTERCHG"
    Substitute using an interchange assembly or a family table.
static final SubstitutionTypeSUBSTITUTE_INTERCHG
    Object value of enum value "SUBSTITUTE_INTERCHG"
    Substitute using an interchange assembly or a family table.
static final int_SUBSTITUTE_PRT_REP
    Integer value of enum value "SUBSTITUTE_PRT_REP"
    Substitute a part with a simplified representation.
static final SubstitutionTypeSUBSTITUTE_PRT_REP
    Object value of enum value "SUBSTITUTE_PRT_REP"
    Substitute a part with a simplified representation.
static final int_SUBSTITUTE_ASM_REP
    Integer value of enum value "SUBSTITUTE_ASM_REP"
     Substitute an assembly with a simplified representation.
static final SubstitutionTypeSUBSTITUTE_ASM_REP
    Object value of enum value "SUBSTITUTE_ASM_REP"
     Substitute an assembly with a simplified representation.
static final int_SUBSTITUTE_ENVELOPE
    Integer value of enum value "SUBSTITUTE_ENVELOPE"
    Substitute with an envelope.
static final SubstitutionTypeSUBSTITUTE_ENVELOPE
    Object value of enum value "SUBSTITUTE_ENVELOPE"
    Substitute with an envelope.
static final int_SubstitutionType_null
    Enum null value.

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


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


FromInt

static SubstitutionTypeFromInt (Integer value)


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