info.aduna.model.enterprise.desktop.loader
Class SourceClassifier

java.lang.Object
  extended by info.aduna.gee.spectacle.gee.AbstractByEntityClassifier
      extended by info.aduna.gee.spectacle.AbstractFacetClassifier
          extended by info.aduna.model.enterprise.desktop.loader.SourceClassifier
All Implemented Interfaces:
FacetClassifier, Classifier

public final class SourceClassifier
extends AbstractFacetClassifier

Classifies entities by one of their fields.


Field Summary
 
Fields inherited from interface info.aduna.gee.spectacle.gee.Classifier
BY_CLASSIFICATION, BY_ENTITY
 
Constructor Summary
SourceClassifier()
           
 
Method Summary
 List<Set<Object>> getClassifications(Object entityID)
           
 int getDepth()
          Should be overridden by subclasses when needed.
 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
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

SourceClassifier

public SourceClassifier()
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

getDepth

public int getDepth()
Description copied from class: AbstractFacetClassifier
Should be overridden by subclasses when needed. 99% of all classifiers have a 1 depth.

Specified by:
getDepth in interface Classifier
Overrides:
getDepth in class AbstractFacetClassifier
Returns:
the depth


Copyright © 1997-2008 Aduna. All Rights Reserved.