Ignore:
Timestamp:
2003-08-29T16:45:53+12:00 (21 years ago)
Author:
jmt12
Message:

Fixed 203B160 & 203B161 - Needs an add all metadata and replace name in MGPP Indexes

File:
1 edited

Legend:

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

    r5255 r5375  
    189189    }
    190190
     191    /** Tries to retrieve this indexes name according to the CollectionMetaManager. */
     192    public String getName() {
     193    CollectionMeta metadatum = CollectionDesignManager.collectionmeta_manager.getMetadatum(StaticStrings.STOP_CHARACTER + getID(), false);
     194    if(metadatum != null) {
     195        return metadatum.getValue(CollectionMeta.TEXT);
     196    }
     197    return "";
     198    }
     199
    191200    /** Retrieve the sources of this index.
    192201     * @return the sources as an ArrayList
Note: See TracChangeset for help on using the changeset viewer.