|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.tarl.input.impl.DefaultAuthorParameters
This class defines a default implementation of the AuthorParametersInterface interface. It defines model parameters which are related to Authors and methods to access them. This class is directly used by the DefaultAuthorManager class.
DefaultAuthorManager,
DefaultExecuterParameters| Constructor Summary | |
DefaultAuthorParameters()
Creates a new default instance for PublicationParameters. |
|
| Method Summary | |
int |
getMaximumAge()
Returns the maximum age of the authors |
int |
getNumCoAuthors()
Returns the number of Co Authors for each Author |
int |
getNumDeactivationAuthors()
Returns the number of authors to be deactivated in numDeactivationYears years |
int |
getNumDeactivationYears()
Returns the number of years in which deactivation is supposed to take place |
void |
initializeDefault()
Initializes the AuthorParameters with default values |
void |
setMaximumAge(int maximumAge)
Stores the maximum age of the authors |
void |
setNumCoAuthors(int numCoAuthors)
Stores the number of co-authors for each author |
void |
setNumDeactivationAuthors(int numDeactivationAuthors)
Stores the number of authors to be deactivated in numDeactivationYears years |
void |
setNumDeactivationYears(int numDeactivationYears)
Stores the number of years in which deactivation is supposed to take place |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultAuthorParameters()
PublicationParameters. The default values are the values mentioned in the PNAS paper.
| Method Detail |
public void initializeDefault()
AuthorParameters with default values
initializeDefault in interface AuthorParameterspublic int getMaximumAge()
getMaximumAge in interface AuthorParameterspublic int getNumDeactivationAuthors()
getNumDeactivationAuthors in interface AuthorParameterspublic int getNumDeactivationYears()
getNumDeactivationYears in interface AuthorParameterspublic int getNumCoAuthors()
Author
getNumCoAuthors in interface AuthorParameters
public void setMaximumAge(int maximumAge)
throws TarlException
setMaximumAge in interface AuthorParametersmaximumAge - the maximum age of the authors
TarlException - if the field is set with an invalid value
public void setNumDeactivationAuthors(int numDeactivationAuthors)
throws TarlException
setNumDeactivationAuthors in interface AuthorParametersnumDeactivationAuthors - the number of authors to be deactivate in numDeactivationYears years
TarlException - if the field is set with an invalid value
public void setNumDeactivationYears(int numDeactivationYears)
throws TarlException
setNumDeactivationYears in interface AuthorParametersnumDeactivationYears - the number of years in which deactivation is supposed to take place
TarlException - if the field is set with an invalid value
public void setNumCoAuthors(int numCoAuthors)
throws TarlException
setNumCoAuthors in interface AuthorParametersnumCoAuthors - the number of co-authors for each author
TarlException - if the field is set with an invalid value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||