|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.Element
org.pentaho.reporting.engine.classic.core.Section
org.pentaho.reporting.engine.classic.core.Group
org.pentaho.reporting.engine.classic.core.RelationalGroup
public class RelationalGroup
A group that accepts fields.
| Field Summary |
|---|
| Fields inherited from class org.pentaho.reporting.engine.classic.core.Group |
|---|
ANONYMOUS_GROUP_PREFIX |
| Fields inherited from class org.pentaho.reporting.engine.classic.core.Element |
|---|
ANONYMOUS_ELEMENT_PREFIX |
| Constructor Summary | |
|---|---|
RelationalGroup()
|
|
| Method Summary | |
|---|---|
void |
addField(String name)
Adds a field to the group. |
void |
clearFields()
|
boolean |
equals(Object obj)
Checks whether the group is equal. |
List |
getFields()
Returns the list of fields for this group. |
String[] |
getFieldsArray()
Returns the group fields as array. |
int |
hashCode()
Computes a hashcode for this group. |
boolean |
isGroupChange(DataRow dataRow)
|
void |
setBody(GroupBody body)
|
void |
setFields(List c)
Sets the fields for this group. |
void |
setFieldsArray(String[] fields)
|
String |
toString()
Returns a string representation of the group (useful for debugging). |
| Methods inherited from class org.pentaho.reporting.engine.classic.core.Group |
|---|
clone, derive, getBody, getElement, getElementCount, getFooter, getHeader, setElementAt, setFooter, setHeader |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RelationalGroup()
| Method Detail |
|---|
public void setFields(List c)
c - the list containing strings.
NullPointerException - if the given list is null or the list contains null-values.public void clearFields()
public void addField(String name)
name - the field name (null not permitted).
NullPointerException - if the name is nullpublic List getFields()
public void setFieldsArray(String[] fields)
public String[] getFieldsArray()
public String toString()
toString in class Elementpublic void setBody(GroupBody body)
setBody in class Grouppublic boolean equals(Object obj)
equals in class Objectobj - the object to be checked
public int hashCode()
hashCode in class Objectpublic boolean isGroupChange(DataRow dataRow)
isGroupChange in class Group
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||