info.aduna.gee.spectacle.gee
Class ContentNavigationStep

java.lang.Object
  extended by info.aduna.gee.spectacle.gee.NavigationStep
      extended by info.aduna.gee.spectacle.gee.ContentNavigationStep

public class ContentNavigationStep
extends NavigationStep

A ContentNavigationStep corresponds to an option for a user to enforce a classification restriction to the current set.

For example, in a set of travel destinations to different countries, the ContentNavigationStep for the classification "Belgium" represents an option for the user to restrict the current set of destinations to only those in Belgium.

The ContentNavigationStep does not use the original classification (e.g. the String "Belgium") to which it corresponds, but instead it uses a "label". A label is just the generic, unique, opaque representation of a classification.


Field Summary
 
Fields inherited from class info.aduna.gee.spectacle.gee.NavigationStep
_minimumStepSelection, _name
 
Constructor Summary
ContentNavigationStep()
          For serialization only.
ContentNavigationStep(EntityContext context, String label)
          Create a ContentNavigationStep with no minimum step selection.
ContentNavigationStep(EntityContext context, String label, double minimumStepSelection)
          Create a ContentNavigationStep.
 
Method Summary
 boolean equals(Object other)
           
 String getLabel()
           
 int hashCode()
           
 
Methods inherited from class info.aduna.gee.spectacle.gee.NavigationStep
getMinimumStepSelection, getName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentNavigationStep

public ContentNavigationStep()
For serialization only.


ContentNavigationStep

public ContentNavigationStep(EntityContext context,
                             String label)
Create a ContentNavigationStep with no minimum step selection.

See Also:
ContentNavigationStep(info.aduna.gee.spectacle.gee.EntityContext, java.lang.String, double)

ContentNavigationStep

public ContentNavigationStep(EntityContext context,
                             String label,
                             double minimumStepSelection)
Create a ContentNavigationStep.

Parameters:
context - the Entity Context, which is used to determine the symbolic value of the label
label - the label applied for this step
minimumStepSelection - don't generate the step if it does not remove at least this fraction of the entities
Method Detail

getLabel

public String getLabel()
Returns:
the label

equals

public boolean equals(Object other)
Specified by:
equals in class NavigationStep

hashCode

public int hashCode()
Specified by:
hashCode in class NavigationStep


Copyright © 1997-2008 Aduna. All Rights Reserved.