public class SetPropertyValueModifier extends BaseDatasetModifier
Usage: <name> <value>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
PropertyName
Name of property to be set
|
protected java.lang.String |
PropertyValue
Value to set for property.
|
Constructor and Description |
---|
SetPropertyValueModifier() |
Modifier and Type | Method and Description |
---|---|
protected void |
modifyDataset(Dataset dataPtr)
Apply changes to the Dataset.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
void |
setPropertyValue(java.lang.String name,
double value)
Set the name and value of property to be set
|
void |
setPropertyValue(java.lang.String name,
java.lang.String value)
Set the name and value of property to be set
|
transform
protected java.lang.String PropertyName
protected java.lang.String PropertyValue
public void setOptions(java.util.List<java.lang.Object> Options) throws java.lang.Exception
Options
Options
- Array of options as Objects - can be null
java.lang.Exception
- if problem with inputspublic java.lang.String printUsage()
Options
public void setPropertyValue(java.lang.String name, java.lang.String value)
name
- Name of propertyvalue
- Value of property. Can be a number, or the name of a classpublic void setPropertyValue(java.lang.String name, double value)
name
- Name of propertyvalue
- Value of propertyprotected void modifyDataset(Dataset dataPtr)
BaseDatasetModifier
modifyDataset
in class BaseDatasetModifier
dataPtr
- Dataset to be modified