public class RRA extends AbstractRRA
Constructor and Description |
---|
RRA() |
Modifier and Type | Method and Description |
---|---|
protected AbstractRRA |
createSingleRRA(int dsIndex)
Creates a RRA with a single data source.
|
boolean |
formatEquals(RRA rra)
Format equals.
|
boolean |
formatMergeable(AbstractRRA sourceRra)
Format mergeable.
|
CFType |
getConsolidationFunction()
Gets the consolidation function.
|
List<RRADS> |
getDataSources()
Gets the data sources.
|
Parameters |
getParameters()
Gets the parameters.
|
boolean |
hasAverageAsCF()
Checks for average as consolidation function.
|
void |
setConsolidationFunction(CFType consolidationFunction)
Sets the consolidation function.
|
void |
setConsolidationFunction(String consolidationFunction)
Sets the consolidation function.
|
void |
setDataSources(List<RRADS> dataSources)
Sets the data sources.
|
void |
setParameters(Parameters parameters)
Sets the parameters.
|
formatEquals, getPdpPerRow, getRows, setPdpPerRow, setRows
public CFType getConsolidationFunction()
public void setConsolidationFunction(CFType consolidationFunction)
consolidationFunction
- the new consolidation functionpublic void setConsolidationFunction(String consolidationFunction)
consolidationFunction
- the new consolidation functionpublic Parameters getParameters()
public void setParameters(Parameters parameters)
parameters
- the new parameterspublic void setDataSources(List<RRADS> dataSources)
dataSources
- the new data sourcespublic boolean formatEquals(RRA rra)
rra
- the RRA objectprotected AbstractRRA createSingleRRA(int dsIndex) throws IllegalArgumentException
AbstractRRA
createSingleRRA
in class AbstractRRA
dsIndex
- the RRA-DS indexIllegalArgumentException
- the illegal argument exceptionpublic boolean formatMergeable(AbstractRRA sourceRra)
AbstractRRA
Two RRA can be merged if and only if the Consolidation Function and the PDP per row are the same.
The amount of rows is not strict for a merge operation.
formatMergeable
in class AbstractRRA
sourceRra
- the source RRA objectpublic boolean hasAverageAsCF()
AbstractRRA
hasAverageAsCF
in class AbstractRRA
Copyright © 2021. All rights reserved.