Interface ConjugateLinkSegmentFactory
-
- All Superinterfaces:
GraphEntityFactory<ConjugateLinkSegment>
,ManagedIdEntityFactory<ConjugateLinkSegment>
- All Known Implementing Classes:
ConjugateLinkSegmentFactoryImpl
public interface ConjugateLinkSegmentFactory extends GraphEntityFactory<ConjugateLinkSegment>
Factory to create conjugate link segments and register them on its container- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateLinkSegment
create(ConjugateLink parent, boolean directionAb)
Create conjugate link segmentConjugateLinkSegment
registerNew(ConjugateLink parent, boolean directionAb, boolean registerOnNodeAndLink)
Create conjugate link segment and register it-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Method Detail
-
create
ConjugateLinkSegment create(ConjugateLink parent, boolean directionAb)
Create conjugate link segment- Parameters:
parent
- the parent of this conjugate segmentdirectionAb
- direction of travel- Returns:
- the created segment
-
registerNew
ConjugateLinkSegment registerNew(ConjugateLink parent, boolean directionAb, boolean registerOnNodeAndLink)
Create conjugate link segment and register it- Parameters:
parent
- the parent of this conjugate segmentdirectionAb
- direction of travelregisterOnNodeAndLink
- option to register the new conjugate segment on the underlying conjugate link and its conjugate nodes- Returns:
- the created segment
-
-