Package org.goplanit.utils.network.layer
Interface ServiceNetworkLayer
-
- All Superinterfaces:
Comparable<IdAble>
,ExternalIdAble
,IdAble
,ManagedId
,NetworkLayer
,TopologicalLayer
,UntypedDirectedGraphLayer<ServiceNode,ServiceLeg,ServiceLegSegment>
- All Known Implementing Classes:
ServiceNetworkLayerImpl
public interface ServiceNetworkLayer extends UntypedDirectedGraphLayer<ServiceNode,ServiceLeg,ServiceLegSegment>
Service network layer consisting of service nodes, legs and leg segments on top of a parent network layer with physical entities. Service network layers are used to define service legs between nodes offered by one or more routed services as a separate network layer.- Author:
- markr
-
-
Field Summary
-
Fields inherited from interface org.goplanit.utils.network.layer.NetworkLayer
NETWORK_LAYER_ID_CLASS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceNetworkLayer
deepClone()
A network layer deep clone is expected to update interdependencies between "owned" deep cloned entities where possibleServiceNetworkLayerModifier<ServiceNode,ServiceLeg,ServiceLegSegment>
getLayerModifier()
Service networks have additional modifier options as per the service network layer modifierServiceLegs
getLegs()
Collect the service legsServiceLegSegments
getLegSegments()
Collect the service leg segmentsMacroscopicNetworkLayer
getParentNetworkLayer()
Collect the parent layer of this service layerServiceNodes
getServiceNodes()
Collect the service nodesServiceNetworkLayer
shallowClone()
Create a shallow copy of this entity-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
appendExternalId, appendExternalId, getExternalId, getIdsAsString, getSplitExternalId, getSplitExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId, setXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, getId, idEquals, idHashCode
-
Methods inherited from interface org.goplanit.utils.id.ManagedId
recreateManagedIds, resetChildManagedIdEntities
-
Methods inherited from interface org.goplanit.utils.network.layer.NetworkLayer
getFirstSupportedMode, getIdClass, getSupportedModes, hasSupportedModes, isEmpty, logInfo, registerSupportedMode, registerSupportedModes, reset, supports, supports, supportsPredefinedMode, validate
-
Methods inherited from interface org.goplanit.utils.network.layer.TopologicalLayer
createBoundingBox, transform
-
Methods inherited from interface org.goplanit.utils.network.layer.UntypedDirectedGraphLayer
getLayerIdGroupingToken
-
-
-
-
Method Detail
-
shallowClone
ServiceNetworkLayer shallowClone()
Create a shallow copy of this entity- Specified by:
shallowClone
in interfaceIdAble
- Specified by:
shallowClone
in interfaceNetworkLayer
- Specified by:
shallowClone
in interfaceTopologicalLayer
- Specified by:
shallowClone
in interfaceUntypedDirectedGraphLayer<ServiceNode,ServiceLeg,ServiceLegSegment>
- Returns:
- shallow copy of entity
-
deepClone
ServiceNetworkLayer deepClone()
A network layer deep clone is expected to update interdependencies between "owned" deep cloned entities where possible- Specified by:
deepClone
in interfaceIdAble
- Specified by:
deepClone
in interfaceNetworkLayer
- Specified by:
deepClone
in interfaceTopologicalLayer
- Specified by:
deepClone
in interfaceUntypedDirectedGraphLayer<ServiceNode,ServiceLeg,ServiceLegSegment>
- Returns:
- deep copy of entity
-
getParentNetworkLayer
MacroscopicNetworkLayer getParentNetworkLayer()
Collect the parent layer of this service layer- Returns:
- the parent layer
-
getLegs
ServiceLegs getLegs()
Collect the service legs- Returns:
- the legs
-
getLegSegments
ServiceLegSegments getLegSegments()
Collect the service leg segments- Returns:
- the legSegments
-
getServiceNodes
ServiceNodes getServiceNodes()
Collect the service nodes- Returns:
- the nodes
-
getLayerModifier
ServiceNetworkLayerModifier<ServiceNode,ServiceLeg,ServiceLegSegment> getLayerModifier()
Service networks have additional modifier options as per the service network layer modifier- Specified by:
getLayerModifier
in interfaceTopologicalLayer
- Specified by:
getLayerModifier
in interfaceUntypedDirectedGraphLayer<ServiceNode,ServiceLeg,ServiceLegSegment>
- Returns:
- service network layer modifier
-
-