1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/java/isac/util/CalcEvent.java Mon Feb 21 09:19:22 2005 +0100
1.3 @@ -0,0 +1,31 @@
1.4 +/******************************************************************
1.5 +* @author Alois Kirchsteiger member of the isac team
1.6 +* Copyright (c) 2005 by Alois Kirchsteiger
1.7 +* create 21.01.2005, 08:37:00
1.8 +* Insitute for Softwaretechnology, Graz University of Technology, Austria.
1.9 +*
1.10 +* Use is subject to license terms.
1.11 +******************************************************************/
1.12 +
1.13 +//TODO: implement!!!
1.14 +
1.15 +package isac.util;
1.16 +
1.17 +import java.io.Serializable;
1.18 +
1.19 +/**
1.20 + * @author Alois Kirchsteiger 21.01.2005 08:37:00
1.21 + */
1.22 +public class CalcEvent implements Serializable {
1.23 +
1.24 + int transaction_id_;
1.25 +
1.26 + /**
1.27 + * @return ID of the transaction which triggered the change in the first
1.28 + * place.
1.29 + *
1.30 + */
1.31 + public int getTransactionId() {
1.32 + return transaction_id_;
1.33 + }
1.34 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/src/java/isac/util/CalcMessage.java Mon Feb 21 09:19:22 2005 +0100
2.3 @@ -0,0 +1,32 @@
2.4 +/******************************************************************
2.5 +* @author Alois Kirchsteiger member of the isac team
2.6 +* Copyright (c) 2005 by Alois Kirchsteiger
2.7 +* create 21.02.2005, 08:41:56
2.8 +* Insitute for Softwaretechnology, Graz University of Technology, Austria.
2.9 +*
2.10 +* Use is subject to license terms.
2.11 +******************************************************************/
2.12 +
2.13 +//TODO: implement!!!
2.14 +
2.15 +package isac.util;
2.16 +
2.17 +/**
2.18 + * @author Alois Kirchsteiger 21.02.2005 08:41:56
2.19 + */
2.20 +public class CalcMessage extends CalcEvent {
2.21 +
2.22 + String message_;
2.23 +
2.24 + /**
2.25 + * contructor of the CalcMessage
2.26 + * @param message: the Message the bridge sends to the worksheet
2.27 + */
2.28 + public CalcMessage(String message) {
2.29 + message_ = message;
2.30 + }
2.31 +
2.32 + public String getMessage() {
2.33 + return message_;
2.34 + }
2.35 +}