edu.indiana.dlib.metsnav.config
Class DataSourceConfig
java.lang.Object
  
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 
 
 
 
 
 
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
 
DataSourceConfig
public DataSourceConfig()
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.