public interface ChangeList extends TransientObject
OptionsManager.newOptionsChangeList(nxopen.options.LevelType, nxopen.options.LevelLockedByDefault)
to create a new instance of this class Modifier and Type | Method and Description |
---|---|
LevelType |
currentLevel()
Returns the current level of options
License requirements: None. |
void |
deleteValue(String name)
Delete an option value.
|
LevelLockedByDefault |
lockedByDefault()
Returns the default lock status for the options level.
|
void |
lockValue(String name)
Lock option value.
|
void |
save()
Saves options values at the current level.
|
void |
setUserComment(String name,
String comment)
Sets the user comment.
|
void |
setUtf8Value(String name,
String value)
Sets the value of a
OptionType.UTF8STRING option. |
void |
setUtf8Value(String name,
String[] value)
Sets the value of a
OptionType.UTF8STRING_LIST option. |
void |
setValue(String name,
boolean value)
Sets the value of a
OptionType.LOGICAL option. |
void |
setValue(String name,
double value)
Sets the value of a
OptionType.REAL option. |
void |
setValue(String name,
int value)
Sets the value of an
OptionType.INT option. |
void |
setValue(String name,
String value)
Sets the value of a
OptionType.STRING option. |
void |
setValue(String name,
String[] value)
Sets the value of a
OptionType.STRING_LIST option. |
void |
setValueOrder(String name,
String[] value)
Sets the value of a
OptionType.REORDER_SEL_LIST option for which the list entries can be reordered. |
void |
setValueSelection(String name,
boolean[] selection,
String[] value)
Sets the value of a
OptionType.REORDER_SEL_LIST option for which the list entries can be reordered as well as selected. |
void |
unlockValue(String name)
Unlock option value.
|
_value, dispose, printTestData, printTestData
LevelType currentLevel() throws NXException, RemoteException
NXException
RemoteException
LevelLockedByDefault lockedByDefault() throws NXException, RemoteException
LevelType.SITE
and LevelType.GROUP
.
NXException
RemoteException
void setValue(String name, int value) throws NXException, RemoteException
OptionType.INT
option.
If the option is of type OptionType.REAL
then the value parameter is converted to double.
Throws an error if the option type is not OptionType.INT
or OptionType.REAL
.
name
- Option name.value
- Option value.NXException
RemoteException
void setValue(String name, double value) throws NXException, RemoteException
OptionType.REAL
option.
Throws an error if the option type is not OptionType.REAL
.
name
- Option name.value
- Option value.NXException
RemoteException
void setValue(String name, String value) throws NXException, RemoteException
OptionType.STRING
option.
Throws an error if the option type is not OptionType.STRING
.
name
- Option name.value
- Option valueNXException
RemoteException
void setUtf8Value(String name, String value) throws NXException, RemoteException
OptionType.UTF8STRING
option.
Throws an error if the option type is not OptionType.UTF8STRING
.
name
- Option name.value
- Option valueNXException
RemoteException
void setUtf8Value(String name, String[] value) throws NXException, RemoteException
OptionType.UTF8STRING_LIST
option.
Throws an error if the option type is not OptionType.UTF8STRING_LIST
.
name
- Option name.value
- Option valueNXException
RemoteException
void setValue(String name, String[] value) throws NXException, RemoteException
OptionType.STRING_LIST
option.
Throws an error if the option type is not OptionType.STRING_LIST
.
name
- Option name.value
- NXException
RemoteException
void setValueOrder(String name, String[] value) throws NXException, RemoteException
OptionType.REORDER_SEL_LIST
option for which the list entries can be reordered.
Throws an error if the option type is not OptionType.REORDER_SEL_LIST
.
name
- Option name.value
- NXException
RemoteException
void setValueSelection(String name, boolean[] selection, String[] value) throws NXException, RemoteException
OptionType.REORDER_SEL_LIST
option for which the list entries can be reordered as well as selected.
Throws an error if the option type is not OptionType.REORDER_SEL_LIST
.
name
- Option name.selection
- the selection bitvalue
- NXException
RemoteException
void setValue(String name, boolean value) throws NXException, RemoteException
OptionType.LOGICAL
option.
Throws an error if the option type is not OptionType.LOGICAL
.
name
- Option name.value
- Option valueNXException
RemoteException
void setUserComment(String name, String comment) throws NXException, RemoteException
name
- Option name.comment
- User comment text.NXException
RemoteException
void deleteValue(String name) throws NXException, RemoteException
name
- Option name.NXException
RemoteException
void lockValue(String name) throws NXException, RemoteException
name
- Option nameNXException
RemoteException
void unlockValue(String name) throws NXException, RemoteException
name
- Option nameNXException
RemoteException
void save() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.