DODS 5.1 API

org.webdocwf.util.genericstore.data
Interface AttributeDefinitionDOI

All Known Implementing Classes:
AttributeDefinitionDO

public interface AttributeDefinitionDOI

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

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 getATTROBJECTCLASS()
          Get ATTROBJECTCLASS of the GENERICATTRIBUTEDEFINITION
 java.math.BigDecimal getATTRSCALE()
          Get ATTRSCALE of the GENERICATTRIBUTEDEFINITION
 java.lang.String getATTRTYPE()
          Get ATTRTYPE of the GENERICATTRIBUTEDEFINITION
 EnumTypeDefinitionDO getENUMTYPEDEFINITIONOID()
          Get ENUMTYPEDEFINITIONOID of the GENERICATTRIBUTEDEFINITION
 java.lang.String getKEYVALUE()
          Get KEYVALUE of the GENERICATTRIBUTEDEFINITION
 java.lang.String getLONGNAME()
          Get LONGNAME of the GENERICATTRIBUTEDEFINITION
 java.lang.String getSHORTNAME()
          Get SHORTNAME of the GENERICATTRIBUTEDEFINITION
 boolean getTRANSLATEATTR()
          Get TRANSLATEATTR of the GENERICATTRIBUTEDEFINITION
 java.lang.String getXMLNAME()
          Get XMLNAME of the GENERICATTRIBUTEDEFINITION
 void save()
          Inserts/Updates the DO into its table.
 void save(DBTransaction dbt)
          Inserts/Updates the DO into its table.
 void setATTROBJECTCLASS(java.lang.String ATTROBJECTCLASS)
          Set ATTROBJECTCLASS of the GENERICATTRIBUTEDEFINITION
 void setATTRSCALE(java.math.BigDecimal ATTRSCALE)
          Set ATTRSCALE of the GENERICATTRIBUTEDEFINITION
 void setATTRTYPE(java.lang.String ATTRTYPE)
          Set ATTRTYPE of the GENERICATTRIBUTEDEFINITION
 void setENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID)
          Set ENUMTYPEDEFINITIONOID of the GENERICATTRIBUTEDEFINITION
 void setKEYVALUE(java.lang.String KEYVALUE)
          Set KEYVALUE of the GENERICATTRIBUTEDEFINITION
 void setLONGNAME(java.lang.String LONGNAME)
          Set LONGNAME of the GENERICATTRIBUTEDEFINITION
 void setSHORTNAME(java.lang.String SHORTNAME)
          Set SHORTNAME of the GENERICATTRIBUTEDEFINITION
 void setTRANSLATEATTR(boolean TRANSLATEATTR)
          Set TRANSLATEATTR of the GENERICATTRIBUTEDEFINITION
 void setXMLNAME(java.lang.String XMLNAME)
          Set XMLNAME of the GENERICATTRIBUTEDEFINITION
 

Method Detail

getKEYVALUE

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

Returns:
KEYVALUE of the GENERICATTRIBUTEDEFINITION
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 GENERICATTRIBUTEDEFINITION

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

getSHORTNAME

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

Returns:
SHORTNAME of the GENERICATTRIBUTEDEFINITION
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 GENERICATTRIBUTEDEFINITION

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

getLONGNAME

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

Returns:
LONGNAME of the GENERICATTRIBUTEDEFINITION
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 GENERICATTRIBUTEDEFINITION

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

getXMLNAME

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

Returns:
XMLNAME of the GENERICATTRIBUTEDEFINITION
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 GENERICATTRIBUTEDEFINITION

Parameters:
XMLNAME - of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

getATTRSCALE

public java.math.BigDecimal getATTRSCALE()
                                  throws DataObjectException
Get ATTRSCALE of the GENERICATTRIBUTEDEFINITION

Returns:
ATTRSCALE of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

setATTRSCALE

public void setATTRSCALE(java.math.BigDecimal ATTRSCALE)
                  throws DataObjectException
Set ATTRSCALE of the GENERICATTRIBUTEDEFINITION

Parameters:
ATTRSCALE - of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

getATTRTYPE

public java.lang.String getATTRTYPE()
                             throws DataObjectException
Get ATTRTYPE of the GENERICATTRIBUTEDEFINITION

Returns:
ATTRTYPE of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

setATTRTYPE

public void setATTRTYPE(java.lang.String ATTRTYPE)
                 throws DataObjectException
Set ATTRTYPE of the GENERICATTRIBUTEDEFINITION

Parameters:
ATTRTYPE - of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

getTRANSLATEATTR

public boolean getTRANSLATEATTR()
                         throws DataObjectException
Get TRANSLATEATTR of the GENERICATTRIBUTEDEFINITION

Returns:
TRANSLATEATTR of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

setTRANSLATEATTR

public void setTRANSLATEATTR(boolean TRANSLATEATTR)
                      throws DataObjectException
Set TRANSLATEATTR of the GENERICATTRIBUTEDEFINITION

Parameters:
TRANSLATEATTR - of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

getATTROBJECTCLASS

public java.lang.String getATTROBJECTCLASS()
                                    throws DataObjectException
Get ATTROBJECTCLASS of the GENERICATTRIBUTEDEFINITION

Returns:
ATTROBJECTCLASS of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

setATTROBJECTCLASS

public void setATTROBJECTCLASS(java.lang.String ATTROBJECTCLASS)
                        throws DataObjectException
Set ATTROBJECTCLASS of the GENERICATTRIBUTEDEFINITION

Parameters:
ATTROBJECTCLASS - of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

getENUMTYPEDEFINITIONOID

public EnumTypeDefinitionDO getENUMTYPEDEFINITIONOID()
                                              throws DataObjectException
Get ENUMTYPEDEFINITIONOID of the GENERICATTRIBUTEDEFINITION

Returns:
ENUMTYPEDEFINITIONOID of the GENERICATTRIBUTEDEFINITION
Throws:
DataObjectException - If the object is not found in the database.

setENUMTYPEDEFINITIONOID

public void setENUMTYPEDEFINITIONOID(EnumTypeDefinitionDO ENUMTYPEDEFINITIONOID)
                              throws DataObjectException
Set ENUMTYPEDEFINITIONOID of the GENERICATTRIBUTEDEFINITION

Parameters:
ENUMTYPEDEFINITIONOID - of the GENERICATTRIBUTEDEFINITION
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