Package cern.nxcals.api.domain
Class Variable
- java.lang.Object
-
- cern.nxcals.api.domain.Variable
-
- All Implemented Interfaces:
Identifiable,Versionable
public class Variable extends java.lang.Object implements Identifiable, Versionable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVariable.Builderstatic classVariable.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 Variable.Builderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)@NonNull java.util.SortedSet<VariableConfig>getConfigs()VariableDeclaredTypegetDeclaredType()java.lang.StringgetDescription()longgetId()longgetRecVersion()@NonNull SystemSpecgetSystemSpec()java.lang.StringgetUnit()@NonNull java.lang.StringgetVariableName()inthashCode()Variable.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
-
Methods inherited from interface cern.nxcals.api.domain.Versionable
hasVersion
-
-
-
-
Method Detail
-
toBuilder
public Variable.Builder toBuilder()
-
builder
public static Variable.Builder builder()
-
getId
public long getId()
- Specified by:
getIdin interfaceIdentifiable
-
getVariableName
@NonNull public @NonNull java.lang.String getVariableName()
-
getSystemSpec
@NonNull public @NonNull SystemSpec getSystemSpec()
-
getDescription
public java.lang.String getDescription()
-
getUnit
public java.lang.String getUnit()
-
getConfigs
@NonNull public @NonNull java.util.SortedSet<VariableConfig> getConfigs()
-
getDeclaredType
public VariableDeclaredType getDeclaredType()
-
getRecVersion
public long getRecVersion()
- Specified by:
getRecVersionin interfaceVersionable
-
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
-
-