|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.betwixt.Dataset
public class Dataset
A container Bean class for records to be exported or imported. It also supports the name, action, onError, description processing attributes.
Constructor Summary | |
---|---|
Dataset()
Generic bean constructor |
Method Summary | |
---|---|
void |
addRecord(java.lang.Object item)
Add an individual item to the data set. |
void |
addRecordList(java.util.List list)
Add a list or records to the end of the current collection. |
java.lang.String |
getAction()
Get the value of the action attribute. |
org.apache.commons.betwixt.io.BeanWriter |
getBeanWriter()
Get the bean writer. |
java.lang.String |
getDescription()
Get the value of the description attribute. |
java.lang.String |
getName()
Get the value of the name attribute |
java.lang.String |
getOnError()
Gets the value of the onError attribute. |
java.util.List |
getRecord()
Get the record set list. |
java.util.Iterator |
iterator()
Get an iterator for this data record set. |
void |
setAction(java.lang.String action)
Sets the value of the action attribute |
void |
setDescription(java.lang.String description)
Set the value of the description attribute. |
void |
setName(java.lang.String name)
Set the value of the name attribute |
void |
setOnError(java.lang.String onError)
Set the value of the onError attribute. |
void |
setRecord(java.util.List value)
Replace the record set with the supplied set. |
int |
size()
Get the size of the current data set. |
java.lang.String |
toString()
Dump debug info. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Dataset()
Method Detail |
---|
public void addRecord(java.lang.Object item)
item
- public void addRecordList(java.util.List list)
list
- A list of records to add to the end of the existing list.public java.util.List getRecord()
public int size()
public java.util.Iterator iterator()
public void setRecord(java.util.List value)
value
- public java.lang.String getAction()
public void setAction(java.lang.String action)
action
- The action to set.public java.lang.String getOnError()
public void setOnError(java.lang.String onError)
onError
- The onError to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to set.public org.apache.commons.betwixt.io.BeanWriter getBeanWriter() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- If called before createBeanWriter has
been called.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |