| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.repository.search.refinement.FacetValueNode
public class FacetValueNode
Represents a facet value in a hierarchical tree-like structure. Each facet value node can have child values. This is most likely to be used when representing the category hierarchy, when each category is a facet value of a global category facet and each category's child categories are child facet values of its facet value.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| protected  FacetValueNode[] | mChildFacetValues | 
| protected  FacetValue | mFacetValue | 
| protected  FacetHolder | mParentFacetHolder | 
| Constructor Summary | |
|---|---|
| FacetValueNode(FacetValue pFacetValue,
               FacetHolder pParentFacetHolder)Constructor | |
| FacetValueNode(FacetValue pFacetValue,
               FacetHolder pParentFacetHolder,
               FacetValueNode[] pChildFacetValues)Constructor. | |
| Method Summary | |
|---|---|
|  FacetValueNode[] | getChildFacetValues()Getter for the array of child facet values | 
|  FacetValue | getFacetValue()Getter for the facet value for this node | 
|  FacetHolder | getParentFacetHolder()Getter for the parent facet holder | 
|  void | setChildFacetValues(FacetValueNode[] pChildFacetValues)Setter for the array of child facet values | 
|  void | setFacetValue(FacetValue pFacetValue)Setter for the facet value for this node | 
|  void | setParentFacetHolder(FacetHolder pParentFacetHolder)Setter for the parent facet holder | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
protected FacetValue mFacetValue
protected FacetHolder mParentFacetHolder
protected FacetValueNode[] mChildFacetValues
| Constructor Detail | 
|---|
public FacetValueNode(FacetValue pFacetValue,
                      FacetHolder pParentFacetHolder)
pFacetValue - The facet value associated with this nodepParentFacetHolder - The parent facet holder that owns this child node value.
public FacetValueNode(FacetValue pFacetValue,
                      FacetHolder pParentFacetHolder,
                      FacetValueNode[] pChildFacetValues)
pFacetValue - The facet value associated with this nodepParentFacetHolder - The parent facet holder that owns this child node.pChildFacetValues - The list of child values for this facet value| Method Detail | 
|---|
public FacetValue getFacetValue()
public void setFacetValue(FacetValue pFacetValue)
pFacetValue - A FacetValue beanpublic FacetHolder getParentFacetHolder()
public void setParentFacetHolder(FacetHolder pParentFacetHolder)
pParentFacetHolder - The FacetHolder bean that represents the parent of this nodepublic FacetValueNode[] getChildFacetValues()
public void setChildFacetValues(FacetValueNode[] pChildFacetValues)
pChildFacetValues - An array of FacetValueNode instances.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||