view src/jungle/test/operations/NetworkTreeOperation.java @ 24:2a378b94cc55

use NetworkDefaultTreeEditor
author one
date Sun, 30 Jun 2013 04:32:37 +0900
parents 20498c88a70d
children
line wrap: on
line source

package jungle.test.operations;

import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.NodePath;
import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.NodeOperation;
import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.TreeOperation;

import org.msgpack.annotation.Message;

@Message
public class NetworkTreeOperation implements TreeOperation {

	public NodePath path;
	public NodeOperation operation;
	
	public NetworkTreeOperation() {
		path = null;
		operation = null;
	}
	
	public NetworkTreeOperation(NodePath _p, NodeOperation _op) {
		path = _p;
		operation = _op;
	}

	@Override
	public NodePath getNodePath() {
		return path;
	}
	
	@Override
	public NodeOperation getNodeOperation() {
		return operation;
	}
	
}