Package edu.byu.hbll.box
Class InitConfig
- java.lang.Object
-
- edu.byu.hbll.box.InitConfig
-
public class InitConfig extends Object
Configuration for initializing newly instantiated Box extension classes.- Author:
- Charles Draper
-
-
Constructor Summary
Constructors Constructor Description InitConfig(Box box, Source source)
Creates a newInitConfig
initialized with the given box and source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSourceName()
Returns the source name.boolean
isBoxDatabase()
Returns whether or not this is of type database.boolean
isCursorDatabase()
Returns whether or not this is of type cursor database.boolean
isHarvester()
Returns whether or not this is of type harvester.boolean
isOther()
Returns if type is other.boolean
isProcessor()
Returns whether or not this is of type processor.
-
-
-
Constructor Detail
-
InitConfig
public InitConfig(Box box, Source source)
Creates a newInitConfig
initialized with the given box and source.- Parameters:
box
- the box objectsource
- the source
-
-
Method Detail
-
getSourceName
public String getSourceName()
Returns the source name.- Returns:
- the sourceName
-
isProcessor
public boolean isProcessor()
Returns whether or not this is of type processor.- Returns:
- whether or not this is of type processor
-
isHarvester
public boolean isHarvester()
Returns whether or not this is of type harvester.- Returns:
- whether or not this is of type harvester
-
isBoxDatabase
public boolean isBoxDatabase()
Returns whether or not this is of type database.- Returns:
- whether or not this is of type database
-
isCursorDatabase
public boolean isCursorDatabase()
Returns whether or not this is of type cursor database.- Returns:
- whether or not this is of type cursor database
-
isOther
public boolean isOther()
Returns if type is other.- Returns:
- if type is other
-
-