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()
Creates a new blankInitConfig
.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 Box
getBox()
Returns the box object.Source
getSource()
Returns the source.String
getSourceName()
Returns the source name.void
setBox(Box box)
Sets the box object.void
setSource(Source source)
Sets the source.
-
-
-
Constructor Detail
-
InitConfig
public InitConfig()
Creates a new blankInitConfig
.
-
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
-
getBox
public Box getBox()
Returns the box object.- Returns:
- the box
-
setBox
public void setBox(Box box)
Sets the box object.- Parameters:
box
- the box to set
-
getSource
public Source getSource()
Returns the source.- Returns:
- the source
-
setSource
public void setSource(Source source)
Sets the source.- Parameters:
source
- the source to set
-
getSourceName
public String getSourceName()
Returns the source name.- Returns:
- the sourceName
-
-