com.endeca.navigation
Class DimSearchRefinementConfig
java.lang.Object
com.endeca.navigation.RefinementConfigBase
com.endeca.navigation.DimSearchRefinementConfig
public class DimSearchRefinementConfig
- extends RefinementConfigBase
Class representing a refinement config for dimension search for a dimension
value. The only option available in this class is the ability to turn
counts on or off
Constructor Summary |
DimSearchRefinementConfig(long dimValId)
Default constructor where the dimValId sets the dimension
value this dimension search refinement config is associated with. |
DimSearchRefinementConfig
public DimSearchRefinementConfig(long dimValId)
- Default constructor where the
dimValId
sets the dimension
value this dimension search refinement config is associated with.
- Parameters:
dimValId
- Specifies what dimension value this dimension search refinement config
is associated with.
setNumResults
public void setNumResults(OptionalInt numResults_)
- Sets the maximum number of results to return for the dimension.
- Parameters:
numResults_
- An OptionalInt
that specifies
the maximum number of results to return for the dimension.
If the OptionalInt
is empty, then, by default,
all results are returned.
getNumResults
public OptionalInt getNumResults()
- Gets the maximum number of results to return for the dimension.
- Returns:
- An
OptionalInt
that specifies the maximum number
of results to return for the dimension.
If the OptionalInt
is empty, then, by default,
all results are returned.
toString
public String toString()
- Returns the string representation of the dimension search refinement config.
- Overrides:
toString
in class RefinementConfigBase
- Returns:
- The string representation of the dimension search refinement config.
© 2003, 2012 Oracle and/or its affiliates. All rights reserved.
Oracle and/or its affiliates Confidential