Class Mood


  • public class Mood
    extends Object

    Mood describes the mood of the user when the activity was performed. This is usually collected via an extra field in the user interface used to perform the activity. For the purpose of this schema, a mood is a freeform, short mood keyword or phrase along with an optional mood icon image.

    Moods are included via a mood element in the namespace http://activitystrea.ms/context/.

    The content of the mood element is the mood keyword or phrase.

    The mood element may have an optional icon attribute which contains the URL of a mood icon image. The mood icon image SHOULD be small and appropriate to be displayed alongside the mood keyword at a normal text size.

    • Constructor Detail

      • Mood

        public Mood()
    • Method Detail

      • setIconUrl

        public void setIconUrl​(String newiconUrl)
        Set the value of iconUrl
        Parameters:
        newiconUrl - new value of iconUrl
      • getIconUrl

        public String getIconUrl()
        Get the value of iconUrl
        Returns:
        the value of iconUrl
      • setText

        public void setText​(String newtext)
        Set the value of text
        Parameters:
        newtext - new value of text
      • getText

        public String getText()
        Get the value of text
        Returns:
        the value of text