atg.repository.search.refinement
Class RangeFacetDisjunctionMultiValue

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

public class RangeFacetDisjunctionMultiValue
extends RangeFacetValue
implements DisjunctionMultiValue


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class atg.repository.search.refinement.RangeFacetValue
DEFAULT_LAST_INDICATOR, DEFAULT_RANGE_SEPARATOR, DEFAULT_VALUEINDICATOR_SEPARATOR, mIndicatorSeparator, mLastIndicator, mLastRangeValue
 
Fields inherited from class atg.repository.search.refinement.FacetValue
DEFAULT_IDVALUE_SEPARATOR, mFacet, mMatchingDocsCount, mRefinementValue, mScore, mSeparator, mValue
 
Constructor Summary
RangeFacetDisjunctionMultiValue(Facet pFacet, java.lang.Object[] pValues, java.lang.String pSep, boolean pIsLastRangeValue, java.lang.String pLastIndicator, java.lang.String pIndicatorSeparator, java.lang.String pValueSeparator)
          Constructs an instanceof RangeFacetDisjunctionMultiValue
 
Method Summary
 java.lang.Object getValue()
          get the first value in the array
 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.RangeFacetValue
clone, getIndicatorSeparator, getLastIndicator, getRangeEnd, getRangeStart, getTrailString, isLastRangeValue, setIndicatorSeparator, setLastIndicator, setLastRangeValue
 
Methods inherited from class atg.repository.search.refinement.FacetValue
equals, getDebug, getFacet, getMatchingDocsCount, getRefinementValue, getScore, getSeparator, 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

RangeFacetDisjunctionMultiValue

public RangeFacetDisjunctionMultiValue(Facet pFacet,
                                       java.lang.Object[] pValues,
                                       java.lang.String pSep,
                                       boolean pIsLastRangeValue,
                                       java.lang.String pLastIndicator,
                                       java.lang.String pIndicatorSeparator,
                                       java.lang.String pValueSeparator)
Constructs an instanceof RangeFacetDisjunctionMultiValue

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 the first value in the array

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