1 51 package org.objectweb.jass.hls.ont; 52 53 import java.io.Serializable ; 54 55 import javax.activity.ActivityToken ; 56 import javax.activity.opennested.ONTActivity; 57 import javax.transaction.Transaction ; 58 59 66 public class ONTActivityImpl implements ONTActivity, Serializable { 67 68 Transaction tx; 69 ActivityToken at; 70 71 76 public ONTActivityImpl (Transaction tx, ActivityToken at) { 77 this.tx = tx; 78 this.at = at; 79 } 80 81 84 public Transaction getTransaction() { 85 return tx; 86 } 87 88 91 public void setTransaction(Transaction tx) { 92 this.tx = tx; 93 } 94 95 98 public ActivityToken getActivityToken() { 99 return at; 100 } 101 102 105 public void setActivityToken(ActivityToken at) { 106 this.at = at; 107 } 108 109 } 110 | Popular Tags |