public class InsertQueryCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
protected int |
index
The insert index
|
protected QueryList |
queryList
The queries
|
version
Constructor and Description |
---|
InsertQueryCommand(QueryList queryList,
int index)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute() |
Element |
getModifiedElement() |
void |
undo() |
getVersion, setVersion
protected final QueryList queryList
protected final int index
public InsertQueryCommand(QueryList queryList, int index)
queryList
- - The queries listindex
- - The insert indexpublic void execute()
public void undo()
public Element getModifiedElement()
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.