Library | Package Java Toolkit

Interface DetailItem

package com.ptc.pfc.pfcDetail;

public interface DetailItem
  extends com.ptc.pfc.pfcModelItem.ModelItem



Description

This interface represents a detail item in Creo Parametric.
See Also:
DetailItemOwner.GetDetailItem(DetailType, int), DetailItemOwner.ListDetailItems(/*optional*/ DetailType, /*optional*/ Integer), DetailItemOwner.CreateDetailItem(DetailCreateInstructions), DetailItemOwner.RetrieveSymbolDefinition(String, /*optional*/ String, /*optional*/ Integer, /*optional*/ Boolean), DetailSymbolDefItem.GetDetailItem(DetailType, int), DetailSymbolDefItem.ListDetailItems(/*optional*/ DetailType), DetailSymbolDefItem.CreateDetailItem(DetailCreateInstructions)
Direct Known Subclasses:
DetailEntityItem, DetailNoteItem, DetailSymbolDefItem, DetailSymbolInstItem, DetailGroupItem, DetailOLEObject



Method Summary
voidDelete ()
    Deletes a detail item.
DetailTypeGetDetailType ()
    Gets the type of a detail item.

Methods Inherited from Interface com.ptc.pfc.pfcObject.Child
GetDBParent, GetOId

Methods Inherited from Interface com.ptc.pfc.pfcBase.ActionSource
AddActionListener, RemoveActionListener, AddActionListenerWithType

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.RelationOwner
DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression

Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent
GetChild

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ParameterOwner
GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItem
GetName, SetName, GetId, GetType

Method Detail

GetDetailType

DetailTypeGetDetailType ()


    Gets the type of a detail item.
Returns:
The detail item type.


Delete

voidDelete ()


    Deletes a detail item.

Exceptions thrown (but not limited to):

XToolkitCantWrite - Could not delete the given item because it has read-only access.


Returns: