de.nava.informa.impl.basic
Class ChannelGroup
java.lang.Object
de.nava.informa.impl.basic.ChannelGroup
- All Implemented Interfaces:
- ChannelGroupIF, WithChildrenMIF, WithIdMIF, WithTitleMIF, Serializable
- Direct Known Subclasses:
- ChannelGroup
public class ChannelGroup
- extends Object
- implements ChannelGroupIF
In-Memory implementation of the ChannelGroupIF interface.
- Author:
- Niko Schmuck (niko@nava.de)
- See Also:
- Serialized Form
ChannelGroup
public ChannelGroup()
ChannelGroup
public ChannelGroup(String title)
ChannelGroup
public ChannelGroup(long id,
String title)
ChannelGroup
public ChannelGroup(long id,
ChannelGroupIF parent,
String title)
getId
public long getId()
- Specified by:
getId
in interface WithIdMIF
- Returns:
- identifier of the object.
setId
public void setId(long id)
- Specified by:
setId
in interface WithIdMIF
- Parameters:
id
- the identifier of the object to be set.
getTitle
public String getTitle()
- Specified by:
getTitle
in interface WithTitleMIF
- Returns:
- the title of the object
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interface WithTitleMIF
- Parameters:
title
- the title of the object to be set
add
public void add(ChannelIF channel)
- Specified by:
add
in interface ChannelGroupIF
remove
public void remove(ChannelIF channel)
- Specified by:
remove
in interface ChannelGroupIF
getAll
public Collection<ChannelIF> getAll()
- Specified by:
getAll
in interface ChannelGroupIF
- Returns:
- A collection of ChannelIF objects.
getById
public ChannelIF getById(long id)
- Specified by:
getById
in interface ChannelGroupIF
getParent
public ChannelGroupIF getParent()
- Specified by:
getParent
in interface ChannelGroupIF
setParent
public void setParent(ChannelGroupIF parent)
- Specified by:
setParent
in interface ChannelGroupIF
getChildren
public Collection getChildren()
- Specified by:
getChildren
in interface WithChildrenMIF
- Returns:
- the collection of children of the object
addChild
public void addChild(ChannelGroupIF child)
- Specified by:
addChild
in interface ChannelGroupIF
removeChild
public void removeChild(ChannelGroupIF child)
- Specified by:
removeChild
in interface ChannelGroupIF
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.