|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.tarl.util.impl.DefaultYearInformation
This class defines a default implementation of the YearInformationInterface interface. It defines model parameters such as start year and end year which are used mainly by the TarlHelper and PublicationManager.
PublicationManager,
TarlHelper| Constructor Summary | |
DefaultYearInformation()
Creates a new instance for a YearInformation. |
|
| Method Summary | |
int |
getEndYear()
Returns the end year of the model |
int |
getStartYear()
Returns the start year of the model |
void |
initializeDefault()
Initializes the YearInformation of the model with default values |
void |
setEndYear(int endYear)
Stores the end year of the model |
void |
setStartYear(int startYear)
Stores the start year of the model |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultYearInformation()
YearInformation. It initializes the parameters using default values.
| Method Detail |
public void initializeDefault()
YearInformation of the model with default values
initializeDefault in interface YearInformationpublic int getStartYear()
getStartYear in interface YearInformationpublic int getEndYear()
getEndYear in interface YearInformationpublic void setStartYear(int startYear)
setStartYear in interface YearInformationstartYear - the start year of the modelpublic void setEndYear(int endYear)
setEndYear in interface YearInformationendYear - the end year of the model
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||