org.enhydra.shark.globalpersistence.data
Interface GlobalDataDOI

All Known Implementing Classes:
GlobalDataDO

public interface GlobalDataDOI

Interface implemented by GlobalDataDO Interface could also be implemented by a (hand-written) Business Layer class which uses GlobalDataDO

Since:
DODS Project
Version:
$Revision: 1.13 $
Author:
NN

Method Summary
 void commit()
          Deprecated. Use save() instead.
 void commit(com.lutris.appserver.server.sql.DBTransaction dbt)
          Deprecated. Use save() instead.
 void delete()
          Deletes the DO from its table.
 void delete(com.lutris.appserver.server.sql.DBTransaction dbt)
          Deletes the DO from its table.
 java.lang.String getDataId()
          Get DataId of the SHKGlobalData
 short getDataType()
          Get DataType of the SHKGlobalData
 byte[] getDataValue()
          Get DataValue of the SHKGlobalData
 boolean getDataValueBOOL()
          Get DataValueBOOL of the SHKGlobalData
 java.sql.Timestamp getDataValueDATE()
          Get DataValueDATE of the SHKGlobalData
 double getDataValueDBL()
          Get DataValueDBL of the SHKGlobalData
 long getDataValueLONG()
          Get DataValueLONG of the SHKGlobalData
 java.lang.String getDataValueVCHAR()
          Get DataValueVCHAR of the SHKGlobalData
 org.w3c.dom.Node getDataValueXML()
          Get DataValueXML of the SHKGlobalData
 int getOrdNo()
          Get OrdNo of the SHKGlobalData
 void save()
          Inserts/Updates the DO into its table.
 void save(com.lutris.appserver.server.sql.DBTransaction dbt)
          Inserts/Updates the DO into its table.
 void setDataId(java.lang.String DataId)
          Set DataId of the SHKGlobalData
 void setDataType(short DataType)
          Set DataType of the SHKGlobalData
 void setDataValue(byte[] DataValue)
          Set DataValue of the SHKGlobalData
 void setDataValueBOOL(boolean DataValueBOOL)
          Set DataValueBOOL of the SHKGlobalData
 void setDataValueDATE(java.sql.Timestamp DataValueDATE)
          Set DataValueDATE of the SHKGlobalData
 void setDataValueDBL(double DataValueDBL)
          Set DataValueDBL of the SHKGlobalData
 void setDataValueLONG(long DataValueLONG)
          Set DataValueLONG of the SHKGlobalData
 void setDataValueVCHAR(java.lang.String DataValueVCHAR)
          Set DataValueVCHAR of the SHKGlobalData
 void setDataValueXML(org.w3c.dom.Node DataValueXML)
          Set DataValueXML of the SHKGlobalData
 void setOrdNo(int OrdNo)
          Set OrdNo of the SHKGlobalData
 

Method Detail

getDataId

java.lang.String getDataId()
                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get DataId of the SHKGlobalData

Returns:
DataId of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setDataId

void setDataId(java.lang.String DataId)
               throws com.lutris.dods.builder.generator.query.DataObjectException
Set DataId of the SHKGlobalData

Parameters:
DataId - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getDataType

short getDataType()
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Get DataType of the SHKGlobalData

Returns:
DataType of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setDataType

void setDataType(short DataType)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set DataType of the SHKGlobalData

Parameters:
DataType - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getDataValue

byte[] getDataValue()
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get DataValue of the SHKGlobalData

Returns:
DataValue of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setDataValue

void setDataValue(byte[] DataValue)
                  throws com.lutris.dods.builder.generator.query.DataObjectException
Set DataValue of the SHKGlobalData

Parameters:
DataValue - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getDataValueXML

org.w3c.dom.Node getDataValueXML()
                                 throws com.lutris.dods.builder.generator.query.DataObjectException
Get DataValueXML of the SHKGlobalData

Returns:
DataValueXML of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setDataValueXML

void setDataValueXML(org.w3c.dom.Node DataValueXML)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Set DataValueXML of the SHKGlobalData

Parameters:
DataValueXML - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getDataValueVCHAR

java.lang.String getDataValueVCHAR()
                                   throws com.lutris.dods.builder.generator.query.DataObjectException
Get DataValueVCHAR of the SHKGlobalData

Returns:
DataValueVCHAR of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setDataValueVCHAR

void setDataValueVCHAR(java.lang.String DataValueVCHAR)
                       throws com.lutris.dods.builder.generator.query.DataObjectException
Set DataValueVCHAR of the SHKGlobalData

Parameters:
DataValueVCHAR - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getDataValueDBL

double getDataValueDBL()
                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get DataValueDBL of the SHKGlobalData

Returns:
DataValueDBL of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setDataValueDBL

void setDataValueDBL(double DataValueDBL)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Set DataValueDBL of the SHKGlobalData

Parameters:
DataValueDBL - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getDataValueLONG

long getDataValueLONG()
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get DataValueLONG of the SHKGlobalData

Returns:
DataValueLONG of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setDataValueLONG

void setDataValueLONG(long DataValueLONG)
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Set DataValueLONG of the SHKGlobalData

Parameters:
DataValueLONG - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getDataValueDATE

