Class Interest
java.lang.Object
com.openmeet.shared.data.interest.Interest
- All Implemented Interfaces:
IEntity
This class represents the Interest Entity.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the Interest.intgetId()Returns the id of the Interest.voidsetDescription(String description) Sets the description of the Interest.voidsetId(int id) Sets the id of the Interest.Returns the Interest as an hashMap.Returns the Interest as an hashMap.toString()
-
Field Details
-
INTEREST
- See Also:
-
INTEREST_ID
- See Also:
-
INTEREST_DESCRIPTION
- See Also:
-
-
Constructor Details
-
Interest
public Interest()
-
-
Method Details
-
toHashMap
Returns the Interest as an hashMap. -
toHashMap
Returns the Interest as an hashMap. -
toString
-
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
Returns the description of the Interest.- Returns:
- the description of the Interest.
-
setDescription
Sets the description of the Interest.- Parameters:
description- the description of the Interest.
-