lumis.service.socialnetworkservices.microblog.entity
Class Hash

Package class diagram package Hash
java.lang.Object
  extended by 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
See Also:
Serialized Form

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

FIND_BY_POST_ID

public static final String FIND_BY_POST_ID
Named Query that finds a Hash based on a postId specified by parameter postId.

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)
Method Detail

getId

public HashPK getId()
Returns the object-Id (composite key HashPK)

Returns:
Since:
6.1.0

setId

public void setId(HashPK id)
Sets the object-Id (composite key HashPK)

Since:
6.1.0

toString

public String toString()
Overrides:
toString in class Object

setStemmed

public void setStemmed(String stemmed)

getStemmed

public String getStemmed()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

normalizeHashtag

public static String normalizeHashtag(String hashtag)


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.