atg.repository.search.refinement
Class FacetDisjunctionMultiValue

java.lang.Object
  extended by atg.repository.search.refinement.FacetValue
      extended by atg.repository.search.refinement.FacetDisjunctionMultiValue
All Implemented Interfaces:
DisjunctionMultiValue, java.lang.Cloneable

public class FacetDisjunctionMultiValue
extends FacetValue
implements DisjunctionMultiValue


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class atg.repository.search.refinement.FacetValue
DEFAULT_IDVALUE_SEPARATOR, mFacet, mMatchingDocsCount, mRefinementValue, mScore, mSeparator, mValue
 
Constructor Summary
FacetDisjunctionMultiValue(Facet pFacet, java.lang.Object[] pValues, java.lang.String pSep, java.lang.String pValueSeparator)
          Constructs an instanceof FacetDisjunctionMultiValue
 
Method Summary
 java.lang.Object getValue()
          get all the values for this facet
 java.lang.Object[] getValues()
           
 java.lang.String getValueSeparator()
           
 boolean removeValue(java.lang.Object pObj)
          Remove the pObj value from the object's values property
 void setValues(java.lang.Object[] pValues)
           
 void setValueSeparator(java.lang.String pValueSeparator)
           
 java.lang.String toString()
          to string
 
Methods inherited from class atg.repository.search.refinement.FacetValue
clone, equals, getDebug, getFacet, getMatchingDocsCount, getRefinementValue, getScore, getSeparator, getTrailString, hashCode, setFacet, setMatchingDocsCount, setRefinementValue, setScore, setSeparator, setValue
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

FacetDisjunctionMultiValue

public FacetDisjunctionMultiValue(Facet pFacet,
                                  java.lang.Object[] pValues,
                                  java.lang.String pSep,
                                  java.lang.String pValueSeparator)
Constructs an instanceof FacetDisjunctionMultiValue

Method Detail

setValues

public void setValues(java.lang.Object[] pValues)
Specified by:
setValues in interface DisjunctionMultiValue

getValues

public java.lang.Object[] getValues()
Specified by:
getValues in interface DisjunctionMultiValue

setValueSeparator

public void setValueSeparator(java.lang.String pValueSeparator)

getValueSeparator

public java.lang.String getValueSeparator()

getValue

public java.lang.Object getValue()
get all the values for this facet

Overrides:
getValue in class FacetValue

toString

public java.lang.String toString()
to string

Overrides:
toString in class FacetValue
Returns:
A String of the format ""

removeValue

public boolean removeValue(java.lang.Object pObj)
Description copied from interface: DisjunctionMultiValue
Remove the pObj value from the object's values property

Specified by:
removeValue in interface DisjunctionMultiValue
Returns:
if pObj successfully removed otherwise