Changeset 1357 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/MarkingTemporalRelationship.java
- Timestamp:
- 02/07/14 18:08:10 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/MarkingTemporalRelationship.java
r1215 r1357 46 46 /** 47 47 * <p> 48 * a human readable name for this temporal relationship49 * </p>50 */51 private String relationshipType;52 53 /**54 * <p>55 48 * initializes this temporal relationship with a human readable name 56 49 * </p> … … 59 52 */ 60 53 MarkingTemporalRelationship(String relationshipType) { 54 super(relationshipType); 55 61 56 if ((relationshipType == null) || ("".equals(relationshipType))) { 62 57 throw new IllegalArgumentException 63 58 ("the relationship type must be something meaningful"); 64 59 } 65 66 this.relationshipType = relationshipType;67 super.setDescription(this.relationshipType);68 60 } 69 61 … … 101 93 this.markedTask = markedTask; 102 94 103 super.setDescription( relationshipType + " of " + markedTask);95 super.setDescription(markedTask.toString()); 104 96 } 105 97
Note: See TracChangeset
for help on using the changeset viewer.