public abstract class AbstractFlowMeasuredAtInterface
extends java.lang.Object
EnergyCarrier,
the domain, the domain model (extended AbstractDomainModel) and an EnergyFlowMeasured of GoodFlowMeasured.
It is used in the class FlowsMeasuredGroupMember as a description of the flow (energy or good)
of single system (one node of the GroupTree) at a single TechnicalInterface.| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractFlowMeasuredAtInterface.FlowType |
| Constructor and Description |
|---|
AbstractFlowMeasuredAtInterface() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addNewPointInTimeToMeasurements(int newIndex,
long newPointInTime)
Adds a new point in time to the current measurements.
|
java.lang.String |
getDomain()
Gets the domain.
|
AbstractDomainModel |
getDomainModel()
Gets the domain model.
|
AbstractFlowMeasuredAtInterface.FlowType |
getFlowType()
Gets the flow type.
|
java.lang.String |
getInterfaceID()
Gets the interface id.
|
abstract int |
getMeasurementCount()
Return the number of the measurements..
|
java.util.ArrayList<? extends AbstractMeasurement> |
getMeasurements()
Returns the current list of measurements that are either a list
EnergyMeasurements or GoodMeasurements. |
abstract int |
getNewIndexPositionForPointInTime(int searchStartIndex,
long newTimeToAdd)
Returns a new index position for the specified point in time.
|
abstract java.util.Vector<java.lang.Long> |
getTimeVector()
Returns the vector of time stamps from the measurements.
|
void |
setDomain(java.lang.String domain)
Sets the domain.
|
void |
setDomainModel(AbstractDomainModel domainModel)
Sets the domain model.
|
protected void |
setFlowType(AbstractFlowMeasuredAtInterface.FlowType flowType)
Sets the flow type.
|
void |
setInterfaceID(java.lang.String interfaceID)
Sets the interface id.
|
public AbstractFlowMeasuredAtInterface.FlowType getFlowType()
protected void setFlowType(AbstractFlowMeasuredAtInterface.FlowType flowType)
flowType - the new flow typepublic java.lang.String getInterfaceID()
public void setInterfaceID(java.lang.String interfaceID)
interfaceID - the new interface idpublic java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain - the new domainpublic AbstractDomainModel getDomainModel()
public void setDomainModel(AbstractDomainModel domainModel)
domainModel - the new domain modelpublic java.util.ArrayList<? extends AbstractMeasurement> getMeasurements()
EnergyMeasurements or GoodMeasurements.public abstract int getMeasurementCount()
public abstract java.util.Vector<java.lang.Long> getTimeVector()
public abstract int getNewIndexPositionForPointInTime(int searchStartIndex,
long newTimeToAdd)
searchStartIndex - the index where to start the searchnewTimeToAdd - the new time to addpublic abstract void addNewPointInTimeToMeasurements(int newIndex,
long newPointInTime)
newIndex - the new indexnewPointInTime - the new Point in time