Library | Package Java Toolkit

Class UDFScaleType

package com.ptc.pfc.pfcUDFCreate;

public class UDFScaleType
  implements jxenum



Description

Specifies what should happen if the UDF used different length units than the model to which it is being applied.



Field Summary
static final int_UDFSCALE_SAME_SIZE
    Integer value of enum value "UDFSCALE_SAME_SIZE"
    Scale the dimension values so that the UDF becomes the same size as in the definition.
static final UDFScaleTypeUDFSCALE_SAME_SIZE
    Object value of enum value "UDFSCALE_SAME_SIZE"
    Scale the dimension values so that the UDF becomes the same size as in the definition.
static final int_UDFSCALE_SAME_DIMS
    Integer value of enum value "UDFSCALE_SAME_DIMS"
    Use the values of the dimensions defined in the UDF.
static final UDFScaleTypeUDFSCALE_SAME_DIMS
    Object value of enum value "UDFSCALE_SAME_DIMS"
    Use the values of the dimensions defined in the UDF.
static final int_UDFSCALE_CUSTOM
    Integer value of enum value "UDFSCALE_CUSTOM"
    Use the scale field in the UDFCustomCreateInstructions .
static final UDFScaleTypeUDFSCALE_CUSTOM
    Object value of enum value "UDFSCALE_CUSTOM"
    Use the scale field in the UDFCustomCreateInstructions .
static final int_UDFScaleType_null
    Enum null value.

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


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


FromInt

static UDFScaleTypeFromInt (Integer value)


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