- Timestamp:
- 08/16/12 15:22:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/Event.java
r541 r551 120 120 /** 121 121 * <p> 122 * Returns {@link #get StandardId()} as String representation of the event.122 * Returns {@link #getId()} as String representation of the event. 123 123 * </p> 124 124 * … … 127 127 @Override 128 128 public String toString() { 129 return "(" + type.toString() + ";" + target.toString() + ")";129 return getId(); 130 130 } 131 131 … … 150 150 public IEventType getType() { 151 151 return type; 152 } 153 154 /** 155 * <p> 156 * Returns the combination of {@link #type} and {@link #target} as id. 157 * </p> 158 * 159 * @return string of the form (type,target) 160 */ 161 public String getId() { 162 return "(" + type.toString() + ";" + target.toString() + ")"; 152 163 } 153 164
Note: See TracChangeset
for help on using the changeset viewer.