public class CategoryAssociationsContainer extends Object implements Iterable<CategoryPath>
CategoryAssociation per CategoryPath.| Constructor and Description |
|---|
CategoryAssociationsContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears all category associations.
|
CategoryAssociation |
getAssociation(CategoryPath category)
|
Iterator<CategoryPath> |
iterator() |
void |
setAssociation(CategoryPath category,
CategoryAssociation association)
Adds the
CategoryAssociation for the given category. |
String |
toString() |
public void setAssociation(CategoryPath category, CategoryAssociation association)
CategoryAssociation for the given category. Overrides any assocation that was previously set. It is ok to
pass null, in which case the category will be treated as a regular
one (i.e. without association value).public CategoryAssociation getAssociation(CategoryPath category)
public Iterator<CategoryPath> iterator()
iterator in interface Iterable<CategoryPath>public void clear()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.