info.aduna.gee.spectacle.gee
Class AbstractByEntityClassifier

java.lang.Object
  extended by info.aduna.gee.spectacle.gee.AbstractByEntityClassifier
All Implemented Interfaces:
Classifier
Direct Known Subclasses:
AbstractFacetClassifier

public abstract class AbstractByEntityClassifier
extends Object
implements Classifier

Partial implementation of a Classifier that classifies by entity.


Field Summary
 
Fields inherited from interface info.aduna.gee.spectacle.gee.Classifier
BY_CLASSIFICATION, BY_ENTITY
 
Constructor Summary
AbstractByEntityClassifier()
           
 
Method Summary
 Object getAccessMethod()
           
 Set<Object> getClassifications(int level)
          Implements the non-used, but required part of the Classifier interface.
 Set<Object> getEntityIDs(Object classification, int level)
          Implements the non-used, but required part of the Classifier interface.
 
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
getClassifications, getDepth
 

Constructor Detail

AbstractByEntityClassifier

public AbstractByEntityClassifier()
Method Detail

getAccessMethod

public Object getAccessMethod()
Specified by:
getAccessMethod in interface Classifier
Returns:
BY_ENTITY

getClassifications

public Set<Object> getClassifications(int level)
Implements the non-used, but required part of the Classifier interface.

Specified by:
getClassifications in interface Classifier
Parameters:
level - the level (0 based)
Returns:
a set of Classifications only used for BY_CLASSIFICATION

getEntityIDs

public Set<Object> getEntityIDs(Object classification,
                                int level)
Implements the non-used, but required part of the Classifier interface.

Specified by:
getEntityIDs in interface Classifier
Parameters:
classification - the classification
level - the level of the classification (0 based)
Returns:
a set of Object Entity ids only used for BY_CLASSIFICATION


Copyright © 1997-2008 Aduna. All Rights Reserved.