org.enhydra.shark.instancepersistence.data
Interface AssignmentDOI

All Known Implementing Classes:
AssignmentDO

public interface AssignmentDOI

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

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 SHKAssignmentsTable
 java.lang.String getActivityId()
          Get ActivityId of the SHKAssignmentsTable
 java.lang.String getActivityProcessDefName()
          Get ActivityProcessDefName of the SHKAssignmentsTable
 java.lang.String getActivityProcessId()
          Get ActivityProcessId of the SHKAssignmentsTable
 java.math.BigDecimal getCNT()
          Get CNT of the SHKAssignmentsTable
 boolean getIsAccepted()
          Get IsAccepted of the SHKAssignmentsTable
 boolean getIsValid()
          Get IsValid of the SHKAssignmentsTable
 java.lang.String getResourceId()
          Get ResourceId of the SHKAssignmentsTable
 ResourceDO getTheResource()
          Get TheResource of the SHKAssignmentsTable
 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 SHKAssignmentsTable
 void setActivityId(java.lang.String ActivityId)
          Set ActivityId of the SHKAssignmentsTable
 void setActivityProcessDefName(java.lang.String ActivityProcessDefName)
          Set ActivityProcessDefName of the SHKAssignmentsTable
 void setActivityProcessId(java.lang.String ActivityProcessId)
          Set ActivityProcessId of the SHKAssignmentsTable
 void setCNT(java.math.BigDecimal CNT)
          Set CNT of the SHKAssignmentsTable
 void setIsAccepted(boolean IsAccepted)
          Set IsAccepted of the SHKAssignmentsTable
 void setIsValid(boolean IsValid)
          Set IsValid of the SHKAssignmentsTable
 void setResourceId(java.lang.String ResourceId)
          Set ResourceId of the SHKAssignmentsTable
 void setTheResource(ResourceDO TheResource)
          Set TheResource of the SHKAssignmentsTable
 

Method Detail

getActivity

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

Returns:
Activity of the SHKAssignmentsTable
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 SHKAssignmentsTable

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

getTheResource

public ResourceDO getTheResource()
                          throws com.lutris.dods.builder.generator.query.DataObjectException
Get TheResource of the SHKAssignmentsTable

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

setTheResource

public void setTheResource(ResourceDO TheResource)
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Set TheResource of the SHKAssignmentsTable

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

getActivityId

public java.lang.String getActivityId()
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get ActivityId of the SHKAssignmentsTable

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

setActivityId

public void setActivityId(java.lang.String ActivityId)
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivityId of the SHKAssignmentsTable

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

getActivityProcessId

public java.lang.String getActivityProcessId()
                                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get ActivityProcessId of the SHKAssignmentsTable

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

setActivityProcessId

public void setActivityProcessId(java.lang.String ActivityProcessId)
                          throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivityProcessId of the SHKAssignmentsTable

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

getActivityProcessDefName

public java.lang.String getActivityProcessDefName()
                                           throws com.lutris.dods.builder.generator.query.DataObjectException
Get ActivityProcessDefName of the SHKAssignmentsTable

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

setActivityProcessDefName

public void setActivityProcessDefName(java.lang.String ActivityProcessDefName)
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Set ActivityProcessDefName of the SHKAssignmentsTable

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

getResourceId

public java.lang.String getResourceId()
                               throws com.lutris.dods.builder.generator.query.DataObjectException
Get ResourceId of the SHKAssignmentsTable

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

setResourceId

public void setResourceId(java.lang.String ResourceId)
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set ResourceId of the SHKAssignmentsTable

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

getIsAccepted

public boolean getIsAccepted()
                      throws com.lutris.dods.builder.generator.query.DataObjectException
Get IsAccepted of the SHKAssignmentsTable

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

setIsAccepted

public void setIsAccepted(boolean IsAccepted)
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Set IsAccepted of the SHKAssignmentsTable

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

getIsValid

public boolean getIsValid()
                   throws com.lutris.dods.builder.generator.query.DataObjectException
Get IsValid of the SHKAssignmentsTable

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

setIsValid

public void setIsValid(boolean IsValid)
                throws com.lutris.dods.builder.generator.query.DataObjectException
Set IsValid of the SHKAssignmentsTable

Parameters:
IsValid - of the SHKAssignmentsTable
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 SHKAssignmentsTable

Returns:
CNT of the SHKAssignmentsTable
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 SHKAssignmentsTable

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