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
 
Fields inherited from interface atg.repository.search.refinement.DisjunctionMultiValue
AND_OPERATION, OR_OPERATION
 
Constructor Summary
FacetDisjunctionMultiValue(atg.repository.search.refinement.Facet pFacet, java.lang.Object[] pValues, java.lang.String pSep, java.lang.String pValueSeparator, int pOperation)
          Constructs an instanceof FacetDisjunctionMultiValue
 
Method Summary
 int getOperation()
           
 java.lang.String getTrailString()
          Returns a String representation of the facet value intended for use in a URL trail parameter.
 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 setOperation(int operation)
           
 void setValues(java.lang.Object[] pValues)
           
 void setValueSeparator(java.lang.String pValueSeparator)
           
 
Methods inherited from class atg.repository.search.refinement.FacetValue
clone, equals, getDebug, getFacet, getMatchingDocsCount, getRefinementValue, getScore, getSeparator, hashCode, setFacet, setMatchingDocsCount, setRefinementValue, setScore, setSeparator, setValue, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

FacetDisjunctionMultiValue

public FacetDisjunctionMultiValue(atg.repository.search.refinement.Facet pFacet,
                                  java.lang.Object[] pValues,
                                  java.lang.String pSep,
                                  java.lang.String pValueSeparator,
                                  int pOperation)
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()

getOperation

public int getOperation()
Specified by:
getOperation in interface DisjunctionMultiValue

setOperation

public void setOperation(int operation)
Specified by:
setOperation in interface DisjunctionMultiValue

getValue

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

Overrides:
getValue in class FacetValue

getTrailString

public java.lang.String getTrailString()
Returns a String representation of the facet value intended for use in a URL trail parameter.

Overrides:
getTrailString 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