Package cern.nxcals.api.domain
Interface Identifiable
-
- All Known Subinterfaces:
HierarchyView
- All Known Implementing Classes:
BaseGroup
,Entity
,EntityChangelog
,EntityHistory
,EntitySchema
,Group
,Hierarchy
,HierarchyChangelog
,HierarchyVariablesChangelog
,Partition
,PartitionResource
,PartitionResourceHistory
,Snapshot
,SystemSpec
,Tag
,Variable
,VariableChangelog
,VariableConfig
,VariableConfigChangelog
public interface Identifiable
-
-
Field Summary
Fields Modifier and Type Field Description static long
NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description long
getId()
default boolean
hasId()
static <T extends Identifiable>
java.util.Set<java.lang.Long>obtainIdsFrom(java.util.Collection<T> identifiables)
-
-
-
Field Detail
-
NOT_SET
static final long NOT_SET
- See Also:
- Constant Field Values
-
-
Method Detail
-
obtainIdsFrom
static <T extends Identifiable> java.util.Set<java.lang.Long> obtainIdsFrom(java.util.Collection<T> identifiables)
-
getId
long getId()
-
hasId
default boolean hasId()
-
-