|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.docmosis.template.population.Discriminator
A class that looks for column (or multiple column) matches. The idea is that rows of data that have the same of this discriminator's specified column(s) will belong to the same "data provider group" of data. Any rows that have different of the column(s) will belong to a new sub-group. This will help to form a hierarchy of data providers.
Constructor Summary | |
Discriminator(String column)
Create a single-columned discriminator. |
|
Discriminator(String[] columns)
Create a multi-columned discriminator. |
Method Summary | |
boolean |
equals(Object other)
Determine whether this object equals another. |
protected String[] |
getColumns()
Return columns used for this discriminator. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Discriminator(String column) throws IllegalArgumentException
column
- the column to discriminate a grouping.
IllegalArgumentException
- if the column is null or empty.public Discriminator(String[] columns) throws IllegalArgumentException
columns
- the columns to discriminate a grouping.
IllegalArgumentException
- if there are no columns, or any of
the columns are null or empty.Method Detail |
public boolean equals(Object other)
public int hashCode()
protected String[] getColumns()
public String toString()
|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |