cn.sylinx.hbatis.ext.ifblock.END Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbatis-core Show documentation
Show all versions of hbatis-core Show documentation
hbatis is a simple orm framework
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;
}
}