info.aduna.model.enterprise.desktop.loader
Class MimeTypeClassifier
java.lang.Object
info.aduna.gee.spectacle.gee.AbstractByEntityClassifier
info.aduna.gee.spectacle.AbstractFacetClassifier
info.aduna.model.enterprise.desktop.loader.MimeTypeClassifier
- All Implemented Interfaces:
- FacetClassifier, Classifier
public final class MimeTypeClassifier
- extends AbstractFacetClassifier
Classifies entities by one of their fields.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimeTypeClassifier
public MimeTypeClassifier()
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.