public class SetPropertyCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
protected Element |
element |
protected String |
name |
protected Property |
property |
protected Object |
value |
version
Constructor and Description |
---|
SetPropertyCommand(Element element,
String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected Property |
getLocalProperty() |
protected Object |
getLocalPropertyValue() |
Element |
getModifiedElement() |
protected Object |
swap() |
void |
undo() |
getVersion, setVersion
protected Element element
protected String name
protected Object value
protected Property property
public void execute()
public void undo()
protected Object swap()
protected Property getLocalProperty()
protected Object getLocalPropertyValue()
public Element getModifiedElement()
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.