org.jplate.tabular
Interface RecordIfc

All Known Implementing Classes:
DefaultRecord

public interface RecordIfc

Defines the concept of a record. A record is a collection of FieldIfc's.

Modifications:
    $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
    $Revision: 479 $
    $Author: sfloess $
    $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/tabular/RecordIfc.java $
    


Method Summary
 void addField(FieldIfc field)
          Create a field.
 FieldIfc createField()
           
 java.util.List<FieldIfc> getFields()
          Return the collection of fields.
 boolean removeField(FieldIfc field)
          Remove field.
 void removeFields()
          Removes all fields from the record.
 

Method Detail

createField

FieldIfc createField()

removeFields

void removeFields()
                  throws RemoveException
Removes all fields from the record.

Throws:
RemoveException - if any issues arise removing field.

removeField

boolean removeField(FieldIfc field)
                    throws RemoveException
Remove field.

Parameters:
field - The field to remove.
Returns:
true if field was removed or false if not.
Throws:
RemoveException - if any issues arise removing field.

addField

void addField(FieldIfc field)
              throws AddException
Create a field.

Parameters:
field - tThe field to add.
Throws:
AddException - if any issues arise adding a field.

getFields

java.util.List<FieldIfc> getFields()
Return the collection of fields.

Returns:
the collection of fields.