Package cern.nxcals.api.domain
Class PartitionResourceHistory
- java.lang.Object
-
- cern.nxcals.api.domain.PartitionResourceHistory
-
- All Implemented Interfaces:
Identifiable
,Versionable
public class PartitionResourceHistory extends java.lang.Object implements Identifiable, Versionable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PartitionResourceHistory.Builder
static class
PartitionResourceHistory.InnerBuilder
-
Field Summary
-
Fields inherited from interface cern.nxcals.api.domain.Identifiable
NOT_SET
-
Fields inherited from interface cern.nxcals.api.domain.Versionable
NOT_SET
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PartitionResourceHistory.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getCompactionType()
long
getId()
@NonNull java.lang.String
getPartitionInformation()
@NonNull PartitionResource
getPartitionResource()
long
getRecVersion()
@NonNull java.lang.String
getStorageType()
@NonNull TimeWindow
getValidity()
int
hashCode()
boolean
isFixedSettings()
static java.time.Instant
to(java.time.Instant from)
PartitionResourceHistory.Builder
toBuilder()
java.lang.String
toString()
-
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
-
Methods inherited from interface cern.nxcals.api.domain.Versionable
hasVersion
-
-
-
-
Method Detail
-
toBuilder
public PartitionResourceHistory.Builder toBuilder()
-
to
public static java.time.Instant to(java.time.Instant from)
-
builder
public static PartitionResourceHistory.Builder builder()
-
getId
public long getId()
- Specified by:
getId
in interfaceIdentifiable
-
getPartitionResource
@NonNull public @NonNull PartitionResource getPartitionResource()
-
getPartitionInformation
@NonNull public @NonNull java.lang.String getPartitionInformation()
-
getCompactionType
@NonNull public @NonNull java.lang.String getCompactionType()
-
getStorageType
@NonNull public @NonNull java.lang.String getStorageType()
-
isFixedSettings
public boolean isFixedSettings()
-
getValidity
@NonNull public @NonNull TimeWindow getValidity()
-
getRecVersion
public long getRecVersion()
- Specified by:
getRecVersion
in interfaceVersionable
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-