Class Hash
- java.lang.Object
-
- lumis.service.socialnetworkservices.microblog.entity.Hash
-
- All Implemented Interfaces:
Serializable
public class Hash extends Object implements Serializable
This entity class contains information about a Hashtag present in a Post.- Since:
- 6.1.0
- Version:
- $Revision: 13757 $ $Date: 2011-10-14 11:52:52 -0300 (Fri, 14 Oct 2011) $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIND_BY_POST_ID
Named Query that finds a Hash based on a postId specified by parameterpostId
.protected HashPK
id
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
HashPK
getId()
Returns the object-Id (composite keyHashPK
)String
getStemmed()
int
hashCode()
static String
normalizeHashtag(String hashtag)
void
setId(HashPK id)
Sets the object-Id (composite keyHashPK
)void
setStemmed(String stemmed)
String
toString()
-
-
-
Field Detail
-
FIND_BY_POST_ID
public static final String FIND_BY_POST_ID
Named Query that finds a Hash based on a postId specified by parameterpostId
.- See Also:
- Constant Field Values
-
id
protected HashPK id
-
-
Constructor Detail
-
Hash
public Hash()
Constructor for JPA.- Since:
- 6.1.0
-
Hash
public Hash(HashPK hashPK)
-
-