Package cern.nxcals.api.domain
Class EntityHistory
- java.lang.Object
-
- cern.nxcals.api.domain.EntityHistory
-
- All Implemented Interfaces:
Identifiable,java.lang.Comparable<EntityHistory>
public class EntityHistory extends java.lang.Object implements java.lang.Comparable<EntityHistory>, Identifiable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityHistory.Builderstatic classEntityHistory.InnerBuilder
-
Field Summary
-
Fields inherited from interface cern.nxcals.api.domain.Identifiable
NOT_SET
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityHistory.Builderbuilder()protected booleancanEqual(java.lang.Object other)intcompareTo(EntityHistory o)booleanequals(java.lang.Object o)@NonNull EntitygetEntity()@NonNull EntitySchemagetEntitySchema()longgetId()@NonNull PartitiongetPartition()@NonNull TimeWindowgetValidity()inthashCode()EntityHistory.BuildertoBuilder()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cern.nxcals.api.domain.Identifiable
hasId
-
-
-
-
Method Detail
-
compareTo
public int compareTo(EntityHistory o)
- Specified by:
compareToin interfacejava.lang.Comparable<EntityHistory>
-
toBuilder
public EntityHistory.Builder toBuilder()
-
builder
public static EntityHistory.Builder builder()
-
getId
public long getId()
- Specified by:
getIdin interfaceIdentifiable
-
getEntitySchema
@NonNull public @NonNull EntitySchema getEntitySchema()
-
getPartition
@NonNull public @NonNull Partition getPartition()
-
getValidity
@NonNull public @NonNull TimeWindow getValidity()
-
getEntity
@NonNull public @NonNull Entity getEntity()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-