Enhydra 5.1 API

org.webdocwf.util.genericstore.data
Interface AttributeBoolValueDOI

All Known Implementing Classes:
AttributeBoolValueDO

public interface AttributeBoolValueDOI

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

Since:
org
Version:
$Revision: 1.2 $
Author:
administrator

Method Summary
 void commit()
          Deprecated. Use save() instead.
 void commit(DBTransaction dbt)
          Deprecated. Use save() instead.
 void delete()
          Deletes the DO from its table.
 void delete(DBTransaction dbt)
          Deletes the DO from its table.
 AttributeDefinitionDO getATTRIBUTEDEFINITIONOID()
          Get ATTRIBUTEDEFINITIONOID of the ATTRIBUTEBOOLVALUE
 boolean getBOOLVALUE()
          Get BOOLVALUE of the ATTRIBUTEBOOLVALUE
 GenericObjectDO getGENERICOBJECTOID()
          Get GENERICOBJECTOID of the ATTRIBUTEBOOLVALUE
 void save()
          Inserts/Updates the DO into its table.
 void save(DBTransaction dbt)
          Inserts/Updates the DO into its table.
 void setATTRIBUTEDEFINITIONOID(AttributeDefinitionDO ATTRIBUTEDEFINITIONOID)
          Set ATTRIBUTEDEFINITIONOID of the ATTRIBUTEBOOLVALUE
 void setBOOLVALUE(boolean BOOLVALUE)
          Set BOOLVALUE of the ATTRIBUTEBOOLVALUE
 void setGENERICOBJECTOID(GenericObjectDO GENERICOBJECTOID)
          Set GENERICOBJECTOID of the ATTRIBUTEBOOLVALUE
 

Method Detail

getATTRIBUTEDEFINITIONOID

public AttributeDefinitionDO getATTRIBUTEDEFINITIONOID()
                                                throws DataObjectException
Get ATTRIBUTEDEFINITIONOID of the ATTRIBUTEBOOLVALUE

Returns:
ATTRIBUTEDEFINITIONOID of the ATTRIBUTEBOOLVALUE
Throws:
DataObjectException - If the object is not found in the database.

setATTRIBUTEDEFINITIONOID

public void setATTRIBUTEDEFINITIONOID(AttributeDefinitionDO ATTRIBUTEDEFINITIONOID)
                               throws DataObjectException
Set ATTRIBUTEDEFINITIONOID of the ATTRIBUTEBOOLVALUE

Parameters:
ATTRIBUTEDEFINITIONOID - of the ATTRIBUTEBOOLVALUE
Throws:
DataObjectException - If the object is not found in the database.

getBOOLVALUE

public boolean getBOOLVALUE()
                     throws DataObjectException
Get BOOLVALUE of the ATTRIBUTEBOOLVALUE

Returns:
BOOLVALUE of the ATTRIBUTEBOOLVALUE
Throws:
DataObjectException - If the object is not found in the database.

setBOOLVALUE

public void setBOOLVALUE(boolean BOOLVALUE)
                  throws DataObjectException
Set BOOLVALUE of the ATTRIBUTEBOOLVALUE

Parameters:
BOOLVALUE - of the ATTRIBUTEBOOLVALUE
Throws:
DataObjectException - If the object is not found in the database.

getGENERICOBJECTOID

public GenericObjectDO getGENERICOBJECTOID()
                                    throws DataObjectException
Get GENERICOBJECTOID of the ATTRIBUTEBOOLVALUE

Returns:
GENERICOBJECTOID of the ATTRIBUTEBOOLVALUE
Throws:
DataObjectException - If the object is not found in the database.

setGENERICOBJECTOID

public void setGENERICOBJECTOID(GenericObjectDO GENERICOBJECTOID)
                         throws DataObjectException
Set GENERICOBJECTOID of the ATTRIBUTEBOOLVALUE

Parameters:
GENERICOBJECTOID - of the ATTRIBUTEBOOLVALUE
Throws:
DataObjectException - If the object is not found in the database.

save

public void save()
          throws java.sql.SQLException,
                 DatabaseManagerException,
                 DataObjectException,
                 RefAssertionException,
                 DBRowUpdateException,
                 QueryException
Inserts/Updates the DO into its table.

Throws:
DatabaseManagerException - if a Transaction can not be created.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException

save

public void save(DBTransaction dbt)
          throws java.sql.SQLException,
                 DatabaseManagerException,
                 DataObjectException,
                 RefAssertionException,
                 DBRowUpdateException,
                 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:
DatabaseManagerException - if a Transaction can not be created.
DBRowUpdateException - if a version error occurs.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
QueryException

commit

public void commit()
            throws java.sql.SQLException,
                   DatabaseManagerException,
                   DataObjectException,
                   RefAssertionException,
                   DBRowUpdateException,
                   QueryException
Deprecated. Use save() instead.

Inserts/Updates the DO into its table.

Throws:
DatabaseManagerException - if a Transaction can not be created.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException

commit

public void commit(DBTransaction dbt)
            throws java.sql.SQLException,
                   DatabaseManagerException,
                   DataObjectException,
                   RefAssertionException,
                   DBRowUpdateException,
                   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:
DatabaseManagerException - if a Transaction can not be created.
DBRowUpdateException - if a version error occurs.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
QueryException

delete

public void delete()
            throws java.sql.SQLException,
                   DatabaseManagerException,
                   DataObjectException,
                   RefAssertionException,
                   DBRowUpdateException,
                   QueryException
Deletes the DO from its table.

Throws:
DatabaseManagerException - if a Transaction can not be created.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
DBRowUpdateException
QueryException

delete

public void delete(DBTransaction dbt)
            throws java.sql.SQLException,
                   DatabaseManagerException,
                   DataObjectException,
                   RefAssertionException,
                   DBRowUpdateException,
                   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:
DatabaseManagerException - if a Transaction can not be created.
DBRowUpdateException - if a version error occurs.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur.
DataObjectException
QueryException

Enhydra 5.1 API