DODS 5.1 API

org.webdocwf.util.genericstore.data
Interface EnumTypeDefinitionDOI

All Known Implementing Classes:
EnumTypeDefinitionDO

public interface EnumTypeDefinitionDOI

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

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.
 java.lang.String getKEYVALUE()
          Get KEYVALUE of the GENERICENUMTYPEDEFINITION
 java.lang.String getLONGNAME()
          Get LONGNAME of the GENERICENUMTYPEDEFINITION
 java.lang.String getSHORTNAME()
          Get SHORTNAME of the GENERICENUMTYPEDEFINITION
 java.lang.String getXMLNAME()
          Get XMLNAME of the GENERICENUMTYPEDEFINITION
 void save()
          Inserts/Updates the DO into its table.
 void save(DBTransaction dbt)
          Inserts/Updates the DO into its table.
 void setKEYVALUE(java.lang.String KEYVALUE)
          Set KEYVALUE of the GENERICENUMTYPEDEFINITION
 void setLONGNAME(java.lang.String LONGNAME)
          Set LONGNAME of the GENERICENUMTYPEDEFINITION
 void setSHORTNAME(java.lang.String SHORTNAME)
          Set SHORTNAME of the GENERICENUMTYPEDEFINITION
 void setXMLNAME(java.lang.String XMLNAME)
          Set XMLNAME of the GENERICENUMTYPEDEFINITION
 

Method Detail

getLONGNAME

public java.lang.String getLONGNAME()
                             throws DataObjectException
Get LONGNAME of the GENERICENUMTYPEDEFINITION

Returns:
LONGNAME of the GENERICENUMTYPEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

setLONGNAME

public void setLONGNAME(java.lang.String LONGNAME)
                 throws DataObjectException
Set LONGNAME of the GENERICENUMTYPEDEFINITION

Parameters:
LONGNAME - of the GENERICENUMTYPEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

getSHORTNAME

public java.lang.String getSHORTNAME()
                              throws DataObjectException
Get SHORTNAME of the GENERICENUMTYPEDEFINITION

Returns:
SHORTNAME of the GENERICENUMTYPEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

setSHORTNAME

public void setSHORTNAME(java.lang.String SHORTNAME)
                  throws DataObjectException
Set SHORTNAME of the GENERICENUMTYPEDEFINITION

Parameters:
SHORTNAME - of the GENERICENUMTYPEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

getKEYVALUE

public java.lang.String getKEYVALUE()
                             throws DataObjectException
Get KEYVALUE of the GENERICENUMTYPEDEFINITION

Returns:
KEYVALUE of the GENERICENUMTYPEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

setKEYVALUE

public void setKEYVALUE(java.lang.String KEYVALUE)
                 throws DataObjectException
Set KEYVALUE of the GENERICENUMTYPEDEFINITION

Parameters:
KEYVALUE - of the GENERICENUMTYPEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

getXMLNAME

public java.lang.String getXMLNAME()
                            throws DataObjectException
Get XMLNAME of the GENERICENUMTYPEDEFINITION

Returns:
XMLNAME of the GENERICENUMTYPEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

setXMLNAME

public void setXMLNAME(java.lang.String XMLNAME)
                throws DataObjectException
Set XMLNAME of the GENERICENUMTYPEDEFINITION

Parameters:
XMLNAME - of the GENERICENUMTYPEDEFINITION
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

DODS 5.1 API