Changeset 9:b2bfc3bc9ba8 in AnnotationManagerN4J for src/main/java/de/mpiwg/itgroup/annotations/Annotation.java
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/de/mpiwg/itgroup/annotations/Annotation.java
r8 r9 48 48 49 49 /** 50 * The URI of thecreator of this annotation.50 * The creator of this annotation. 51 51 */ 52 protected String creatorUri; 53 54 /** 55 * The full name of the creator of this annotation. 56 */ 57 protected String creatorName; 52 protected Actor creator; 58 53 59 54 /** … … 149 144 150 145 /** 146 * @return the creator 147 */ 148 public Actor getCreator() { 149 return creator; 150 } 151 152 /** 153 * @param creator the creator to set 154 */ 155 public void setCreator(Actor creator) { 156 this.creator = creator; 157 } 158 159 /** 151 160 * @return the creatorUri 152 161 */ 153 162 public String getCreatorUri() { 154 return creatorUri; 155 } 156 157 /** 158 * @param creatorUri the creatorUri to set 159 */ 160 public void setCreatorUri(String creatorUri) { 161 this.creatorUri = creatorUri; 163 if (creator != null) { 164 return creator.getUri(); 165 } 166 return null; 162 167 } 163 168 … … 166 171 */ 167 172 public String getCreatorName() { 168 return creatorName; 169 } 170 171 /** 172 * @param creatorName the creatorName to set 173 */ 174 public void setCreatorName(String creatorName) { 175 this.creatorName = creatorName; 173 if (creator != null) { 174 return creator.getName(); 175 } 176 return null; 176 177 } 177 178
Note: See TracChangeset
for help on using the changeset viewer.