1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- /*
- * Created on 2006-6-8 Administrator
- */
- package com.sysmodel.collectmodel.xmlmodel.impl;
- import com.sysmodel.collectmodel.xmlmodel.able.Action;
- public class ActionImpl implements Action, Cloneable{
- private String type = "";
- private String value = "";
- private int appendSpace = 0;
- private String method = "";
- private String returnURL = "";
- private String dojoType = "";
- public String getDojoType() {
- return dojoType;
- }
- public void setDojoType(String dojoType) {
- this.dojoType = dojoType;
- }
- public int getAppendSpace() {
- return appendSpace;
- }
- public void setAppendSpace(int appendSpace) {
- this.appendSpace = appendSpace;
- }
- public String getType() {
- return type;
- }
- public void setType(String type) {
- this.type = type;
- }
- public String getValue() {
- return value;
- }
- public void setValue(String value) {
- this.value = value;
- }
- public String getReturnURL() {
- return returnURL;
- }
- public void setReturnURL(String returnURL) {
- this.returnURL = returnURL;
- }
- public String getMethod() {
- return method;
- }
- public void setMethod(String method) {
- this.method = method;
- }
- public String appendSpace() {
- StringBuffer sb = new StringBuffer();
- int m = 0;
- for (int i = 0; i < appendSpace; i++) {
- m = i + 1;
- }
- sb.append(" " + m);
- return sb.toString();
- }
- public Object clone() {
- ActionImpl o = null;
- try {
- o = (ActionImpl) super.clone();
- } catch (CloneNotSupportedException e) {
- e.printStackTrace();
- }
- return o;
- }
- }
|