Package model.aggregations
Class AGGREGATE_Ger_Satellite
java.lang.Object
model.aggregations.AGGREGATE_Ger_Satellite
- All Implemented Interfaces:
IDescriptor
,IAggregate
public class AGGREGATE_Ger_Satellite extends java.lang.Object implements IAggregate
Aggregates all Satellites that have german channels implements
IAggregate
.-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
DESCRIPTION
private static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description AGGREGATE_Ger_Satellite()
-
Method Summary
Modifier and Type Method Description CompositeContainer
aggregate(java.util.ArrayList<Satellite> satellitesList)
Creates composite structure to store the aggregate.java.lang.String
getDescription()
Returns description of implemented module.java.lang.String
getName()
Returns decent name of class.private boolean
isGerman(Channel c)
Returns whether the channel is a german channel.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
NAME
private static final java.lang.String NAME- See Also:
- Constant Field Values
-
DESCRIPTION
private static final java.lang.String DESCRIPTION- See Also:
- Constant Field Values
-
-
Constructor Details
-
AGGREGATE_Ger_Satellite
public AGGREGATE_Ger_Satellite()
-
-
Method Details
-
aggregate
Description copied from interface:IAggregate
Creates composite structure to store the aggregate.- Specified by:
aggregate
in interfaceIAggregate
- Parameters:
satellitesList
- list of all Satellite objects- Returns:
- CompositeContainer Root composite container
-
isGerman
Returns whether the channel is a german channel.- Parameters:
c
- Channel object- Returns:
- whether the channel is a german channel or not
-
getName
public java.lang.String getName()Description copied from interface:IDescriptor
Returns decent name of class.- Specified by:
getName
in interfaceIDescriptor
- Returns:
- Decent name of class
-
getDescription
public java.lang.String getDescription()Description copied from interface:IDescriptor
Returns description of implemented module.- Specified by:
getDescription
in interfaceIDescriptor
- Returns:
- Description
-