public interface ICharacteristic extends INXObject
NXObject
object in order to support extra functionality
such as synonym characteristics available in the Routing application.
Modifier and Type | Method and Description |
---|---|
void |
deleteCharacterstics(CharacteristicList values)
Removes the input list of characteristics from this object.
|
CharacteristicList |
getCharacteristics()
Get all of the characteristics values on the this object.
|
CharacteristicList |
getDestinationCharacteristics()
Returns the destination characteristics from the input object.
|
int |
getIntegerCharacteristic(String name)
Get the value of an integer characteristic associated with the input name.
|
double |
getRealCharacteristic(String name)
Get the value of a real characteristic associated with the input name.
|
String |
getStringCharacteristic(String name)
Get the value of a string characteristic associated with the input name.
|
void |
setCharacteristic(String name,
double value)
Deprecated.
Deprecated in NX11.0.0. Use
setCharacteristic2(java.lang.String, int) instead.
|
void |
setCharacteristic(String name,
int value)
Deprecated.
Deprecated in NX11.0.0. Use
setCharacteristic2(java.lang.String, int) instead.
|
void |
setCharacteristic(String name,
String value)
Deprecated.
Deprecated in NX11.0.0. Use
setCharacteristic2(java.lang.String, int) instead.
|
void |
setCharacteristic2(String title,
double value)
Sets or creates a double type attribute associated with the input title.
|
void |
setCharacteristic2(String title,
int value)
Sets or creates an integer type attribute associated with the input title.
|
void |
setCharacteristic2(String title,
String value)
Sets or creates a string type type attribute associated with the input title.
|
void |
setCharacteristics(CharacteristicList values)
Deprecated.
Deprecated in NX11.0.0. Use
setCharacteristics2(nxopen.routing.CharacteristicList) instead.
|
void |
setCharacteristics2(CharacteristicList values)
Sets all attributes associated with the titles from the input list,
creating new attributes for the ones that don't exist already.
|
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
CharacteristicList getCharacteristics() throws NXException, RemoteException
NXException
RemoteException
void setCharacteristics(CharacteristicList values) throws NXException, RemoteException
setCharacteristics2(nxopen.routing.CharacteristicList)
instead.
values
- NXException
RemoteException
int getIntegerCharacteristic(String name) throws NXException, RemoteException
name
- NXException
RemoteException
void setCharacteristic(String name, int value) throws NXException, RemoteException
setCharacteristic2(java.lang.String, int)
instead.
name
- value
- NXException
RemoteException
double getRealCharacteristic(String name) throws NXException, RemoteException
name
- NXException
RemoteException
void setCharacteristic(String name, double value) throws NXException, RemoteException
setCharacteristic2(java.lang.String, int)
instead.
name
- value
- NXException
RemoteException
String getStringCharacteristic(String name) throws NXException, RemoteException
name
- NXException
RemoteException
void setCharacteristic(String name, String value) throws NXException, RemoteException
setCharacteristic2(java.lang.String, int)
instead.
name
- value
- NXException
RemoteException
void deleteCharacterstics(CharacteristicList values) throws NXException, RemoteException
values
- NXException
RemoteException
CharacteristicList getDestinationCharacteristics() throws NXException, RemoteException
NXException
RemoteException
void setCharacteristic2(String title, int value) throws NXException, RemoteException
Component
, the
method will create or edit a part attribute on the stock part. For legacy parts
where the attribute is on the stock component, the attribute will be moved
to the stock part.
If the method is called on a non-stock Component
,
the method will create or edit an attribute on the corresponding instance. For
legacy parts where the attribute is on the component, the attribute will be moved
to the corresponding instance.
If the method is called on any non-component object, the method will
access or create an attribute on the object itself.
title
- Unique title for the Attribute or Characteristicvalue
- New Value to be set on the AttributeNXException
RemoteException
void setCharacteristic2(String title, double value) throws NXException, RemoteException
Component
, the
method will create or edit a part attribute on the stock part. For legacy parts
where the attribute is on the stock component, the attribute will be moved
to the stock part.
If the method is called on a non-stock Component
,
the method will create or edit an attribute on the corresponding instance. For
legacy parts where the attribute is on the component, the attribute will be moved
to the corresponding instance.
If the method is called on any non-component object, the method will
access or create an attribute on the object itself.
title
- Unique title for the Attribute or Characteristicvalue
- New Value to be set on the AttributeNXException
RemoteException
void setCharacteristic2(String title, String value) throws NXException, RemoteException
Component
, the
method will create or edit a part attribute on the stock part. For legacy parts
where the attribute is on the stock component, the attribute will be moved
to the stock part.
If the method is called on a non-stock Component
,
the method will create or edit an attribute on the corresponding instance. For
legacy parts where the attribute is on the component, the attribute will be moved
to the corresponding instance.
If the method is called on any non-component object, the method will
access or create an attribute on the object itself.
title
- Unique title for the Attribute or Characteristicvalue
- New Value to be set on the AttributeNXException
RemoteException
void setCharacteristics2(CharacteristicList values) throws NXException, RemoteException
Component
, the
method will create or edit part attributes on the stock part. For legacy parts
where the attributes are on the stock component, the attributes will be moved
to the stock part.
If the method is called on a non-stock Component
,
the method will create or edit attributes on the corresponding instance. For
legacy parts where the attribute is on the component, the attributes will be moved
to the corresponding instance.
If the method is called on any non-component object, the method will
access or create attributes on the object itself.
values
- CharacteristicList
having the titles, types and values of Attributes to be setNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.