Library | Package Java Toolkit

Class AttachmentType

package com.ptc.pfc.pfcDetail;

public class AttachmentType
  implements jxenum



Description

This enumerated type represents the types of detail attachments.
See Also:
Attachment, FreeAttachment, ParametricAttachment, UnsupportedAttachment, OffsetAttachment, Attachment.GetType()



Field Summary
static final int_ATTACH_FREE
    Integer value of enum value "ATTACH_FREE"
    Free attachment at a given location, possibly with respect to a given drawing view.
static final AttachmentTypeATTACH_FREE
    Object value of enum value "ATTACH_FREE"
    Free attachment at a given location, possibly with respect to a given drawing view.
static final int_ATTACH_PARAMETRIC
    Integer value of enum value "ATTACH_PARAMETRIC"
    Parametric attachment on a given entity.
static final AttachmentTypeATTACH_PARAMETRIC
    Object value of enum value "ATTACH_PARAMETRIC"
    Parametric attachment on a given entity.
static final int_ATTACH_TYPE_UNSUPPORTED
    Integer value of enum value "ATTACH_TYPE_UNSUPPORTED"
    Attachment to a drawing item which has no valid representation in PFC at this time.
static final AttachmentTypeATTACH_TYPE_UNSUPPORTED
    Object value of enum value "ATTACH_TYPE_UNSUPPORTED"
    Attachment to a drawing item which has no valid representation in PFC at this time.
static final int_ATTACH_OFFSET
    Integer value of enum value "ATTACH_OFFSET"
     
static final AttachmentTypeATTACH_OFFSET
    Object value of enum value "ATTACH_OFFSET"
     
static final int_AttachmentType_null
    Enum null value.

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


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


FromInt

static AttachmentTypeFromInt (Integer value)


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