Class Variable
- java.lang.Object
-
- cern.nxcals.api.backport.domain.core.metadata.Variable
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Variable>
public class Variable extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Variable>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Variable.VariableBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Variable.VariableBuilder
builder()
protected boolean
canEqual(java.lang.Object other)
int
compareTo(Variable variable)
boolean
equals(java.lang.Object o)
static Variable
from(Variable variable)
int
getDaysInShortTermStorage()
java.lang.Long
getDerivationContextId()
java.lang.String
getDescription()
java.lang.String
getDrivingVariable()
VectornumericElementsSet
getElementsSet()
VariableIdentity
getLDBdatasource()
java.lang.Double
getMaxRecsDayLDB()
java.lang.Double
getMaxRecsDayMDB()
VariableIdentity
getMDBdatasource()
java.lang.String
getMetaDataInfo()
java.sql.Timestamp
getObsoleteSince()
java.lang.String
getSystem()
java.lang.String
getUnit()
java.sql.Timestamp
getValidityAdjustedEndTime(java.sql.Timestamp endTime)
java.sql.Timestamp
getValidityAdjustedStartTime(java.sql.Timestamp startTime)
java.sql.Timestamp
getValidSince()
VariableDataType
getVariableDataType()
long
getVariableInternalID()
java.lang.String
getVariableName()
VariableType
getVariableType()
java.lang.Long
getVectornumericContextID()
VectornumericElementsSet
getVectornumericElements()
java.lang.Long
getVectorNumericSize()
boolean
hasDerivationContext()
int
hashCode()
boolean
hasVectornumericElementNames()
boolean
isObsolete()
boolean
isValidBetween(java.sql.Timestamp startTime, java.sql.Timestamp endTime)
boolean
isVirtual()
void
setDaysInShortTermStorage(int daysInShortTermStorage)
void
setDerivationContextId(java.lang.Long derivationContextId)
void
setDrivingVariable(java.lang.String drivingVariable)
void
setElementsSet(VectornumericElementsSet elementsSet)
void
setLDBdatasource(VariableIdentity LDBdatasource)
void
setMaxRecsDayLDB(java.lang.Double maxRecsDayLDB)
void
setMaxRecsDayMDB(java.lang.Double maxRecsDayMDB)
void
setMDBdatasource(VariableIdentity MDBdatasource)
void
setVariableType(VariableType variableType)
void
setVectornumericContextID(java.lang.Long vectornumericContextID)
void
setVectornumericElements(VectornumericElementsSet elementsSet)
void
setVectornumericSize(java.lang.Integer vectornumericSize)
void
setVirtual(boolean virtual)
java.lang.String
toString()
-
-
-
Method Detail
-
compareTo
public int compareTo(Variable variable)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Variable>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hasVectornumericElementNames
public boolean hasVectornumericElementNames()
-
getVectornumericElements
public VectornumericElementsSet getVectornumericElements()
-
getVectorNumericSize
public java.lang.Long getVectorNumericSize()
-
setVectornumericElements
public void setVectornumericElements(VectornumericElementsSet elementsSet)
-
hasDerivationContext
public boolean hasDerivationContext()
-
getMetaDataInfo
public java.lang.String getMetaDataInfo()
-
isValidBetween
public boolean isValidBetween(java.sql.Timestamp startTime, java.sql.Timestamp endTime)
-
getValidityAdjustedEndTime
public java.sql.Timestamp getValidityAdjustedEndTime(java.sql.Timestamp endTime)
-
getValidityAdjustedStartTime
public java.sql.Timestamp getValidityAdjustedStartTime(java.sql.Timestamp startTime)
-
isObsolete
public boolean isObsolete()
-
builder
public static Variable.VariableBuilder builder()
-
getVariableDataType
public VariableDataType getVariableDataType()
-
getUnit
public java.lang.String getUnit()
-
getDescription
public java.lang.String getDescription()
-
getSystem
public java.lang.String getSystem()
-
getVariableName
public java.lang.String getVariableName()
-
getVariableInternalID
public long getVariableInternalID()
-
getVectornumericContextID
public java.lang.Long getVectornumericContextID()
-
getElementsSet
public VectornumericElementsSet getElementsSet()
-
getDerivationContextId
public java.lang.Long getDerivationContextId()
-
isVirtual
public boolean isVirtual()
-
getDrivingVariable
public java.lang.String getDrivingVariable()
-
getLDBdatasource
public VariableIdentity getLDBdatasource()
-
getMDBdatasource
public VariableIdentity getMDBdatasource()
-
getMaxRecsDayLDB
public java.lang.Double getMaxRecsDayLDB()
-
getMaxRecsDayMDB
public java.lang.Double getMaxRecsDayMDB()
-
getObsoleteSince
public java.sql.Timestamp getObsoleteSince()
-
getValidSince
public java.sql.Timestamp getValidSince()
-
getVariableType
public VariableType getVariableType()
-
getDaysInShortTermStorage
public int getDaysInShortTermStorage()
-
setVectornumericSize
public void setVectornumericSize(java.lang.Integer vectornumericSize)
-
setVectornumericContextID
public void setVectornumericContextID(java.lang.Long vectornumericContextID)
-
setElementsSet
public void setElementsSet(VectornumericElementsSet elementsSet)
-
setDerivationContextId
public void setDerivationContextId(java.lang.Long derivationContextId)
-
setVirtual
public void setVirtual(boolean virtual)
-
setDrivingVariable
public void setDrivingVariable(java.lang.String drivingVariable)
-
setLDBdatasource
public void setLDBdatasource(VariableIdentity LDBdatasource)
-
setMDBdatasource
public void setMDBdatasource(VariableIdentity MDBdatasource)
-
setMaxRecsDayLDB
public void setMaxRecsDayLDB(java.lang.Double maxRecsDayLDB)
-
setMaxRecsDayMDB
public void setMaxRecsDayMDB(java.lang.Double maxRecsDayMDB)
-
setVariableType
public void setVariableType(VariableType variableType)
-
setDaysInShortTermStorage
public void setDaysInShortTermStorage(int daysInShortTermStorage)
-
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
-
-