org.rr0.im.service.function.classification
Interface Classifiable

All Known Subinterfaces:
Being, Birth, ChoiceQuestion, Clouds, Employment, Event, FreeTextQuestion, FriendshipRelationship, HumanBeing, InterviewSession, InvestigationAct, LiveWithRelationship, Occupation, Precipitations, Question, Relationship, Sighting, Temperature, TimeLine, UnidentifiedBeing, Wind, WorkWithRelationship

public interface Classifiable

Anything that can be classified in a Category.
A Classifiable object can be anything but must support manual function,
i.e. being forced to belong to a given Classification's Category.

Author:
Jérôme Beau
Version: 18 mai 2003 20:13:20

Method Summary
 CategorygetForcedCategory(Classification classification)
          Returns if this classifiable has been manually forced to classify in some specific Category.

Method Detail

getForcedCategory

public Category getForcedCategory(Classification classification)
Returns if this classifiable has been manually forced to classify in some specific Category.
This allows to handle "exceptions" in Classification's systems ("everything like f(x) and also Y and Z)").
Parameters:
classification Some Classification function.
Returns: The Category in which that Classifiable has been forced to be classified in for that Classification.
null if no Category has been forced for that Classifiable.
associates <{org.rr0.im.service.function.classification.Category}>
supplierRole forced category
supplierCardinality 0..1

Association Links

to Class org.rr0.im.service.function.classification.Category

Returns if this classifiable has been manually forced to classify in some specific Category.
This allows to handle "exceptions" in Classification's systems ("everything like f(x) and also Y and Z)").

Supplier Role forced category
Supplier Cardinality 0..1
associates <{org.rr0.im.service.function.classification.Category}>
return The Category in which that Classifiable has been forced to be classified in for that Classification.
null if no Category has been forced for that Classifiable.
param classification Some Classification function.