Class 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
    • 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)