Interface Links
-
- All Superinterfaces:
Cloneable
,GraphEntities<Link>
,Iterable<Link>
,LongMapWrapper<Link>
,ManagedGraphEntities<Link>
,ManagedIdEntities<Link>
,MapWrapper<Long,Link>
- All Known Implementing Classes:
LinksImpl
public interface Links extends ManagedGraphEntities<Link>
rimary managed container class for links with access to factory capable of creating new links and registering them on the container directly- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Links
clone()
Force clone implementationLinkFactory
getFactory()
Factory to create instance of graph entity (for this container class)default boolean
hasLink(long id)
verify if link is present-
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, recreateIds, recreateIds, reset
-
Methods inherited from interface org.goplanit.utils.wrapper.MapWrapper
addAll, clear, contains, findFirst, forEachIn, get, getFirst, getKeyByValue, isEmpty, register, remove, size, toCollection, valuesAsNewSet
-
-
-
-
Method Detail
-
getFactory
LinkFactory getFactory()
Factory to create instance of graph entity (for this container class)- Specified by:
getFactory
in interfaceGraphEntities<Link>
- Specified by:
getFactory
in interfaceManagedIdEntities<Link>
- Returns:
- entity factory
-
clone
Links clone()
Force clone implementation- Specified by:
clone
in interfaceGraphEntities<Link>
- Specified by:
clone
in interfaceManagedGraphEntities<Link>
- Specified by:
clone
in interfaceManagedIdEntities<Link>
- Specified by:
clone
in interfaceMapWrapper<Long,Link>
- Returns:
- clone of entities
-
hasLink
default boolean hasLink(long id)
verify if link is present- Parameters:
id
- to check- Returns:
- true when present false otherwise
-
-