org.ow2.weblab.portlet.bean
Class FacetValueBean

java.lang.Object
  extended by org.ow2.weblab.portlet.bean.FacetValueBean
Direct Known Subclasses:
SelectedFacetValueBean

public class FacetValueBean
extends java.lang.Object


Field Summary
protected  int count
           
protected  java.lang.String filterQuery
           
protected  java.lang.String label
           
 
Constructor Summary
FacetValueBean()
           
FacetValueBean(java.lang.String label, int count, java.lang.String filterQuery)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getCount()
           
 java.lang.String getFilterQuery()
           
 java.lang.String getLabel()
           
 int hashCode()
           
 void setCount(int count)
           
 void setFilterQuery(java.lang.String filterQuery)
           
 void setLabel(java.lang.String label)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

label

protected java.lang.String label

count

protected int count

filterQuery

protected java.lang.String filterQuery
Constructor Detail

FacetValueBean

public FacetValueBean()

FacetValueBean

public FacetValueBean(java.lang.String label,
                      int count,
                      java.lang.String filterQuery)
Method Detail

getLabel

public java.lang.String getLabel()
Returns:
the label

setLabel

public void setLabel(java.lang.String label)
Parameters:
label - the label to set

getCount

public int getCount()
Returns:
the count

setCount

public void setCount(int count)
Parameters:
count - the count to set

getFilterQuery

public java.lang.String getFilterQuery()
Returns:
the filterQuery

setFilterQuery

public void setFilterQuery(java.lang.String filterQuery)
Parameters:
filterQuery - the filterQuery to set

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2011. All Rights Reserved.