Ignore:
Timestamp:
2004-10-13T14:48:20+13:00 (20 years ago)
Author:
mdewsnip
Message:

Finally committing the (many) changes to the GLI to use the new metadata code... I hope this doesn't have too many bugs in it and committing it now doesn't stuff anyone up! (Katherine said I could commit it, so blame her if anything goes wrong).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/Collection.java

    r8253 r8313  
    4848import org.greenstone.gatherer.cdm.CollectionMetaManager;
    4949import org.greenstone.gatherer.file.FileNode;
    50 import org.greenstone.gatherer.msm.MetadataXMLFileManager;
    51 import org.greenstone.gatherer.msm.MetadataSetManager;
    5250import org.greenstone.gatherer.util.StaticStrings;
    5351import org.greenstone.gatherer.util.Utility;
     
    6462    /** A reference to the Collection Design Manager. */
    6563    public CollectionDesignManager cdm;
    66     /** A reference to the Greenstone Directory Metadata Manager. */
    67     public MetadataXMLFileManager gdm;
    68     /** A reference to the Metadata Set Manager. */
    69     public MetadataSetManager msm;
    7064    /** true if an error has occurred during construction */
    7165    public boolean error = false;
     
    119113    public void destroy() {
    120114    cdm.destroy();
    121     gdm.destroy();
    122     msm.destroy();
    123115    Configuration.setCollectionConfiguration(null);
    124116    if (Gatherer.g_man != null) {
     
    127119    cdm = null;
    128120    document = null;
    129     gdm = null;
    130     msm = null;
    131121    }
    132122   
     
    170160    }
    171161
    172     public MetadataXMLFileManager getGDM() {
    173     return gdm;
    174     }
    175    
    176162    /** Retrieve the short name for this collection.
    177163     * @return The name as a <strong>String</strong>.
Note: See TracChangeset for help on using the changeset viewer.