- Timestamp:
- 2003-11-19T15:09:33+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionMeta.java
r5590 r5899 52 52 static final public boolean GREENSTONE = false; 53 53 54 private boolean dummy = false; 54 55 private Element element; 55 56 private String text; … … 74 75 element.setAttribute(StaticStrings.NAME_ATTRIBUTE, name); 75 76 element.setAttribute(StaticStrings.LANGUAGE_ATTRIBUTE, language); 77 } 78 79 /** Constructor to create a new piece of metadata given its name. */ 80 public CollectionMeta(String name, String language, boolean dummy) { 81 this(name, language); 82 this.dummy = dummy; 76 83 } 77 84 … … 134 141 } 135 142 143 public boolean isDummy() { 144 return dummy; 145 } 146 136 147 /** Determine if this metadata is one of the four special pieces of metadata. 137 148 * @return true if this metadata is special, false otherwise.
Note:
See TracChangeset
for help on using the changeset viewer.