de.nava.informa.core
Interface WithCategoriesMIF

All Known Subinterfaces:
ChannelIF, ItemIF
All Known Implementing Classes:
Channel, Channel, Channel, Item, Item, Item

public interface WithCategoriesMIF

Meta-, or markerinterface, specifying objects, having categories collection behind.

Version:
$Id: WithCategoriesMIF.java,v 1.4 2006/12/04 23:40:02 italobb Exp $
Author:
Alexei Matiouchkine

Method Summary
 void addCategory(CategoryIF category)
           
 Collection getCategories()
          Gets the assigned category objects for this channel.
 void removeCategory(CategoryIF category)
           
 void setCategories(Collection<CategoryIF> categories)
           
 

Method Detail

getCategories

Collection getCategories()
Gets the assigned category objects for this channel.

Returns:
A collection of CategoryIF objects, in the case of no assigned categories an empty collection is returned..

setCategories

void setCategories(Collection<CategoryIF> categories)

addCategory

void addCategory(CategoryIF category)

removeCategory

void removeCategory(CategoryIF category)


Copyright © 2002-2007 Niko Schmuck. All Rights Reserved.