| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.repository.search.refinement.FacetHolder
public class FacetHolder
This class holds a single facet and the facet values that are associated with it. This can be used when rendering a facet trail and when rendering the facet values where you wish to group the associated values with the facet.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| protected  FacetValueNode[] | mAllFacetValueNodes | 
| protected  atg.repository.search.refinement.Facet | mFacet | 
| protected  java.util.ArrayList | mFacetValueNodes | 
| Constructor Summary | |
|---|---|
| FacetHolder(atg.repository.search.refinement.Facet pFacet)Constructor. | |
| FacetHolder(atg.repository.search.refinement.Facet pFacet,
            FacetValueNode[] pFacetValues)Constructor. | |
| Method Summary | |
|---|---|
|  void | addFacetValueNode(FacetValueNode pFacetValueNode) | 
|  FacetValueNode[] | getAllFacetValueNodes() | 
|  atg.repository.search.refinement.Facet | getFacet()Getter for the facet associated with this node | 
|  FacetValueNode[] | getFacetValueNodes()Getter for the array of facet values associated with this facet | 
|  void | removeFacetValueNode(FacetValueNode pFacetValueNode) | 
|  void | setAllFacetValueNodes(FacetValueNode[] pAllFacetValueNodes) | 
|  void | setFacet(atg.repository.search.refinement.Facet pFacet)Setter for the facet associated with this node | 
|  void | setFacetValueNodes(FacetValueNode[] pFacetValueNodes)Setter for the array of facet values associated with this facet | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
protected atg.repository.search.refinement.Facet mFacet
protected java.util.ArrayList mFacetValueNodes
protected FacetValueNode[] mAllFacetValueNodes
| Constructor Detail | 
|---|
public FacetHolder(atg.repository.search.refinement.Facet pFacet)
pFacet - Facet for this instance.
public FacetHolder(atg.repository.search.refinement.Facet pFacet,
                   FacetValueNode[] pFacetValues)
pFacet - Facet for this class.pFacetValues - Array of facet value nodes for this instance.| Method Detail | 
|---|
public atg.repository.search.refinement.Facet getFacet()
public void setFacet(atg.repository.search.refinement.Facet pFacet)
pFacet - The Facet object for this facet node.public FacetValueNode[] getFacetValueNodes()
public void setFacetValueNodes(FacetValueNode[] pFacetValueNodes)
public void addFacetValueNode(FacetValueNode pFacetValueNode)
public void removeFacetValueNode(FacetValueNode pFacetValueNode)
public FacetValueNode[] getAllFacetValueNodes()
public void setAllFacetValueNodes(FacetValueNode[] pAllFacetValueNodes)
public java.lang.String toString()
toString in class java.lang.Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||