Interface ConjugateLinks
-
- All Superinterfaces:
Cloneable,GraphEntities<ConjugateLink>,Iterable<ConjugateLink>,LongMapWrapper<ConjugateLink>,ManagedGraphEntities<ConjugateLink>,ManagedIdEntities<ConjugateLink>,MapWrapper<Long,ConjugateLink>
- All Known Implementing Classes:
ConjugateLinksImpl
public interface ConjugateLinks extends ManagedGraphEntities<ConjugateLink>
Primary managed container class for conjugate links with access to factory capable of creating new conjugate links and registering them on the container directly- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateLinksdeepClone()Force clone implementationConjugateLinksdeepCloneWithMapping(BiConsumer<ConjugateLink,ConjugateLink> mapper)Deep clone implementation with mapping retained between original and copies createdConjugateLinkFactorygetFactory()Factory to create instance of graph entity (for this container class)ConjugateLinksshallowClone()shallow clone implementation-
Methods inherited from interface org.goplanit.utils.graph.GraphEntities
forEachMatchingIdIn, getByExternalId, getByXmlId
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.goplanit.utils.wrapper.LongMapWrapper
get, remove
-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntities
containsKey, getManagedIdClass, groupBy, recreateIds, recreateIds, reset, streamSortedBy
-
Methods inherited from interface org.goplanit.utils.wrapper.MapWrapper
addAll, clear, containsValue, firstMatch, forEachIn, get, getFirst, getKeyByValue, isEmpty, register, remove, removeAll, removeIf, size, stream, streamSorted, toCollection, toMap, valuesAsNewSet
-
-
-
-
Method Detail
-
getFactory
ConjugateLinkFactory getFactory()
Factory to create instance of graph entity (for this container class)- Specified by:
getFactoryin interfaceGraphEntities<ConjugateLink>- Specified by:
getFactoryin interfaceManagedIdEntities<ConjugateLink>- Returns:
- entity factory
-
shallowClone
ConjugateLinks shallowClone()
shallow clone implementation- Specified by:
shallowClonein interfaceGraphEntities<ConjugateLink>- Specified by:
shallowClonein interfaceManagedGraphEntities<ConjugateLink>- Specified by:
shallowClonein interfaceManagedIdEntities<ConjugateLink>- Specified by:
shallowClonein interfaceMapWrapper<Long,ConjugateLink>- Returns:
- clone of entities
-
deepClone
ConjugateLinks deepClone()
Force clone implementation- Specified by:
deepClonein interfaceGraphEntities<ConjugateLink>- Specified by:
deepClonein interfaceManagedGraphEntities<ConjugateLink>- Specified by:
deepClonein interfaceManagedIdEntities<ConjugateLink>- Returns:
- clone of entities
-
deepCloneWithMapping
ConjugateLinks deepCloneWithMapping(BiConsumer<ConjugateLink,ConjugateLink> mapper)
Deep clone implementation with mapping retained between original and copies created- Specified by:
deepCloneWithMappingin interfaceGraphEntities<ConjugateLink>- Specified by:
deepCloneWithMappingin interfaceManagedGraphEntities<ConjugateLink>- Specified by:
deepCloneWithMappingin interfaceManagedIdEntities<ConjugateLink>- Parameters:
mapper- that is applied to each deep copy entity mapping pair of origin and copy- Returns:
- pair with deep copy of entities and mapping from original entities to deep copies of these entities
-
-