info.aduna.spectacle
Class DefaultClassifier

java.lang.Object
  extended by info.aduna.gee.spectacle.gee.AbstractByEntityClassifier
      extended by info.aduna.gee.spectacle.AbstractFacetClassifier
          extended by info.aduna.spectacle.DefaultClassifier
All Implemented Interfaces:
FacetClassifier, Classifier

public class DefaultClassifier
extends AbstractFacetClassifier


Field Summary
 
Fields inherited from interface info.aduna.gee.spectacle.gee.Classifier
BY_CLASSIFICATION, BY_ENTITY
 
Constructor Summary
DefaultClassifier(String key)
           
 
Method Summary
 List<Set<Object>> getClassifications(Object entityID)
           
 String getFacetName()
          Should return the facet name for which this classifier handles the classification; this is usually the actual name shown on screen.
 
Methods inherited from class info.aduna.gee.spectacle.AbstractFacetClassifier
getDepth, getEntities, getEntity, getInternalFacetName, init
 
Methods inherited from class info.aduna.gee.spectacle.gee.AbstractByEntityClassifier
getAccessMethod, getClassifications, getEntityIDs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.aduna.gee.spectacle.gee.Classifier
getAccessMethod, getClassifications, getEntityIDs
 

Constructor Detail

DefaultClassifier

public DefaultClassifier(String key)
Method Detail

getFacetName

public String getFacetName()
Description copied from interface: FacetClassifier
Should return the facet name for which this classifier handles the classification; this is usually the actual name shown on screen.


getClassifications

public List<Set<Object>> getClassifications(Object entityID)
Parameters:
entityID - a unique identifier of an Entity
Returns:
a List of sets of Classifications only used for BY_ENTITY


Copyright © 1997-2008 Aduna. All Rights Reserved.