Package lumis.util.query
Class QueryField
- java.lang.Object
-
- lumis.util.query.QueryField
-
- All Implemented Interfaces:
IQueryValue
@StableMinor(version="17.0", sinceVersion="4.0") public class QueryField extends java.lang.Object implements IQueryValue
Represents a query field- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
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.java.lang.String
getDataType()
Returns the LPS data type of this field.java.lang.String
getFieldAlias()
java.lang.String
getFieldName()
java.lang.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(java.lang.String dataType)
Sets the LPS data type of this field.void
setFieldAlias(java.lang.String fieldAlias)
void
setFieldName(java.lang.String fieldName)
void
setGroupBy(boolean groupBy)
Sets the group by attribute.void
setTableOrView(QueryTable tableOrView)
java.lang.String
toString()
-
-
-
Method Detail
-
getFieldAlias
public java.lang.String getFieldAlias()
-
setFieldAlias
public void setFieldAlias(java.lang.String fieldAlias)
-
getFieldName
public java.lang.String getFieldName()
-
setFieldName
public void setFieldName(java.lang.String fieldName)
-
getTableOrView
public QueryTable getTableOrView()
-
setTableOrView
public void setTableOrView(QueryTable tableOrView)
-
getDataType
public java.lang.String getDataType()
Returns the LPS data type of this field.
-
setDataType
public void setDataType(java.lang.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 java.lang.String getIdentification()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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
-
-