public class QueryAlias extends DataValue
An alias reference for a data value.
| Constructor and Description |
|---|
QueryAlias() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlias()
Return the alias name.
|
DataType |
getDataType()
Return data type with a
DataType.code of DataType.QUERY_ALIAS. |
void |
setAlias(java.lang.String value)
Set the alias name.
|
java.lang.String |
toString()
Convert this data value to a string.
|
cloneMutable, equals, getTypeCode, hashCodepublic java.lang.String getAlias()
Return the alias name.
public DataType getDataType()
Return data type with a DataType.code of DataType.QUERY_ALIAS.
getDataType in class DataValueDataType.code of DataType.QUERY_ALIAS.public void setAlias(java.lang.String value)
Set the alias name.
value - The alias name.public java.lang.String toString()
Convert this data value to a string.
If the QueryAlias.dataType is defined by XML Schema Part 2: Datatypes, then the corresponding lexical format is used.
JSON format is used for structured values (arrays and objects).