lumis.service.socialnetworkservices.microblog.entity
Class HashOccurrence

Package class diagram package HashOccurrence
java.lang.Object
  extended by lumis.service.socialnetworkservices.microblog.entity.HashOccurrence

public class HashOccurrence
extends Object

Util class used to return Hash occurrences for Hash Trends service.

Since:
6.1.0

Field Summary
static Integer DEFAULT_MAX_HASH_OCCURRENCES
          Field describing the default value of maximum number of hash trends desired to display, if the custom property has not been given a value yet.
 
Constructor Summary
HashOccurrence(String hashtag, int occurrences)
          Class constructor
 
Method Summary
 String getHashtag()
          Returns the hashtag value
 int getOccurrences()
          Returns the number of occurrences of a given hashtag value
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_MAX_HASH_OCCURRENCES

public static final Integer DEFAULT_MAX_HASH_OCCURRENCES
Field describing the default value of maximum number of hash trends desired to display, if the custom property has not been given a value yet.

Since:
6.1.0
Constructor Detail

HashOccurrence

public HashOccurrence(String hashtag,
                      int occurrences)
Class constructor

Parameters:
hashtag - the hashtag
occurrences - the ocurrences
Since:
6.1.0
Method Detail

getHashtag

public String getHashtag()
Returns the hashtag value

Returns:
Since:
6.1.0

getOccurrences

public int getOccurrences()
Returns the number of occurrences of a given hashtag value

Parameters:
hashtag -
Since:
6.1.0

toString

public String toString()
Overrides:
toString in class Object


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