public abstract class ComponentGroup extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Set<Component> |
components |
| Constructor and Description |
|---|
ComponentGroup()
Creates a component group.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addComponent(Component component)
Adds a component to this group.
|
Component[] |
getComponents()
Gets an array of all compoments in this group.
|
String |
getName()
Gets the group's name.
|
boolean |
removeComponent(Component component)
Removes a component from this group.
|
void |
setName(String name)
Sets the group's name.
|
public String getName()
public void setName(String name)
name - the namepublic Component[] getComponents()
public boolean addComponent(Component component)
component - the component to addpublic boolean removeComponent(Component component)
component - the component to removeTentackle - a domain driven enterprise framework