Package lumis.util.query
Class QueryField
- java.lang.Object
-
- lumis.util.query.QueryField
-
- All Implemented Interfaces:
IQueryValue
@StableMinor(version="14.0", sinceVersion="4.0") public class QueryField extends Object implements IQueryValue
Represents a query field- Since:
- 4.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description QueryField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IConverter
getConverter()
Returns the converter for this field's values.String
getDataType()
Returns the LPS data type of this field.String
getFieldAlias()
String
getFieldName()
String
getIdentification()
QueryTable
getTableOrView()
boolean
isGroupBy()
Returnstrue
if field should be in group by clause, otherwisefalse
.void
setConverter(IConverter converter)
Sets the converter for this field's values.void
setDataType(String dataType)
Sets the LPS data type of this field.void
setFieldAlias(String fieldAlias)
void
setFieldName(String fieldName)
void
setGroupBy(boolean groupBy)
Sets the group by attribute.void
setTableOrView(QueryTable tableOrView)
String
toString()
-
-
-
Method Detail
-
getFieldAlias
public String getFieldAlias()
-
setFieldAlias
public void setFieldAlias(String fieldAlias)
-
getFieldName
public String getFieldName()
-
setFieldName
public void setFieldName(String fieldName)
-
getTableOrView
public QueryTable getTableOrView()
-
setTableOrView
public void setTableOrView(QueryTable tableOrView)
-
getDataType
public String getDataType()
Returns the LPS data type of this field.
-
setDataType
public void setDataType(String dataType)
Sets the LPS data type of this field.
-
getConverter
public IConverter getConverter()
Returns the converter for this field's values.- Returns:
- the converter for this field's values. May be null if no converter was specified for this field.
- Since:
- 4.0.4
-
setConverter
public void setConverter(IConverter converter)
Sets the converter for this field's values.- Parameters:
converter
- the converter to set.- Since:
- 4.0.4
-
getIdentification
public String getIdentification()
-
isGroupBy
public boolean isGroupBy()
Returnstrue
if field should be in group by clause, otherwisefalse
.- Returns:
true
if field should be in group by clause, otherwisefalse
.- Since:
- 7.0.0
-
setGroupBy
public void setGroupBy(boolean groupBy)
Sets the group by attribute.- Parameters:
groupBy
- the group by attribute.- Since:
- 7.0.0
-
-