Class Interest

java.lang.Object
com.openmeet.shared.data.interest.Interest
All Implemented Interfaces:
IEntity

public class Interest extends Object implements IEntity
This class represents the Interest Entity.
See Also:
  • Field Details

  • Constructor Details

    • Interest

      public Interest()
  • Method Details

    • toHashMap

      public HashMap<String,Object> toHashMap()
      Returns the Interest as an hashMap.
      Specified by:
      toHashMap in interface IEntity
      Returns:
      the Interest as an hashMap.
      See Also:
    • toHashMap

      public HashMap<String,Object> toHashMap(String... fields)
      Returns the Interest as an hashMap.
      Specified by:
      toHashMap in interface IEntity
      Parameters:
      fields - the fields to be returned.
      Returns:
      the Interest as an hashMap.
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public int getId()
      Returns the id of the Interest.
      Returns:
      the id of the Interest.
    • setId

      public void setId(int id)
      Sets the id of the Interest.
      Parameters:
      id - the id of the Interest.
    • getDescription

      public String getDescription()
      Returns the description of the Interest.
      Returns:
      the description of the Interest.
    • setDescription

      public void setDescription(String description)
      Sets the description of the Interest.
      Parameters:
      description - the description of the Interest.