Changeset 12084
- Timestamp:
- 2006-07-07T12:23:10+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/DOMProxyListModel.java
r9158 r12084 263 263 this.children = this.root.getElementsByTagName(this.tag_name); 264 264 } 265 266 public synchronized void setAssigned(boolean assigned) { 267 if (assigned) { 268 root.setAttribute(CollectionConfiguration.ASSIGNED_ATTRIBUTE, CollectionConfiguration.TRUE_STR); 269 } 270 else { 271 root.setAttribute(CollectionConfiguration.ASSIGNED_ATTRIBUTE, CollectionConfiguration.FALSE_STR); 272 } 273 } 274 275 public boolean isAssigned() { 276 return (root.getAttribute(CollectionConfiguration.ASSIGNED_ATTRIBUTE).equals("") || root.getAttribute(CollectionConfiguration.ASSIGNED_ATTRIBUTE).equals(CollectionConfiguration.TRUE_STR)); 277 } 265 278 }
Note:
See TracChangeset
for help on using the changeset viewer.