Package org.goplanit.utils.zoning
Interface DirectedConnectoidFactory
-
- All Superinterfaces:
ManagedIdEntityFactory<DirectedConnectoid>
- All Known Implementing Classes:
DirectedConnectoidFactoryImpl
public interface DirectedConnectoidFactory extends ManagedIdEntityFactory<DirectedConnectoid>
Factory interface for directed connectoids- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DirectedConnectoid
registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment)
Create a new directed connectoid, without zone attached and using default lengthdefault DirectedConnectoid
registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone)
Create a new directed connectoid, with default length 0default DirectedConnectoid
registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)
Create a new directed connectoid, with default length 0DirectedConnectoid
registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)
Create a new directed connectoiddefault DirectedConnectoid
registerNew(LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)
Create a new directed connectoid, with default length 0, and choose downstream access node based on the link segment provided-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Method Detail
-
registerNew
DirectedConnectoid registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment)
Create a new directed connectoid, without zone attached and using default length- Parameters:
downstreamAccessNode
- when true access node is chosen as the downstream node of the segment, when false, upstream node is chosenaccessLinkSegment
- to use- Returns:
- created directed connectoid
-
registerNew
DirectedConnectoid registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)
Create a new directed connectoid- Parameters:
downstreamAccessNode
- when true access node is chosen as the downstream node of the segment, when false, upstream node is chosenaccessLinkSegment
- to useparentZone
- to uselength
- to use for distance between zone and connectoid- Returns:
- created directed connectoid
-
registerNew
default DirectedConnectoid registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone)
Create a new directed connectoid, with default length 0- Parameters:
downstreamAccessNode
- when true access node is chosen as the downstream node of the segment, when false, upstream node is chosenaccessLinkSegment
- to useparentZone
- to use- Returns:
- created directed connectoid
-
registerNew
default DirectedConnectoid registerNew(LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)
Create a new directed connectoid, with default length 0, and choose downstream access node based on the link segment provided- Parameters:
accessLinkSegment
- to useparentZone
- to usesyncXmlIdToId
- flag indicating if we should sync the XML ids to internal idsallowedModes
- to apply- Returns:
- created directed connectoid
-
registerNew
default DirectedConnectoid registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)
Create a new directed connectoid, with default length 0- Parameters:
downstreamAccessNode
- when true access node is chosen as the downstream node of the segment, when false, upstream node is chosenaccessLinkSegment
- to useparentZone
- to usesyncXmlIdToId
- flag indicating if we should sync the XML ids to internal idsallowedModes
- to apply- Returns:
- created directed connectoid
-
-