| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| int | GetId
()
Get method for attribute "Id" The identifier of the model item |
| /*optional*/ String | GetName
()
Gets the name of a model item. |
| ModelItemType | GetType
()
Get method for attribute "Type" The type of model item |
| void | SetName
(String Name)
Sets the item name. |
| 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 |
| Method Detail |
|---|
| GetName |
|---|
| /*optional*/ String | GetName | () |
| Gets the name of a model item.
Exceptions thrown (but not limited to): XToolkitNotFound - The specified item does not have a name.
|
| SetName |
|---|
| void | SetName | (String Name) |
| Sets the item name.
Exceptions thrown (but not limited to): XToolkitLineTooLong - The string passed has exceeded the maximum size, that is, PRO_NAME_SIZE. XToolkitInvalidName - The name specified is not a valid name for a model item in Creo Parametric.
|
| GetId |
|---|
| int | GetId | () |
The identifier of the model item
|
| GetType |
|---|
| ModelItemType | GetType | () |
| The type of model item Exceptions thrown (but not limited to): XInvalidModelItem - The model item is invalid.
|