com.endeca.navigation
Class StratifiedDimVal

java.lang.Object
  extended by com.endeca.navigation.StratifiedDimVal

public class StratifiedDimVal
extends Object

Class representing the assignment of a dimension value to a specific stratum for sorting. Dimension values are sorted by their assigned strata and then by whatever the refinement sorting method for the dimension is (via static ranking, dynamic ranking, dynamic refinement configs, etc). Dimension values not explicitly assigned a strata are assigned the strata 0.


Constructor Summary
StratifiedDimVal(int stratum_, long dimValId_)
          Constructor used to assign a dim val to a strata.
 
Method Summary
 long getDimValId()
          Gets the dimension value ID.
 int getStratum()
          Gets the stratum for this dim val.
 void setDimValId(long dimValId_)
          Sets the dim val for this stratified dim val.
 void setStratum(int stratum_)
          Sets the stratum for this dim val.
 String toString()
          Returns the string representation of the stratified dim val
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StratifiedDimVal

public StratifiedDimVal(int stratum_,
                        long dimValId_)
Constructor used to assign a dim val to a strata.

Parameters:
stratum_ - Specified the stratum for this dim val
dimValId_ - Specifies the dim val
Method Detail

setDimValId

public void setDimValId(long dimValId_)
Sets the dim val for this stratified dim val.

Parameters:
dimValId_ - the dim val

getDimValId

public long getDimValId()
Gets the dimension value ID. long.

Returns:
ID of the dimension value.

setStratum

public void setStratum(int stratum_)
Sets the stratum for this dim val.

Parameters:
stratum_ - Specified stratum for this dim val

getStratum

public int getStratum()
Gets the stratum for this dim val.

Returns:
stratum of the dim val.

toString

public String toString()
Returns the string representation of the stratified dim val

Overrides:
toString in class Object
Returns:
The string representation of the stratified dim val.


2010 Endeca Technologies, Inc.
Endeca Confidential