|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.socialnetworkservices.microblog.entity.Hash
public class Hash
This entity class contains information about a Hashtag present in a Post.
Field Summary | |
---|---|
static String |
FIND_BY_POST_ID
Named Query that finds a Hash based on a postId specified by parameter postId . |
protected HashPK |
id
|
Constructor Summary | |
---|---|
Hash()
Constructor for JPA. |
|
Hash(HashPK hashPK)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
HashPK |
getId()
Returns the object-Id (composite key HashPK ) |
String |
getStemmed()
|
int |
hashCode()
|
static String |
normalizeHashtag(String hashtag)
|
void |
setId(HashPK id)
Sets the object-Id (composite key HashPK ) |
void |
setStemmed(String stemmed)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String FIND_BY_POST_ID
postId
.
protected HashPK id
Constructor Detail |
---|
public Hash()
public Hash(HashPK hashPK)
Method Detail |
---|
public HashPK getId()
HashPK
)
public void setId(HashPK id)
HashPK
)
public String toString()
toString
in class Object
public void setStemmed(String stemmed)
public String getStemmed()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public static String normalizeHashtag(String hashtag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |