All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.sylinx.hbatis.ext.ifblock.END Maven / Gradle / Ivy

There is a newer version: 2.0.0.RELEASE
Show newest version
package cn.sylinx.hbatis.ext.ifblock;

public class END implements FollowNode {

	private int index;

	private int nextIndex;

	private PreNode preNode;

	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("{");
		sb.append("END NODE(");
		sb.append("index:").append(index).append(",");
		sb.append("nextIndex:").append(nextIndex).append("");
		sb.append(")");
		sb.append("}");

		return sb.toString();
	}

	public String getNodeName() {
		return "#END";
	}
	
	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getNextIndex() {
		return nextIndex;
	}

	public void setNextIndex(int nextIndex) {
		this.nextIndex = nextIndex;
	}

	public PreNode getPreNode() {
		return preNode;
	}

	public void setPreNode(PreNode preNode) {
		this.preNode = preNode;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy