|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.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_VERSION
Class version string |
protected FacetValueNode[] |
mAllFacetValueNodes
|
protected Facet |
mFacet
|
protected java.util.ArrayList |
mFacetValueNodes
|
Constructor Summary | |
---|---|
FacetHolder(Facet pFacet)
Constructor. |
|
FacetHolder(Facet pFacet,
FacetValueNode[] pFacetValues)
Constructor. |
Method Summary | |
---|---|
void |
addFacetValueNode(FacetValueNode pFacetValueNode)
|
FacetValueNode[] |
getAllFacetValueNodes()
|
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(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 Facet mFacet
protected java.util.ArrayList mFacetValueNodes
protected FacetValueNode[] mAllFacetValueNodes
Constructor Detail |
---|
public FacetHolder(Facet pFacet)
pFacet
- Facet for this instance.public FacetHolder(Facet pFacet, FacetValueNode[] pFacetValues)
pFacet
- Facet for this class.pFacetValues
- Array of facet value nodes for this instance.Method Detail |
---|
public Facet getFacet()
public void setFacet(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 |