public class SetModel extends AbstractActionModel
Sets an attribute value in a scope.
Constructor and Description |
---|
SetModel(java.lang.String name,
java.lang.String value)
Create a set action model
|
Modifier and Type | Method and Description |
---|---|
Model |
createCopy()
Create a deep copy of this model.
|
java.lang.String |
getName() |
java.lang.String |
getType() |
java.lang.String |
getValue() |
void |
setName(java.lang.String name) |
void |
setType(java.lang.String type) |
void |
setValue(java.lang.String value) |
fillCopy, getAttributes, isMergeableWith, merge, setAttributes
public SetModel(java.lang.String name, java.lang.String value)
name
- the name of the property to setvalue
- the value to setpublic Model createCopy()
Model
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the value to setpublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the type to set