public class AspectVariable
extends Object
Constructor and Description |
---|
AspectVariable() |
Modifier and Type | Method and Description |
---|---|
AspectVariable |
dataType(DataTypeEnum dataType)
Returns an AspectVariable instance initialized with dataType
|
boolean |
equals(Object o) |
DataTypeEnum |
getDataType()
Data type 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)
Returns an AspectVariable instance initialized with length
|
AspectVariable |
name(String name)
Returns an AspectVariable instance initialized with name
|
AspectVariable |
qualitycode(Boolean qualitycode)
Returns an AspectVariable instance initialized with qualitycode
|
AspectVariable |
searchable(Boolean searchable)
Returns an AspectVariable instance initialized with searchable
|
void |
setDataType(DataTypeEnum dataType) |
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)
Returns an AspectVariable instance initialized with unit
|
public AspectVariable name(String name)
name
- name of the AspectVariablepublic String getName()
public void setName(String name)
public AspectVariable dataType(DataTypeEnum dataType)
dataType
- dataType of the AspectVariablepublic DataTypeEnum getDataType()
public void setDataType(DataTypeEnum dataType)
public AspectVariable unit(String unit)
unit
- unit of the AspectVariablepublic String getUnit()
public void setUnit(String unit)
public AspectVariable searchable(Boolean searchable)
searchable
- searchable of the AspectVariablepublic Boolean isSearchable()
public void setSearchable(Boolean searchable)
public AspectVariable length(Integer length)
length
- length of the AspectVariablepublic Integer getLength()
public void setLength(Integer length)
public AspectVariable qualitycode(Boolean qualitycode)
qualitycode
- qualitycode of the AspectVariablepublic 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