lumis.util.query
Class QueryField

Package class diagram package QueryField
java.lang.Object
  extended by lumis.util.query.QueryField
All Implemented Interfaces:
IQueryValue

@StableMinor(version="7.0",
             sinceVersion="4.0")
public class QueryField
extends Object
implements IQueryValue

Represents a query field

Since:
4.0.0

Constructor Summary
QueryField()
           
 
Method Summary
 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()
          Returns true if field should be in group by clause, otherwise false.
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryField

public QueryField()
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()

toString

public String toString()
Overrides:
toString in class Object

isGroupBy

public boolean isGroupBy()
Returns true if field should be in group by clause, otherwise false.

Returns:
true if field should be in group by clause, otherwise false.
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


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.