edu.jhu.tmaj.servlet.request.impl
Class MetaDataAddRequest.FieldAdd

java.lang.Object
  extended by edu.jhu.tmaj.servlet.request.impl.MetaDataAddRequest.FieldAdd
All Implemented Interfaces:
MetaDataAddRequest.AddOperation, java.io.Serializable
Enclosing class:
MetaDataAddRequest

public static final class MetaDataAddRequest.FieldAdd
extends java.lang.Object
implements MetaDataAddRequest.AddOperation, java.io.Serializable

Add to a Fields table.

See Also:
Serialized Form

Constructor Summary
MetaDataAddRequest.FieldAdd(FieldsTable fieldsTable, int typeID, java.lang.String name)
           
 
Method Summary
 int writeToDatabase()
          Commit the operation to the database by executing a SQL statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataAddRequest.FieldAdd

public MetaDataAddRequest.FieldAdd(FieldsTable fieldsTable,
                                   int typeID,
                                   java.lang.String name)
Method Detail

writeToDatabase

public int writeToDatabase()
                    throws java.sql.SQLException
Description copied from interface: MetaDataAddRequest.AddOperation
Commit the operation to the database by executing a SQL statement.

Specified by:
writeToDatabase in interface MetaDataAddRequest.AddOperation
Throws:
java.sql.SQLException