Interface ServiceLegs
-
- All Superinterfaces:
Cloneable
,GraphEntities<ServiceLeg>
,Iterable<ServiceLeg>
,LongMapWrapper<ServiceLeg>
,ManagedGraphEntities<ServiceLeg>
,ManagedIdEntities<ServiceLeg>
,MapWrapper<Long,ServiceLeg>
- All Known Implementing Classes:
ServiceLegsImpl
public interface ServiceLegs extends ManagedGraphEntities<ServiceLeg>
Container around service legs with factory access- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServiceLegs
clone()
Force clone implementationServiceLegFactory
getFactory()
Factory to create instance of graph entity (for this container class)default boolean
hasServiceLeg(long id)
verify if service leg 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
ServiceLegFactory getFactory()
Factory to create instance of graph entity (for this container class)- Specified by:
getFactory
in interfaceGraphEntities<ServiceLeg>
- Specified by:
getFactory
in interfaceManagedIdEntities<ServiceLeg>
- Returns:
- entity factory
-
clone
ServiceLegs clone()
Force clone implementation- Specified by:
clone
in interfaceGraphEntities<ServiceLeg>
- Specified by:
clone
in interfaceManagedGraphEntities<ServiceLeg>
- Specified by:
clone
in interfaceManagedIdEntities<ServiceLeg>
- Specified by:
clone
in interfaceMapWrapper<Long,ServiceLeg>
- Returns:
- clone of entities
-
hasServiceLeg
default boolean hasServiceLeg(long id)
verify if service leg is present- Parameters:
id
- to check- Returns:
- true when present false otherwise
-
-