org.enhydra.shark.instancepersistence.data
Interface ActivityDataDOI

All Known Implementing Classes:
ActivityDataDO

public interface ActivityDataDOI

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

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

Method Detail

getActivity

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

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

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

getVariableDefinitionId

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

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

setVariableDefinitionId

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

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

getVariableType

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

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

setVariableType

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

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

getVariableValue

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

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

setVariableValue

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

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

getVariableValueXML

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

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

setVariableValueXML

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

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

getVariableValueVCHAR

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

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

setVariableValueVCHAR

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

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

getVariableValueDBL

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

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

setVariableValueDBL

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

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

getVariableValueLONG

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

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

setVariableValueLONG

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

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

getVariableValueDATE

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

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

setVariableValueDATE

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

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

getVariableValueBOOL

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

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

setVariableValueBOOL

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

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

getIsResult

public boolean getIsResult()
                    throws com.lutris.dods.builder.generator.query.DataObjectException
Get IsResult of the SHKActivityData

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

setIsResult

public void setIsResult(boolean IsResult)
                 throws com.lutris.dods.builder.generator.query.DataObjectException
Set IsResult of the SHKActivityData

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

getOrdNo

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

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

setOrdNo

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

Parameters:
OrdNo - of the SHKActivityData
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 SHKActivityData

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

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