org.araneaframework.backend.list.helper.fields
Class ConcatFields

java.lang.Object
  extended byorg.araneaframework.backend.list.helper.fields.ConcatFields
All Implemented Interfaces:
Fields

public class ConcatFields
extends Object
implements Fields

Composite implementation of Fields that combine the results of its children.

The concatenation of all fields are returned with no duplications.

Since:
1.1
Author:
Rein Raudjärv
See Also:
Fields

Constructor Summary
ConcatFields()
           
 
Method Summary
 void add(Fields fields)
          Adds an instance of Fields which results are used.
 Collection getNames()
          Return the list of fields used in SELECT.
 Collection getResultSetNames()
          Return the list of fields read from the ResultSet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcatFields

public ConcatFields()
Method Detail

add

public void add(Fields fields)
Adds an instance of Fields which results are used.


getNames

public Collection getNames()
Description copied from interface: Fields
Return the list of fields used in SELECT.

Specified by:
getNames in interface Fields
Returns:
List<String> the names of the fields used in SELECT.

getResultSetNames

public Collection getResultSetNames()
Description copied from interface: Fields
Return the list of fields read from the ResultSet.

Specified by:
getResultSetNames in interface Fields
Returns:
List<String> the names of the fields read from the ResultSet.