org.enhydra.shark.instancepersistence.data
Interface AndJoinEntryDOI

All Known Implementing Classes:
AndJoinEntryDO

public interface AndJoinEntryDOI

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

Since:
DODS Project
Version:
$Revision: 1.12 $
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.
 ActivityDO getActivity()
          Get Activity of the SHKAndJoinTable
 java.lang.String getActivityDefinitionId()
          Get ActivityDefinitionId of the SHKAndJoinTable
 ActivityDO getBlockActivity()
          Get BlockActivity of the SHKAndJoinTable
 java.math.BigDecimal getCNT()
          Get CNT of the SHKAndJoinTable
 ProcessDO getProcess()
          Get Process of the SHKAndJoinTable
 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 setActivity(ActivityDO Activity)
          Set Activity of the SHKAndJoinTable
 void setActivityDefinitionId(java.lang.String ActivityDefinitionId)
          Set ActivityDefinitionId of the SHKAndJoinTable
 void setBlockActivity(ActivityDO BlockActivity)
          Set BlockActivity of the SHKAndJoinTable
 void setCNT(java.math.BigDecimal CNT)
          Set CNT of the SHKAndJoinTable
 void setProcess(ProcessDO Process)
          Set Process of the SHKAndJoinTable
 

Method Detail

getProcess

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

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

setProcess

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

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

getBlockActivity

public ActivityDO getBlockActivity()
                            throws com.lutris.dods.builder.generator.query.DataObjectException
Get BlockActivity of the SHKAndJoinTable

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

setBlockActivity

public void setBlockActivity(ActivityDO BlockActivity)
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Set BlockActivity of the SHKAndJoinTable

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

getActivityDefinitionId

public java.lang.String getActivityDefinitionId()
                                         throws com.lutris.dods.builder.generator.query.DataObjectException
Get ActivityDefinitionId of the SHKAndJoinTable

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

setActivityDefinitionId

public void setActivityDefinitionId(java.lang.String ActivityDefinitionId)
                             throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivityDefinitionId of the SHKAndJoinTable

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

getActivity

public ActivityDO getActivity()
                       throws com.lutris.dods.builder.generator.query.DataObjectException
Get Activity of the SHKAndJoinTable

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

setActivity

public void setActivity(ActivityDO Activity)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set Activity of the SHKAndJoinTable

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

getCNT

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

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

setCNT

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

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

save

public 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

public 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

public 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

public 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

public 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

public 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