org.enhydra.shark.instancepersistence.data
Interface ProcessDataDOI

All Known Implementing Classes:
ProcessDataDO

public interface ProcessDataDOI

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

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.math.BigDecimal getCNT()
          Get CNT of the SHKProcessData
 int getOrdNo()
          Get OrdNo of the SHKProcessData
 ProcessDO getProcess()
          Get Process of the SHKProcessData
 java.lang.String getVariableDefinitionId()
          Get VariableDefinitionId of the SHKProcessData
 short getVariableType()
          Get VariableType of the SHKProcessData
 byte[] getVariableValue()
          Get VariableValue of the SHKProcessData
 boolean getVariableValueBOOL()
          Get VariableValueBOOL of the SHKProcessData
 java.sql.Timestamp getVariableValueDATE()
          Get VariableValueDATE of the SHKProcessData
 double getVariableValueDBL()
          Get VariableValueDBL of the SHKProcessData
 long getVariableValueLONG()
          Get VariableValueLONG of the SHKProcessData
 java.lang.String getVariableValueVCHAR()
          Get VariableValueVCHAR of the SHKProcessData
 org.w3c.dom.Node getVariableValueXML()
          Get VariableValueXML of the SHKProcessData
 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 setCNT(java.math.BigDecimal CNT)
          Set CNT of the SHKProcessData
 void setOrdNo(int OrdNo)
          Set OrdNo of the SHKProcessData
 void setProcess(ProcessDO Process)
          Set Process of the SHKProcessData
 void setVariableDefinitionId(java.lang.String VariableDefinitionId)
          Set VariableDefinitionId of the SHKProcessData
 void setVariableType(short VariableType)
          Set VariableType of the SHKProcessData
 void setVariableValue(byte[] VariableValue)
          Set VariableValue of the SHKProcessData
 void setVariableValueBOOL(boolean VariableValueBOOL)
          Set VariableValueBOOL of the SHKProcessData
 void setVariableValueDATE(java.sql.Timestamp VariableValueDATE)
          Set VariableValueDATE of the SHKProcessData
 void setVariableValueDBL(double VariableValueDBL)
          Set VariableValueDBL of the SHKProcessData
 void setVariableValueLONG(long VariableValueLONG)
          Set VariableValueLONG of the SHKProcessData
 void setVariableValueVCHAR(java.lang.String VariableValueVCHAR)
          Set VariableValueVCHAR of the SHKProcessData
 void setVariableValueXML(org.w3c.dom.Node VariableValueXML)
          Set VariableValueXML of the SHKProcessData
 

Method Detail

getProcess

ProcessDO getProcess()
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get Process of the SHKProcessData

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

setProcess

void setProcess(ProcessDO Process)
                throws com.lutris.dods.builder.generator.query.DataObjectException
Set Process of the SHKProcessData

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

getVariableDefinitionId

java.lang.String getVariableDefinitionId()
                                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get VariableDefinitionId of the SHKProcessData

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

setVariableDefinitionId

void setVariableDefinitionId(java.lang.String VariableDefinitionId)
                             throws com.lutris.dods.builder.generator.query.DataObjectException
Set VariableDefinitionId of the SHKProcessData

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

getVariableType

short getVariableType()
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get VariableType of the SHKProcessData

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

setVariableType

void setVariableType(short VariableType)
                     throws com.lutris.dods.builder.generator.query.DataObjectException
Set VariableType of the SHKProcessData

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

getVariableValue

byte[] getVariableValue()
                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get VariableValue of the SHKProcessData

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

setVariableValue

void setVariableValue(byte[] VariableValue)
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Set VariableValue of the SHKProcessData

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

getVariableValueXML

org.w3c.dom.Node getVariableValueXML()
                                     throws com.lutris.dods.builder.generator.query.DataObjectException
Get VariableValueXML of the SHKProcessData

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

setVariableValueXML

void setVariableValueXML(org.w3c.dom.Node VariableValueXML)
                         throws com.lutris.dods.builder.generator.query.DataObjectException
Set VariableValueXML of the SHKProcessData

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

getVariableValueVCHAR

java.lang.String getVariableValueVCHAR()
                                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get VariableValueVCHAR of the SHKProcessData

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

setVariableValueVCHAR

void setVariableValueVCHAR(java.lang.String VariableValueVCHAR)
                           throws com.lutris.dods.builder.generator.query.DataObjectException
Set VariableValueVCHAR of the SHKProcessData

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

getVariableValueDBL

double getVariableValueDBL()
                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get VariableValueDBL of the SHKProcessData

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

setVariableValueDBL

void setVariableValueDBL(double VariableValueDBL)
                         throws com.lutris.dods.builder.generator.query.DataObjectException
Set VariableValueDBL of the SHKProcessData

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

getVariableValueLONG

long getVariableValueLONG()
                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get VariableValueLONG of the SHKProcessData

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

setVariableValueLONG

void setVariableValueLONG(long VariableValueLONG)
                          throws com.lutris.dods.builder.generator.query.DataObjectException
Set VariableValueLONG of the SHKProcessData

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

getVariableValueDATE

java.sql.Timestamp getVariableValueDATE()
                                        throws com.lutris.dods.builder.generator.query.DataObjectException
Get VariableValueDATE of the SHKProcessData

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

setVariableValueDATE

void setVariableValueDATE(java.sql.Timestamp VariableValueDATE)
                          throws com.lutris.dods.builder.generator.query.DataObjectException
Set VariableValueDATE of the SHKProcessData

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

getVariableValueBOOL

boolean getVariableValueBOOL()
                             throws com.lutris.dods.builder.generator.query.DataObjectException
Get VariableValueBOOL of the SHKProcessData

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

setVariableValueBOOL

void setVariableValueBOOL(boolean VariableValueBOOL)
                          throws com.lutris.dods.builder.generator.query.DataObjectException
Set VariableValueBOOL of the SHKProcessData

Parameters:
VariableValueBOOL - of the SHKProcessData
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 SHKProcessData

Returns:
OrdNo of the SHKProcessData
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 SHKProcessData

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

getCNT

java.math.BigDecimal getCNT()
                            throws com.lutris.dods.builder.generator.query.DataObjectException
Get CNT of the SHKProcessData

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

setCNT

void setCNT(java.math.BigDecimal CNT)
            throws com.lutris.dods.builder.generator.query.DataObjectException
Set CNT of the SHKProcessData

Parameters:
CNT - of the SHKProcessData
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