org.eclipse.ohf.stem.definitions.labels
Interface TransportRelationshipLabelValue

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LabelValue, org.eclipse.emf.common.notify.Notifier, SanityChecker
All Known Implementing Classes:
TransportRelationshipLabelValueImpl

public interface TransportRelationshipLabelValue
extends LabelValue

The value of a transportation relationship label is the current available capacity expressed as a proportion of the maximum capacity of the transportation mode/identifier. Typically, this value will be 1.0 (100%), but it could be reduced by travel restrictions.

See Also:
TransportRelationshipLabel.getMaximumCapacity()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 double getAvailableDepartureCapacityProportion()
           
 void setAvailableDepartureCapacityProportion(double value)
          Sets the value of the 'Available Departure Capacity Proportion' attribute.
 
Methods inherited from interface org.eclipse.ohf.stem.core.graph.LabelValue
reset
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.ohf.stem.core.common.SanityChecker
sane
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getAvailableDepartureCapacityProportion

double getAvailableDepartureCapacityProportion()
Returns:
the proportion (i.e., 0.0-1.0) of the departure transportation capacity that is available.
See Also:
TransportRelationshipLabel.getDepartureCapacity()

setAvailableDepartureCapacityProportion

void setAvailableDepartureCapacityProportion(double value)
Sets the value of the 'Available Departure Capacity Proportion' attribute.

Parameters:
value - the new value of the 'Available Departure Capacity Proportion' attribute.
See Also:
getAvailableDepartureCapacityProportion()