Changeset 36177


Ignore:
Timestamp:
2022-05-10T14:38:01+12:00 (5 months ago)
Author:
kjdon
Message:

set type attribute - this will be used for getting the correct coll meta for eg indexes/sorts/facets, which may have the same id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectionMeta.java

    r34241 r36177  
    181181    }
    182182
     183  public void setType(String type) {
     184    if(element != null) {
     185      element.setAttribute(StaticStrings.TYPE_ATTRIBUTE, type);
     186    }
     187  }
    183188    /** Method to print out this class as it would appear within the collection configuration file.
    184189     * @return A <strong>String</strong> containing the text value of this class.
Note: See TracChangeset for help on using the changeset viewer.