org.ow2.weblab.portlet.bean
Class FacetBean

java.lang.Object
  extended by org.ow2.weblab.portlet.bean.FacetBean

public class FacetBean
extends java.lang.Object


Field Summary
protected  java.lang.String label
           
protected  int position
           
protected  java.util.List<FacetValueBean> values
           
 
Constructor Summary
FacetBean()
           
FacetBean(java.lang.String label, java.util.List<FacetValueBean> values)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLabel()
           
 int getPosition()
           
 java.util.List<FacetValueBean> getValues()
           
 int hashCode()
           
 void setLabel(java.lang.String label)
           
 void setPosition(int position)
           
 void setValues(java.util.List<FacetValueBean> values)
           
 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

position

protected int position

values

protected java.util.List<FacetValueBean> values
Constructor Detail

FacetBean

public FacetBean()

FacetBean

public FacetBean(java.lang.String label,
                 java.util.List<FacetValueBean> values)
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

getPosition

public int getPosition()
Returns:
the position

setPosition

public void setPosition(int position)
Parameters:
position - the position to set

getValues

public java.util.List<FacetValueBean> getValues()
Returns:
the values

setValues

public void setValues(java.util.List<FacetValueBean> values)
Parameters:
values - the values 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.