1 package org.sapia.soto.state.cocoon; 2 3 import java.io.Serializable ; 4 5 import java.util.Stack ; 6 7 8 16 public class Call implements Serializable { 17 private String _targetState; 18 private String _returnState; 19 private String _targetModule; 20 private String _returnModule; 21 private Stack _contextStack; 22 private boolean _executed; 23 24 public Call(String targetState, String targetModule, String returnState, 25 String returnModule, Stack context) { 26 _targetState = targetState; 27 _returnState = returnState; 28 _targetModule = targetModule; 29 _returnModule = returnModule; 30 _contextStack = context; 31 } 32 33 public String getTargetState() { 34 return _targetState; 35 } 36 37 public String getTargetModule() { 38 return _targetModule; 39 } 40 41 public String getReturnState() { 42 return _returnState; 43 } 44 45 public String getReturnModule() { 46 return _returnModule; 47 } 48 49 public Stack getContextStack() { 50 return _contextStack; 51 } 52 53 void setExecuted() { 54 _executed = true; 55 } 56 57 boolean isExecuted() { 58 return _executed; 59 } 60 } 61 | Popular Tags |