| Modifier and Type | Class and Description |
|---|---|
static class |
KKeyMetadata.KKeyMetadataBuilder |
| Modifier and Type | Method and Description |
|---|---|
static KKeyMetadata.KKeyMetadataBuilder |
builder() |
boolean |
equals(Object obj) |
String |
getColumnName()
Returns name of the DB column in the Q-DAS database where this K-key is stored.
|
IKKeyValueConverter<?> |
getConverter()
Returns converter that can be used to convert the value of this K-key from and to the textual representation of AQDEF
format.
|
Class<?> |
getDataType()
Returns datatype of this K-key.
|
Integer |
getLength()
Returns the maximum length of the content of this K-key as defined in AQDEF format documentation.
|
int |
hashCode() |
boolean |
isRespectsCharacteristicDecimalSettings()
Whether this K-key contains value that should respect decimal settings of the characteristic.
|
boolean |
isSaveToDb()
Whether this K-key is stored in Q-DAS database.
|
static KKeyMetadata |
of(String columnName,
Class<?> dataType) |
static KKeyMetadata |
of(String columnName,
Class<?> dataType,
boolean saveToDb) |
static KKeyMetadata |
of(String columnName,
Class<?> dataType,
Integer length) |
static KKeyMetadata |
of(String columnName,
Class<?> dataType,
Integer length,
boolean saveToDb) |
String |
toString() |
public static KKeyMetadata.KKeyMetadataBuilder builder()
public static KKeyMetadata of(String columnName, Class<?> dataType)
public static KKeyMetadata of(String columnName, Class<?> dataType, boolean saveToDb)
public static KKeyMetadata of(String columnName, Class<?> dataType, Integer length)
public static KKeyMetadata of(String columnName, Class<?> dataType, Integer length, boolean saveToDb)
public Integer getLength()
public String getColumnName()
public Class<?> getDataType()
public IKKeyValueConverter<?> getConverter()
public boolean isSaveToDb()
public boolean isRespectsCharacteristicDecimalSettings()
Copyright © 2019. All rights reserved.