Class NetworkLoading
- java.lang.Object
-
- org.goplanit.component.PlanitComponent<NetworkLoading>
-
- org.goplanit.supply.networkloading.NetworkLoading
-
- All Implemented Interfaces:
Serializable
,Comparable<IdAble>
,EventListener
,PlanitComponentListener
,EventListener
,ExternalIdAble
,IdAble
- Direct Known Subclasses:
TrafficAssignment
public abstract class NetworkLoading extends PlanitComponent<NetworkLoading> implements Serializable
Network loading traffic component- Author:
- markr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NetworkLoading(NetworkLoading networkLoading, boolean deepCopy)
Copy ConstructorNetworkLoading(IdGroupingToken groupId)
Base constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NetworkLoading
deepClone()
deep clone on planit component should attempt to also update internal dependencies between deep cloned containers where possibleabstract NetworkLoading
shallowClone()
Create a shallow copy of this entity-
Methods inherited from class org.goplanit.component.PlanitComponent
collectSettingsAsKeyValueMap, equals, getComponentType, getExternalId, getId, getIdGroupingToken, getKnownSupportedEventTypes, getXmlId, hashCode, onPlanitComponentEvent, reset, setExternalId, setXmlId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.event.EventListener
hasKnownSupportedEventTypes
-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
appendExternalId, appendExternalId, getIdsAsString, getSplitExternalId, getSplitExternalId, hasExternalId, hasXmlId, setXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, idEquals, idHashCode
-
-
-
-
Constructor Detail
-
NetworkLoading
public NetworkLoading(IdGroupingToken groupId)
Base constructor- Parameters:
groupId
- contiguous id generation within this group for instances of this class
-
NetworkLoading
protected NetworkLoading(NetworkLoading networkLoading, boolean deepCopy)
Copy Constructor- Parameters:
networkLoading
- to copydeepCopy
- when true, create a deep copy, shallow copy otherwise
-
-
Method Detail
-
shallowClone
public abstract NetworkLoading shallowClone()
Create a shallow copy of this entity- Specified by:
shallowClone
in interfaceIdAble
- Specified by:
shallowClone
in classPlanitComponent<NetworkLoading>
- Returns:
- shallow copy of entity
-
deepClone
public abstract NetworkLoading deepClone()
deep clone on planit component should attempt to also update internal dependencies between deep cloned containers where possible- Specified by:
deepClone
in interfaceIdAble
- Specified by:
deepClone
in classPlanitComponent<NetworkLoading>
- Returns:
- deep copy of entity
-
-