| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| void | Delete
()
Delete the unit system |
| boolean | GetIsStandard
()
Get method for attribute "IsStandard" Specifies whether the unit system is system-defined (value true) or user-defined (value false). |
| String | GetName
()
Get method for attribute "Name" Specifies the name of the unit system |
| UnitSystemType | GetType
()
Get method for attribute "Type" Specifies the type of the unit system. |
| /*optional*/ Unit | GetUnit
(UnitType Type)
Retrieves the unit used by the unit system for a particular type. |
| void | SetName
(String value)
Set method for attribute "Name" Specifies the name of the unit system |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Child |
|---|
| GetDBParent, GetOId |
| Method Detail |
|---|
| GetName/SetName |
|---|
| String | GetName | () |
| void | SetName | (String value) |
| Specifies the name of the unit system Exceptions thrown (but not limited to): XToolkitCantModify - The unit system cannot be modified because if is standard, or new_name already exists, or the model cannot be modified.
|
| GetType |
|---|
| UnitSystemType | GetType | () |
Specifies the type of the unit system.
|
| GetIsStandard |
|---|
| boolean | GetIsStandard | () |
Specifies whether the unit system is system-defined (value
true) or user-defined (value false).
|
| GetUnit |
|---|
| /*optional*/ Unit | GetUnit | (UnitType Type) |
| Retrieves the unit used by the unit system for a particular
type. Exceptions thrown (but not limited to): XToolkitNotFound - system does not contain a unit of the requested type.
|
| Delete |
|---|
| void | Delete | () |
| Delete the unit system Exceptions thrown (but not limited to): XToolkitCantModify - The unit system cannot be modified because if is standard, or is the principal system, or the model cannot be modified.
|