edu.indiana.dlib.metsnav.config
Class DataSourceConfig

java.lang.Object
  extended by edu.indiana.dlib.metsnav.config.DataSourceConfig
Direct Known Subclasses:
FileSystemDataSource

public class DataSourceConfig
extends Object

This is the configuration for data sources

Author:
David Jiao

Field Summary
protected  String daoType
          The Data Access Object (DAO) class type
static String METS_1_4
           
static String METS_1_5
           
protected  String metsVersion
          Version of the METS files
protected  String pathPrefix
          Prefix for to add before relative paths to generate the absolute paths
 
Constructor Summary
DataSourceConfig()
           
 
Method Summary
 String getDaoType()
           
 String getMetsVersion()
           
 String getPathPrefix()
           
 void setDaoType(String type)
           
 void setMetsVersion(String metsVersion)
           
 void setPathPrefix(String pathPrefix)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

METS_1_5

public static final String METS_1_5
See Also:
Constant Field Values

METS_1_4

public static final String METS_1_4
See Also:
Constant Field Values

daoType

protected String daoType
The Data Access Object (DAO) class type


metsVersion

protected String metsVersion
Version of the METS files


pathPrefix

protected String pathPrefix
Prefix for to add before relative paths to generate the absolute paths

Constructor Detail

DataSourceConfig

public DataSourceConfig()
Method Detail

getDaoType

public String getDaoType()
Returns:
Returns the type.

getPathPrefix

public String getPathPrefix()
Returns:
Returns the pathPrefix.

setDaoType

public void setDaoType(String type)
Parameters:
type - The type to set.

setPathPrefix

public void setPathPrefix(String pathPrefix)
Parameters:
pathPrefix - The pathPrefix to set.

toString

public String toString()
Overrides:
toString in class Object

getMetsVersion

public String getMetsVersion()
Returns:
Returns the metsVersion.

setMetsVersion

public void setMetsVersion(String metsVersion)
Parameters:
metsVersion - The metsVersion to set.


Copyright © 2005 Trustees of Indiana University. All Rights Reserved.