Library | Package Java Toolkit

Class FeatCreateOption

package com.ptc.wfc.wfcFeatureInstructions;

public class FeatCreateOption
  implements jxenum



Description

Various options used while feature creation and redefination



Field Summary
static final int_FEAT_CR_NO_OPTS
    Integer value of enum value "FEAT_CR_NO_OPTS"
    No options
static final FeatCreateOptionFEAT_CR_NO_OPTS
    Object value of enum value "FEAT_CR_NO_OPTS"
    No options
static final int_FEAT_CR_DEFINE_MISS_ELEMS
    Integer value of enum value "FEAT_CR_DEFINE_MISS_ELEMS"
    Prompt user interface upon feature creation or redefinition if some of the required elements are missing.
static final FeatCreateOptionFEAT_CR_DEFINE_MISS_ELEMS
    Object value of enum value "FEAT_CR_DEFINE_MISS_ELEMS"
    Prompt user interface upon feature creation or redefinition if some of the required elements are missing.
static final int_FEAT_CR_INCOMPLETE_FEAT
    Integer value of enum value "FEAT_CR_INCOMPLETE_FEAT"
    Allow incomplete feature creation or redefination
static final FeatCreateOptionFEAT_CR_INCOMPLETE_FEAT
    Object value of enum value "FEAT_CR_INCOMPLETE_FEAT"
    Allow incomplete feature creation or redefination
static final int_FEAT_CR_FIX_MODEL_ON_FAIL
    Integer value of enum value "FEAT_CR_FIX_MODEL_ON_FAIL"
    If there is a feature failure then prompt fix model interface
static final FeatCreateOptionFEAT_CR_FIX_MODEL_ON_FAIL
    Object value of enum value "FEAT_CR_FIX_MODEL_ON_FAIL"
    If there is a feature failure then prompt fix model interface
static final int_FEAT_CR_DO_NOT_DISPLAY
    Integer value of enum value "FEAT_CR_DO_NOT_DISPLAY"
    Do not redisplay model and model tree after feature creation or redefinition.
static final FeatCreateOptionFEAT_CR_DO_NOT_DISPLAY
    Object value of enum value "FEAT_CR_DO_NOT_DISPLAY"
    Do not redisplay model and model tree after feature creation or redefinition.
static final int_FEAT_CR_CALLED_FROM_TK
    Integer value of enum value "FEAT_CR_CALLED_FROM_TK"
    Internal use only.
static final FeatCreateOptionFEAT_CR_CALLED_FROM_TK
    Object value of enum value "FEAT_CR_CALLED_FROM_TK"
    Internal use only.
static final int_FEAT_CR_UNDO_IF_FAIL
    Integer value of enum value "FEAT_CR_UNDO_IF_FAIL"
    Internal use only.
static final FeatCreateOptionFEAT_CR_UNDO_IF_FAIL
    Object value of enum value "FEAT_CR_UNDO_IF_FAIL"
    Internal use only.
static final int_FEAT_CR_ALLOW_CONFIRM
    Integer value of enum value "FEAT_CR_ALLOW_CONFIRM"
    Internal use only.
static final FeatCreateOptionFEAT_CR_ALLOW_CONFIRM
    Object value of enum value "FEAT_CR_ALLOW_CONFIRM"
    Internal use only.
static final int_FeatCreateOption_null
    Enum null value.

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


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


FromInt

static FeatCreateOptionFromInt (Integer value)


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