public class AspectVariable
extends Object
implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AspectVariable.DataTypeEnum
Data type of the variable.
|
Constructor and Description |
---|
AspectVariable() |
Modifier and Type | Method and Description |
---|---|
AspectVariable |
dataType(AspectVariable.DataTypeEnum dataType) |
AspectVariable |
defaultValue(String defaultValue) |
boolean |
equals(Object o) |
AspectVariable.DataTypeEnum |
getDataType()
Data type of the variable.
|
String |
getDefaultValue()
The default value of the variable.
|
Integer |
getLength()
The max length of the variable's value.
|
String |
getName()
Name of the variable.
|
String |
getUnit()
Unit of measurement.
|
int |
hashCode() |
Boolean |
isQualityCode()
Indicates whether the variable has quality code.
|
Boolean |
isSearchable()
Indicates whether sorting and filtering is allowed on this variable.
|
AspectVariable |
length(Integer length) |
AspectVariable |
name(String name) |
AspectVariable |
qualityCode(Boolean qualityCode) |
AspectVariable |
searchable(Boolean searchable) |
void |
setDataType(AspectVariable.DataTypeEnum dataType) |
void |
setDefaultValue(String defaultValue) |
void |
setLength(Integer length) |
void |
setName(String name) |
void |
setQualityCode(Boolean qualityCode) |
void |
setSearchable(Boolean searchable) |
void |
setUnit(String unit) |
String |
toString() |
AspectVariable |
unit(String unit) |
public AspectVariable name(String name)
public String getName()
public void setName(String name)
public AspectVariable dataType(AspectVariable.DataTypeEnum dataType)
public AspectVariable.DataTypeEnum getDataType()
public void setDataType(AspectVariable.DataTypeEnum dataType)
public AspectVariable unit(String unit)
public String getUnit()
public void setUnit(String unit)
public AspectVariable searchable(Boolean searchable)
public Boolean isSearchable()
public void setSearchable(Boolean searchable)
public AspectVariable length(Integer length)
public Integer getLength()
public void setLength(Integer length)
public AspectVariable defaultValue(String defaultValue)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public AspectVariable qualityCode(Boolean qualityCode)
public Boolean isQualityCode()
public void setQualityCode(Boolean qualityCode)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object