Class Activity
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.visualization.valueobjects.Individual
-
- edu.cornell.mannlib.vitro.webapp.visualization.valueobjects.Activity
-
- Direct Known Subclasses:
MapOfScienceActivity
public class Activity extends Individual
This interface will make sure that VOs conveying any person's academic output like publications, grants etc implement certain methods which will be used to generalize methods which are just interested in certain common properties like what was the year in which the activity was published (or started).- Author:
- cdtank
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActivityDate()This method should be used to get the raw date & not the parsed publication year.StringgetActivityLabel()StringgetActivityType()StringgetActivityURI()StringgetParsedActivityYear()This method will be called to get the final/inferred year for the publication.voidsetActivityDate(String activityDate)voidsetActivityLabel(String activityLabel)voidsetActivityType(String activityType)-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.visualization.valueobjects.Individual
getIndividualLabel, getIndividualURI, setIndividualLabel
-
-
-
-
Constructor Detail
-
Activity
public Activity(String activityURI)
-
-
Method Detail
-
getActivityURI
public String getActivityURI()
-
getActivityLabel
public String getActivityLabel()
-
setActivityLabel
public void setActivityLabel(String activityLabel)
-
getActivityType
public String getActivityType()
-
setActivityType
public void setActivityType(String activityType)
-
getParsedActivityYear
public String getParsedActivityYear()
This method will be called to get the final/inferred year for the publication. The 2 choices, in order, are, 1. parsed year from xs:DateTime object saved in core:dateTimeValue 2. Default Publication Year
-
getActivityDate
public String getActivityDate()
This method should be used to get the raw date & not the parsed publication year. For the later use getParsedPublicationYear.
-
setActivityDate
public void setActivityDate(String activityDate)
-
-