Changeset 57 for trunk


Ignore:
Timestamp:
06/10/11 10:25:37 (14 years ago)
Author:
sherbold
Message:

+ added de.ugoe.cs.eventbench.IReplayDecorator as attribute to de.ugoe.cs.eventbench.data.ReplayableEvent? to simpliefy usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/EventBenchCore/src/de/ugoe/cs/eventbench/data/ReplayableEvent.java

    r1 r57  
    33import java.util.LinkedList; 
    44import java.util.List; 
     5 
     6import de.ugoe.cs.eventbench.IReplayDecorator; 
    57 
    68public class ReplayableEvent<T extends IReplayable> extends Event<T> { 
     
    911 
    1012        private boolean replayValid = true; 
     13         
     14        private IReplayDecorator decorator = null; 
    1115         
    1216        public ReplayableEvent(String type) { 
     
    4347        } 
    4448 
     49        public void setDecorator(IReplayDecorator decorator) { 
     50                this.decorator = decorator; 
     51        } 
     52         
     53        public IReplayDecorator getReplayDecorator() { 
     54                return decorator; 
     55        } 
    4556 
    4657} 
Note: See TracChangeset for help on using the changeset viewer.