Package cern.nxcals.api.domain
Class VariableConfig
- java.lang.Object
-
- cern.nxcals.api.domain.VariableConfig
-
- All Implemented Interfaces:
Identifiable
,Versionable
,java.lang.Comparable<VariableConfig>
public class VariableConfig extends java.lang.Object implements java.lang.Comparable<VariableConfig>, Identifiable, Versionable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VariableConfig.Builder
static class
VariableConfig.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 VariableConfig.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
int
compareTo(VariableConfig o)
boolean
equals(java.lang.Object o)
long
getEntityId()
java.lang.String
getFieldName()
long
getId()
long
getRecVersion()
@NonNull TimeWindow
getValidity()
java.lang.String
getVariableName()
int
hashCode()
VariableConfig.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
-
compareTo
public int compareTo(VariableConfig o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<VariableConfig>
-
toBuilder
public VariableConfig.Builder toBuilder()
-
builder
public static VariableConfig.Builder builder()
-
getId
public long getId()
- Specified by:
getId
in interfaceIdentifiable
-
getEntityId
public long getEntityId()
-
getFieldName
public java.lang.String getFieldName()
-
getVariableName
public java.lang.String getVariableName()
-
getValidity
@NonNull public @NonNull TimeWindow getValidity()
-
getRecVersion
public long getRecVersion()
- Specified by:
getRecVersion
in interfaceVersionable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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
-
-