Package model.aggregations
Class AGGREGATE_Radio_Channels
java.lang.Object
model.aggregations.AGGREGATE_Radio_Channels
- All Implemented Interfaces:
IDescriptor,IAggregate
public class AGGREGATE_Radio_Channels extends java.lang.Object implements IAggregate
Aggregates all Satellites with radio channels implements
IAggregate.-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringDESCRIPTIONprivate static java.lang.StringNAME -
Constructor Summary
Constructors Constructor Description AGGREGATE_Radio_Channels() -
Method Summary
Modifier and Type Method Description CompositeContaineraggregate(java.util.ArrayList<Satellite> satellitesList)Creates composite structure to store the aggregate.java.lang.StringgetDescription()Returns description of implemented module.java.lang.StringgetName()Returns decent name of class.private booleanisRadio(Channel c)Returns whether the channel is a radio 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_Radio_Channels
public AGGREGATE_Radio_Channels()
-
-
Method Details
-
aggregate
Description copied from interface:IAggregateCreates composite structure to store the aggregate.- Specified by:
aggregatein interfaceIAggregate- Parameters:
satellitesList- list of all Satellite objects- Returns:
- CompositeContainer Root composite container
-
isRadio
Returns whether the channel is a radio channel.- Parameters:
c- Channel object- Returns:
- whether the channel is a radio channel or not
-
getName
public java.lang.String getName()Description copied from interface:IDescriptorReturns decent name of class.- Specified by:
getNamein interfaceIDescriptor- Returns:
- Decent name of class
-
getDescription
public java.lang.String getDescription()Description copied from interface:IDescriptorReturns description of implemented module.- Specified by:
getDescriptionin interfaceIDescriptor- Returns:
- Description
-