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 Linksclone()Force clone implementationLinkFactorygetFactory()Factory to create instance of graph entity (for this container class)default booleanhasLink(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:
getFactoryin interfaceGraphEntities<Link>- Specified by:
getFactoryin interfaceManagedIdEntities<Link>- Returns:
- entity factory
-
clone
Links clone()
Force clone implementation- Specified by:
clonein interfaceGraphEntities<Link>- Specified by:
clonein interfaceManagedGraphEntities<Link>- Specified by:
clonein interfaceManagedIdEntities<Link>- Specified by:
clonein 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
-
-