Package org.molgenis.data.index
Class Impact
- java.lang.Object
-
- org.molgenis.data.index.Impact
-
public abstract class Impact extends Object
Value object to store the impact of changes.
-
-
Constructor Summary
Constructors Constructor Description Impact()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ImpactcreateSingleEntityImpact(String entityTypeId, Object id)static ImpactcreateWholeRepositoryImpact(String entityTypeId)abstract StringgetEntityTypeId()abstract ObjectgetId()booleanisSingleEntity()booleanisWholeRepository()EntityKeytoEntityKey()
-
-
-
Method Detail
-
getEntityTypeId
public abstract String getEntityTypeId()
-
getId
@Nullable @CheckForNull public abstract Object getId()
-
isWholeRepository
public boolean isWholeRepository()
-
toEntityKey
public EntityKey toEntityKey()
-
isSingleEntity
public boolean isSingleEntity()
-
createSingleEntityImpact
public static Impact createSingleEntityImpact(String entityTypeId, Object id)
-
-