Show PatchImpl.java syntax highlighted
package fr.loria.ecoo.wooki.woot.test;
import java.util.Vector;
import fr.loria.ecoo.wooki.woot.Patch;
import fr.loria.ecoo.wooki.woot.core.WootId;
import fr.loria.ecoo.wooki.woot.op.WootOp;
/**
*
* @author nabil
*/
public class PatchImpl extends Patch {
private Vector<WootOp> elements = new Vector<WootOp>();
private WootId patchId;
public Iterable getData() throws Exception {
return elements;
}
public void setData(Iterable elements) throws Exception {
this.elements = (Vector<WootOp>) elements;
}
public WootId getPatchId() {
return patchId;
}
public void setPatchId(WootId patchId) {
this.patchId = patchId;
}
}
See more files for this project here