Ignore:
Timestamp:
2010-09-27T14:12:13+13:00 (14 years ago)
Author:
sjm84
Message:

Added the ability to change the database type between GDBM, JDBM and SQLite

File:
1 edited

Legend:

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

    r22772 r22970  
    314314    return element;
    315315       
     316  } 
     317
     318public Element getDatabaseType () {
     319    Element element = getOrCreateElementByTagName (StaticStrings.DATABASETYPE_ELEMENT, null, null);
     320    element.setAttribute (StaticStrings.NAME_ATTRIBUTE, StaticStrings.DATABASETYPE_STR);
     321    element.setAttribute (StaticStrings.SPECIAL_ATTRIBUTE, StaticStrings.TRUE_STR);
     322    return element;
     323       
    316324  }
    317325   
Note: See TracChangeset for help on using the changeset viewer.