Class Action


  • public class Action
    extends Object
    The entity class for possible actions taken by an Friend.
    • Constructor Detail

      • Action

        public Action()
    • Method Detail

      • getId

        public long getId()
        Gets the ID for the action.
        Returns:
        The ID of the action.
      • setId

        public void setId​(long id)
        Sets the ID for the action.
        Parameters:
        id - The new ID.
      • getContent

        public String getContent()
        Gets the content for the action.
        Returns:
        The content of the action.
      • setContent

        public void setContent​(String content)
        Sets the content for the action.
        Parameters:
        content - The new action content.
      • isPublic

        public boolean isPublic()
        Gets the visibility level of the action (whether it's public or private).
        Returns:
        The visibility boolean of the action.
      • setPublic

        public void setPublic​(boolean aPublic)
        Sets the visibility level of the action (whether it's public or private).
        Parameters:
        aPublic - The new visibility boolean of the action.
      • getDemeanor

        public long getDemeanor()
        Gets the ID for the demeanor the action is associated with.
        Returns:
        The ID for the Demeanor.
      • setDemeanor

        public void setDemeanor​(long demeanor)
        Sets the ID for the demeanor the action is associated with.
        Parameters:
        demeanor - The new Demeanor ID.