Changeset 36185
- Timestamp:
- 2022-05-16T14:37:59+12:00 (2 years ago)
- Location:
- main/trunk/gli/src/org/greenstone/gatherer/cdm
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectionMeta.java
r36177 r36185 45 45 static final public boolean GREENSTONE = false; 46 46 47 private boolean dummy = false; 48 private Element element = null; 49 private String text = null; 50 47 protected boolean dummy = false; 48 protected Element element = null; 49 protected String text = null; 50 51 /** default no args constructor which gets called explicitly from subclass construcotrs */ 52 public CollectionMeta() { 53 } 51 54 /** Constructor. 52 55 * @param element the Element from which we will determine metadata details … … 97 100 */ 98 101 public boolean equals(Object object) { 102 System.err.println("collmeat equals"); 99 103 return (compareTo(object) == 0); 100 104 } … … 181 185 } 182 186 183 public void setType(String type) { 184 if(element != null) { 185 element.setAttribute(StaticStrings.TYPE_ATTRIBUTE, type); 186 } 187 } 187 188 188 /** Method to print out this class as it would appear within the collection configuration file. 189 189 * @return A <strong>String</strong> containing the text value of this class.
Note:
See TracChangeset
for help on using the changeset viewer.