java.sql.Timestamp getDataValueDATE()
                                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get DataValueDATE of the SHKGlobalData

Returns:
DataValueDATE of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setDataValueDATE

void setDataValueDATE(java.sql.Timestamp DataValueDATE)
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Set DataValueDATE of the SHKGlobalData

Parameters:
DataValueDATE - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getDataValueBOOL

boolean getDataValueBOOL()
                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get DataValueBOOL of the SHKGlobalData

Returns:
DataValueBOOL of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setDataValueBOOL

void setDataValueBOOL(boolean DataValueBOOL)
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Set DataValueBOOL of the SHKGlobalData

Parameters:
DataValueBOOL - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

getOrdNo

int getOrdNo()
             throws com.lutris.dods.builder.generator.query.DataObjectException
Get OrdNo of the SHKGlobalData

Returns:
OrdNo of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

setOrdNo

void setOrdNo(int OrdNo)
              throws com.lutris.dods.builder.generator.query.DataObjectException
Set OrdNo of the SHKGlobalData

Parameters:
OrdNo - of the SHKGlobalData
Throws:
com.lutris.dods.builder.generator.query.DataObjectException - If the object is not found in the database.

save

void save()
          throws java.sql.SQLException,
                 com.lutris.appserver.server.sql.DatabaseManagerException,
                 com.lutris.dods.builder.generator.query.DataObjectException,
                 com.lutris.dods.builder.generator.query.RefAssertionException,
                 com.lutris.appserver.server.sql.DBRowUpdateException,
                 com.lutris.dods.builder.generator.query.QueryException
Inserts/Updates the DO into its table.

Throws:
java.sql.SQLException - if any SQL errors occur.
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.RefAssertionException - thrown by okTo method.
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

save

void save(com.lutris.appserver.server.sql.DBTransaction dbt)
          throws java.sql.SQLException,
                 com.lutris.appserver.server.sql.DatabaseManagerException,
                 com.lutris.dods.builder.generator.query.DataObjectException,
                 com.lutris.dods.builder.generator.query.RefAssertionException,
                 com.lutris.appserver.server.sql.DBRowUpdateException,
                 com.lutris.dods.builder.generator.query.QueryException
Inserts/Updates the DO into its table. The transaction is likely provided by the save() method of another DO which references this DO.

Parameters:
dbt - The transaction object to use for this operation.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.appserver.server.sql.DBRowUpdateException - if a version error occurs.
com.lutris.dods.builder.generator.query.RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.QueryException

commit

void commit()
            throws java.sql.SQLException,
                   com.lutris.appserver.server.sql.DatabaseManagerException,
                   com.lutris.dods.builder.generator.query.DataObjectException,
                   com.lutris.dods.builder.generator.query.RefAssertionException,
                   com.lutris.appserver.server.sql.DBRowUpdateException,
                   com.lutris.dods.builder.generator.query.QueryException
Deprecated. Use save() instead.

Inserts/Updates the DO into its table.

Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

commit

void commit(com.lutris.appserver.server.sql.DBTransaction dbt)
            throws java.sql.SQLException,
                   com.lutris.appserver.server.sql.DatabaseManagerException,
                   com.lutris.dods.builder.generator.query.DataObjectException,
                   com.lutris.dods.builder.generator.query.RefAssertionException,
                   com.lutris.appserver.server.sql.DBRowUpdateException,
                   com.lutris.dods.builder.generator.query.QueryException
Deprecated. Use save() instead.

Inserts/Updates the DO into its table. The transaction is likely provided by the commit() method of another DO which references this DO.

Parameters:
dbt - The transaction object to use for this operation.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.appserver.server.sql.DBRowUpdateException - if a version error occurs.
com.lutris.dods.builder.generator.query.RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.QueryException

delete

void delete()
            throws java.sql.SQLException,
                   com.lutris.appserver.server.sql.DatabaseManagerException,
                   com.lutris.dods.builder.generator.query.DataObjectException,
                   com.lutris.dods.builder.generator.query.RefAssertionException,
                   com.lutris.appserver.server.sql.DBRowUpdateException,
                   com.lutris.dods.builder.generator.query.QueryException
Deletes the DO from its table.

Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.dods.builder.generator.query.RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.appserver.server.sql.DBRowUpdateException
com.lutris.dods.builder.generator.query.QueryException

delete

void delete(com.lutris.appserver.server.sql.DBTransaction dbt)
            throws java.sql.SQLException,
                   com.lutris.appserver.server.sql.DatabaseManagerException,
                   com.lutris.dods.builder.generator.query.DataObjectException,
                   com.lutris.dods.builder.generator.query.RefAssertionException,
                   com.lutris.appserver.server.sql.DBRowUpdateException,
                   com.lutris.dods.builder.generator.query.QueryException
Deletes the DO from its table. The transaction is likely provided by the delete() method of another DO which references this DO.

Parameters:
dbt - The transaction object to use for this operation.
Throws:
com.lutris.appserver.server.sql.DatabaseManagerException - if a Transaction can not be created.
com.lutris.appserver.server.sql.DBRowUpdateException - if a version error occurs.
com.lutris.dods.builder.generator.query.RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
com.lutris.dods.builder.generator.query.DataObjectException
com.lutris.dods.builder.generator.query.QueryException