Library | Package Java Toolkit

Class ModelType

package com.ptc.pfc.pfcModel;

public class ModelType
  implements jxenum



Description

This enumerated type lists the supported model types.



Field Summary
static final int_MDL_ASSEMBLY
    Integer value of enum value "MDL_ASSEMBLY"
    An assembly.
static final ModelTypeMDL_ASSEMBLY
    Object value of enum value "MDL_ASSEMBLY"
    An assembly.
static final int_MDL_PART
    Integer value of enum value "MDL_PART"
    A part.
static final ModelTypeMDL_PART
    Object value of enum value "MDL_PART"
    A part.
static final int_MDL_DRAWING
    Integer value of enum value "MDL_DRAWING"
    A drawing.
static final ModelTypeMDL_DRAWING
    Object value of enum value "MDL_DRAWING"
    A drawing.
static final int_MDL_2D_SECTION
    Integer value of enum value "MDL_2D_SECTION"
    A two-dimensional section.
static final ModelTypeMDL_2D_SECTION
    Object value of enum value "MDL_2D_SECTION"
    A two-dimensional section.
static final int_MDL_LAYOUT
    Integer value of enum value "MDL_LAYOUT"
    A layout.
static final ModelTypeMDL_LAYOUT
    Object value of enum value "MDL_LAYOUT"
    A layout.
static final int_MDL_DWG_FORMAT
    Integer value of enum value "MDL_DWG_FORMAT"
    A drawing format.
static final ModelTypeMDL_DWG_FORMAT
    Object value of enum value "MDL_DWG_FORMAT"
    A drawing format.
static final int_MDL_MFG
    Integer value of enum value "MDL_MFG"
    A manufacturing model.
static final ModelTypeMDL_MFG
    Object value of enum value "MDL_MFG"
    A manufacturing model.
static final int_MDL_REPORT
    Integer value of enum value "MDL_REPORT"
    A report.
static final ModelTypeMDL_REPORT
    Object value of enum value "MDL_REPORT"
    A report.
static final int_MDL_MARKUP
    Integer value of enum value "MDL_MARKUP"
    A drawing markup.
static final ModelTypeMDL_MARKUP
    Object value of enum value "MDL_MARKUP"
    A drawing markup.
static final int_MDL_DIAGRAM
    Integer value of enum value "MDL_DIAGRAM"
    A diagram.
static final ModelTypeMDL_DIAGRAM
    Object value of enum value "MDL_DIAGRAM"
    A diagram.
static final int_MDL_UNSPECIFIED
    Integer value of enum value "MDL_UNSPECIFIED"
    Not specifying a particular model type
static final ModelTypeMDL_UNSPECIFIED
    Object value of enum value "MDL_UNSPECIFIED"
    Not specifying a particular model type
static final int_MDL_CE_SOLID
    Integer value of enum value "MDL_CE_SOLID"
    Layout model; NOTE: this type is read-only, passing it back to Creo may lead to unpredictable behavior.
static final ModelTypeMDL_CE_SOLID
    Object value of enum value "MDL_CE_SOLID"
    Layout model; NOTE: this type is read-only, passing it back to Creo may lead to unpredictable behavior.
static final int_MDL_CE_DRAWING
    Integer value of enum value "MDL_CE_DRAWING"
    Reserved for internal use.
static final ModelTypeMDL_CE_DRAWING
    Object value of enum value "MDL_CE_DRAWING"
    Reserved for internal use.
static final int_ModelType_null
    Enum null value.

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


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


FromInt

static ModelTypeFromInt (Integer value)


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