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 classVariable.VariableBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Variable.VariableBuilderbuilder()protected booleancanEqual(java.lang.Object other)intcompareTo(Variable variable)booleanequals(java.lang.Object o)static Variablefrom(Variable variable)intgetDaysInShortTermStorage()java.lang.LonggetDerivationContextId()java.lang.StringgetDescription()java.lang.StringgetDrivingVariable()VectornumericElementsSetgetElementsSet()VariableIdentitygetLDBdatasource()java.lang.DoublegetMaxRecsDayLDB()java.lang.DoublegetMaxRecsDayMDB()VariableIdentitygetMDBdatasource()java.lang.StringgetMetaDataInfo()java.sql.TimestampgetObsoleteSince()java.lang.StringgetSystem()java.lang.StringgetUnit()java.sql.TimestampgetValidityAdjustedEndTime(java.sql.Timestamp endTime)java.sql.TimestampgetValidityAdjustedStartTime(java.sql.Timestamp startTime)java.sql.TimestampgetValidSince()VariableDataTypegetVariableDataType()longgetVariableInternalID()java.lang.StringgetVariableName()VariableTypegetVariableType()java.lang.LonggetVectornumericContextID()VectornumericElementsSetgetVectornumericElements()java.lang.LonggetVectorNumericSize()booleanhasDerivationContext()inthashCode()booleanhasVectornumericElementNames()booleanisObsolete()booleanisValidBetween(java.sql.Timestamp startTime, java.sql.Timestamp endTime)booleanisVirtual()voidsetDaysInShortTermStorage(int daysInShortTermStorage)voidsetDerivationContextId(java.lang.Long derivationContextId)voidsetDrivingVariable(java.lang.String drivingVariable)voidsetElementsSet(VectornumericElementsSet elementsSet)voidsetLDBdatasource(VariableIdentity LDBdatasource)voidsetMaxRecsDayLDB(java.lang.Double maxRecsDayLDB)voidsetMaxRecsDayMDB(java.lang.Double maxRecsDayMDB)voidsetMDBdatasource(VariableIdentity MDBdatasource)voidsetVariableType(VariableType variableType)voidsetVectornumericContextID(java.lang.Long vectornumericContextID)voidsetVectornumericElements(VectornumericElementsSet elementsSet)voidsetVectornumericSize(java.lang.Integer vectornumericSize)voidsetVirtual(boolean virtual)java.lang.StringtoString()
-
-
-
Method Detail
-
compareTo
public int compareTo(Variable variable)
- Specified by:
compareToin interfacejava.lang.Comparable<Variable>
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-