| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A set of criteria that a Classifiable element may match or not.
| Field Summary | |
private CategoryDAO | categoryDAOData Access Object for Category-related data. |
private Classification | classificationThe Classification system this category belongs to. |
private String | filterThe set of criteria a Classifiable must match to belong to this category, expressed in JDO QL format. |
private String | nameThe name of the category |
| Constructor Summary | |
CategoryImpl(Classification someClassification, String someName, String someFilter) | |
| Method Summary | |
boolean | accept(Classifiable someClassifiable)Check if an object is classified in this Category. |
boolean | equals(Object o)Category equality is exclusively based on filter expression to prevent adding two identical categories to the same function. |
String | getName() |
int | hashCode() |
| Field Detail |
private CategoryDAO categoryDAO
private Classification classification
private String filter
private String name
| Constructor Detail |
public CategoryImpl(Classification someClassification, String someName, String someFilter)
| Method Detail |
public boolean accept(Classifiable someClassifiable)
public boolean equals(Object o)
public String getName()
public int hashCode()
| Association Links |
to Class java.lang.String
to Class org.rr0.im.service.function.classification.Classification
to Class org.rr0.im.integration.CategoryDAO
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||