DODS 5.1 API

org.webdocwf.util.genericstore.data
Class GenericObjectDO

java.lang.Object
  |
  +--com.lutris.appserver.server.sql.CoreDO
        |
        +--com.lutris.appserver.server.sql.CloneableDO
              |
              +--com.lutris.dods.builder.generator.dataobject.GenericDO
                    |
                    +--org.webdocwf.dods.access.SecureDO
                          |
                          +--org.webdocwf.util.genericstore.GenericStoreDO
                                |
                                +--org.webdocwf.util.genericstore.data.GenericObjectDO
All Implemented Interfaces:
java.lang.Cloneable, GenericObjectDOI, java.io.Serializable, Transaction

public class GenericObjectDO
extends GenericStoreDO
implements GenericObjectDOI, java.io.Serializable

Data core class, used to set, retrieve the GenericObjectDO information.

Since:
org
Version:
$Revision: 1.2 $
Author:
administrator
See Also:
Serialized Form

Field Summary
static RDBColumn EXTERNALOID
           
protected static boolean isView
           
static RDBColumn PrimaryKey
          static final RDBColumn PrimaryKey for use with QueryBuilder.
static RDBTable table
          static final data members name the table and columns for this DO.
static RDBColumn TYPEDEFINITIONOID
           
 
Fields inherited from class com.lutris.dods.builder.generator.dataobject.GenericDO
dirty
 
Fields inherited from class com.lutris.appserver.server.sql.CoreDO
persistent, versioning
 
Constructor Summary
protected GenericObjectDO()
          Protected constructor.
protected GenericObjectDO(boolean is_view)
          Protected constructor.
protected GenericObjectDO(ObjectId id)
          Protected constructor used by createExisting(ObjectId) above.
protected GenericObjectDO(java.sql.ResultSet rs)
          Protected constructor.
 
Method Summary
 void addAttributeBoolValueDO(AttributeBoolValueDO referrer)
          Add (set & commit) a AttributeBoolValueDO object that refers to this DO.
 void addAttributeBoolValueDO(AttributeBoolValueDO referrer, DBTransaction tran)
          Add (set & commit) a AttributeBoolValueDO object that refers to this DO.
 void addAttributeBoolValueDO(AttributeBoolValueDO referrer, DBTransaction tran, User usr)
          Add (set & commit) a AttributeBoolValueDO object that refers to this DO.
 void addAttributeBoolValueDO(AttributeBoolValueDO referrer, User usr)
          Add (set & commit) a AttributeBoolValueDO object that refers to this DO.
 void addAttributeDateValueDO(AttributeDateValueDO referrer)
          Add (set & commit) a AttributeDateValueDO object that refers to this DO.
 void addAttributeDateValueDO(AttributeDateValueDO referrer, DBTransaction tran)
          Add (set & commit) a AttributeDateValueDO object that refers to this DO.
 void addAttributeDateValueDO(AttributeDateValueDO referrer, DBTransaction tran, User usr)
          Add (set & commit) a AttributeDateValueDO object that refers to this DO.
 void addAttributeDateValueDO(AttributeDateValueDO referrer, User usr)
          Add (set & commit) a AttributeDateValueDO object that refers to this DO.
 void addAttributeEnumValueDO(AttributeEnumValueDO referrer)
          Add (set & commit) a AttributeEnumValueDO object that refers to this DO.
 void addAttributeEnumValueDO(AttributeEnumValueDO referrer, DBTransaction tran)
          Add (set & commit) a AttributeEnumValueDO object that refers to this DO.
 void addAttributeEnumValueDO(AttributeEnumValueDO referrer, DBTransaction tran, User usr)
          Add (set & commit) a AttributeEnumValueDO object that refers to this DO.
 void addAttributeEnumValueDO(AttributeEnumValueDO referrer, User usr)
          Add (set & commit) a AttributeEnumValueDO object that refers to this DO.
 void addAttributeNumberValueDO(AttributeNumberValueDO referrer)
          Add (set & commit) a AttributeNumberValueDO object that refers to this DO.
 void addAttributeNumberValueDO(AttributeNumberValueDO referrer, DBTransaction tran)
          Add (set & commit) a AttributeNumberValueDO object that refers to this DO.
 void addAttributeNumberValueDO(AttributeNumberValueDO referrer, DBTransaction tran, User usr)
          Add (set & commit) a AttributeNumberValueDO object that refers to this DO.
 void addAttributeNumberValueDO(AttributeNumberValueDO referrer, User usr)
          Add (set & commit) a AttributeNumberValueDO object that refers to this DO.
 void addAttributeObjectValueDO(AttributeObjectValueDO referrer)
          Add (set & commit) a AttributeObjectValueDO object that refers to this DO.
 void addAttributeObjectValueDO(AttributeObjectValueDO referrer, DBTransaction tran)
          Add (set & commit) a AttributeObjectValueDO object that refers to this DO.
 void addAttributeObjectValueDO(AttributeObjectValueDO referrer, DBTransaction tran, User usr)
          Add (set & commit) a AttributeObjectValueDO object that refers to this DO.
 void addAttributeObjectValueDO(AttributeObjectValueDO referrer, User usr)
          Add (set & commit) a AttributeObjectValueDO object that refers to this DO.
 void addAttributeStringValueDO(AttributeStringValueDO referrer)
          Add (set & commit) a AttributeStringValueDO object that refers to this DO.
 void addAttributeStringValueDO(AttributeStringValueDO referrer, DBTransaction tran)
          Add (set & commit) a AttributeStringValueDO object that refers to this DO.
 void addAttributeStringValueDO(AttributeStringValueDO referrer, DBTransaction tran, User usr)
          Add (set & commit) a AttributeStringValueDO object that refers to this DO.
 void addAttributeStringValueDO(AttributeStringValueDO referrer, User usr)
          Add (set & commit) a AttributeStringValueDO object that refers to this DO.
static void assertDOCreateAccess(User usr)
          Ensure that the given user is allowed to create new instances
 void assertDOGetAttrEXTERNALOIDAccess(User usr)
          Ensure that the given user is allowed to read the attribute
 void assertDOGetAttrTYPEDEFINITIONOIDAccess(User usr)
          Ensure that the given user is allowed to read the attribute
 void assertDOSetAttrEXTERNALOIDAccess(java.math.BigDecimal EXTERNALOID, User usr)
          Ensure that the given user is allowed to update the attribute
 void assertDOSetAttrTYPEDEFINITIONOIDAccess(TypeDefinitionDO TYPEDEFINITIONOID, User usr)
          Ensure that the given user is allowed to update the attribute
protected  void checkLoad()
          Load the actual DO data if necessary.
 void commit()
          Deprecated. Use save() instead.
 void commit(DBTransaction dbt)
          Deprecated. Use save() instead.
static GenericObjectDO createCopy(GenericObjectDataStruct data)
          createCopy() Creates a DO that has no ObjectId but has a copy of an existing DO's data.
static GenericObjectDO createCopy(GenericObjectDO orig)
          createCopy() Creates a DO that has no ObjectId but has a copy of an existing DO's data.
static GenericObjectDO createCopy(GenericObjectDO orig, User usr)
          createCopy() Creates a DO that has no ObjectId but has a copy of an existing DO's data.
static GenericObjectDO createExisting(java.math.BigDecimal bd)
          createExisting( BigDecimal ) Factory method creates a GenericObjectDO object by searching for it in the database using the passed BigDecimal value as the primary key.
static GenericObjectDO createExisting(java.math.BigDecimal bd, User usr)
          createExisting( BigDecimal ) Factory method creates a GenericObjectDO object by searching for it in the database using the passed BigDecimal value as the primary key.
protected static GenericObjectDO createExisting(ObjectId id)
          createExisting( ObjectId ) Factory method creates a GenericObjectDO object by searching for it in the database using the passed ObjectID value as the primary key.
protected static GenericObjectDO createExisting(RDBColumnValue pk)
          createExisting( RDBColumnValue ) Factory method creates a GenericObjectDO object by searching for it in the database using the passed GenericObjectDO.PrimaryKey.
protected static GenericObjectDO createExisting(RDBRow row)
          createExisting( RDBRow ) Factory method creates a GenericObjectDO object by searching for it in the database using the GenericObjectDO.PrimaryKey value in the passed RDBRow.
protected static GenericObjectDO createExisting(java.sql.ResultSet rs)
          createExisting( ResultSet ) Factory method used to create an instance of this class to represent a Data Object already existing in the database.
static GenericObjectDO createExisting(java.lang.String handle)
          The createExisting method is used to create a GenericObjectDO from a string handle.
static GenericObjectDO createExisting(java.lang.String handle, User usr)
          The createExisting method is used to create a GenericObjectDO from a string handle.
 GenericStoreDO createForExisting(java.math.BigDecimal bd)
          Create an instance for an existing row This is a strange hack for having an instance method Maybe there is a better solution ? WebDocWf extension
static GenericObjectDO createVirgin()
          createVirgin() Creates a DO that has no ObjectId or data.
static GenericObjectDO createVirgin(User usr)
          createVirgin() Creates a DO that has no ObjectId or data.
 void delete()
          Deletes the DO from its table.
 void delete(DBTransaction dbt)
          Deletes the DO from its table.
 AttributeBoolValueDO getAttributeBoolValueDO()
          Get the single AttributeBoolValueDO object that refers to this DO.
 AttributeBoolValueDO getAttributeBoolValueDO(User usr)
          Get the single AttributeBoolValueDO object that refers to this DO.
 AttributeBoolValueDO[] getAttributeBoolValueDOArray()
          Get array of AttributeBoolValueDO objects that refer to this DO.
 AttributeBoolValueDO[] getAttributeBoolValueDOArray(User usr)
          Get array of AttributeBoolValueDO objects that refer to this DO.
 int getAttributeBoolValueDOArrayCount()
          Get the number of AttributeBoolValueDOs that refer to this DO.
 int getAttributeBoolValueDOArrayCount(User usr)
          Get the number of AttributeBoolValueDOs that refer to this DO.
 AttributeDateValueDO getAttributeDateValueDO()
          Get the single AttributeDateValueDO object that refers to this DO.
 AttributeDateValueDO getAttributeDateValueDO(User usr)
          Get the single AttributeDateValueDO object that refers to this DO.
 AttributeDateValueDO[] getAttributeDateValueDOArray()
          Get array of AttributeDateValueDO objects that refer to this DO.
 AttributeDateValueDO[] getAttributeDateValueDOArray(User usr)
          Get array of AttributeDateValueDO objects that refer to this DO.
 int getAttributeDateValueDOArrayCount()
          Get the number of AttributeDateValueDOs that refer to this DO.
 int getAttributeDateValueDOArrayCount(User usr)
          Get the number of AttributeDateValueDOs that refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeBoolValue()
          From the many-to-many relationship expressed by AttributeBoolValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeBoolValue(User usr)
          From the many-to-many relationship expressed by AttributeBoolValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeDateValue()
          From the many-to-many relationship expressed by AttributeDateValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeDateValue(User usr)
          From the many-to-many relationship expressed by AttributeDateValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeNumberValue()
          From the many-to-many relationship expressed by AttributeNumberValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeNumberValue(User usr)
          From the many-to-many relationship expressed by AttributeNumberValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeObjectValue()
          From the many-to-many relationship expressed by AttributeObjectValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeObjectValue(User usr)
          From the many-to-many relationship expressed by AttributeObjectValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeStringValue()
          From the many-to-many relationship expressed by AttributeStringValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeStringValue(User usr)
          From the many-to-many relationship expressed by AttributeStringValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.
 AttributeEnumValueDO getAttributeEnumValueDO()
          Get the single AttributeEnumValueDO object that refers to this DO.
 AttributeEnumValueDO getAttributeEnumValueDO(User usr)
          Get the single AttributeEnumValueDO object that refers to this DO.
 AttributeEnumValueDO[] getAttributeEnumValueDOArray()
          Get array of AttributeEnumValueDO objects that refer to this DO.
 AttributeEnumValueDO[] getAttributeEnumValueDOArray(User usr)
          Get array of AttributeEnumValueDO objects that refer to this DO.
 int getAttributeEnumValueDOArrayCount()
          Get the number of AttributeEnumValueDOs that refer to this DO.
 int getAttributeEnumValueDOArrayCount(User usr)
          Get the number of AttributeEnumValueDOs that refer to this DO.
 AttributeNumberValueDO getAttributeNumberValueDO()
          Get the single AttributeNumberValueDO object that refers to this DO.
 AttributeNumberValueDO getAttributeNumberValueDO(User usr)
          Get the single AttributeNumberValueDO object that refers to this DO.
 AttributeNumberValueDO[] getAttributeNumberValueDOArray()
          Get array of AttributeNumberValueDO objects that refer to this DO.
 AttributeNumberValueDO[] getAttributeNumberValueDOArray(User usr)
          Get array of AttributeNumberValueDO objects that refer to this DO.
 int getAttributeNumberValueDOArrayCount()
          Get the number of AttributeNumberValueDOs that refer to this DO.
 int getAttributeNumberValueDOArrayCount(User usr)
          Get the number of AttributeNumberValueDOs that refer to this DO.
 AttributeObjectValueDO getAttributeObjectValueDO()
          Get the single AttributeObjectValueDO object that refers to this DO.
 AttributeObjectValueDO getAttributeObjectValueDO(User usr)
          Get the single AttributeObjectValueDO object that refers to this DO.
 AttributeObjectValueDO[] getAttributeObjectValueDOArray()
          Get array of AttributeObjectValueDO objects that refer to this DO.
 AttributeObjectValueDO[] getAttributeObjectValueDOArray(User usr)
          Get array of AttributeObjectValueDO objects that refer to this DO.
 int getAttributeObjectValueDOArrayCount()
          Get the number of AttributeObjectValueDOs that refer to this DO.
 int getAttributeObjectValueDOArrayCount(User usr)
          Get the number of AttributeObjectValueDOs that refer to this DO.
 AttributeStringValueDO getAttributeStringValueDO()
          Get the single AttributeStringValueDO object that refers to this DO.
 AttributeStringValueDO getAttributeStringValueDO(User usr)
          Get the single AttributeStringValueDO object that refers to this DO.
 AttributeStringValueDO[] getAttributeStringValueDOArray()
          Get array of AttributeStringValueDO objects that refer to this DO.
 AttributeStringValueDO[] getAttributeStringValueDOArray(User usr)
          Get array of AttributeStringValueDO objects that refer to this DO.
 int getAttributeStringValueDOArrayCount()
          Get the number of AttributeStringValueDOs that refer to this DO.
 int getAttributeStringValueDOArrayCount(User usr)
          Get the number of AttributeStringValueDOs that refer to this DO.
 java.sql.PreparedStatement getDeleteStatement(DBConnection conn)
          Prepares the statement used to delete this object from the database.
 java.math.BigDecimal getEXTERNALOID()
          Get EXTERNALOID of the GENERICOBJECT
 java.math.BigDecimal getEXTERNALOID(User usr)
          Get EXTERNALOID of the GENERICOBJECT
 java.lang.String getHandle()
          The methods getHandle hasMatchingHandle are used by Presentation Objects that need to populate HTML select lists with Data Objects as options.
 java.sql.PreparedStatement getInsertStatement(DBConnection conn)
          Prepares the statement used to insert this object into the database.
 java.lang.String getTableName()
          Return GENERICOBJECT as the name of the table in the database which contains GenericObjectDO objects.
 TypeDefinitionDO getTYPEDEFINITIONOID()
          Get TYPEDEFINITIONOID of the GENERICOBJECT
 TypeDefinitionDO getTYPEDEFINITIONOID(User usr)
          Get TYPEDEFINITIONOID of the GENERICOBJECT
 java.sql.PreparedStatement getUpdateStatement(DBConnection conn)
          Prepares the statement used to update this object in the database.
static boolean hasDOCreateAccess(User usr)
          Check whether the given user is allowed to create new instances
static boolean hasDOGetAccess(java.math.BigDecimal bd, User usr)
          Check whether the given user is allowed to read the DO existance Static function to be called without having the object
static boolean hasDOGetAccess(java.lang.String handle, User usr)
          Check whether the given user is allowed to read the DO existance Static function to be called without having the object
 boolean hasDOGetAttrEXTERNALOIDAccess(User usr)
          Check whether the given user is allowed to read the attribute
 boolean hasDOGetAttrTYPEDEFINITIONOIDAccess(User usr)
          Check whether the given user is allowed to read the attribute
 boolean hasDOGetDOValueEXTERNALOIDAccess(User usr)
          Check whether the given user is allowed to read object in a pointer attribute
 boolean hasDOGetDOValueTYPEDEFINITIONOIDAccess(User usr)
          Check whether the given user is allowed to read object in a pointer attribute
 boolean hasDOSetAttrEXTERNALOIDAccess(java.math.BigDecimal EXTERNALOID, User usr)
          Check whether the given user is allowed to update the attribute
 boolean hasDOSetAttrTYPEDEFINITIONOIDAccess(TypeDefinitionDO TYPEDEFINITIONOID, User usr)
          Check whether the given user is allowed to update the attribute
 boolean hasMatchingHandle(java.lang.String handle)
          hasMatchingHandle
 boolean isLoaded()
          isLoaded() Returns true if the data for this objects has been retrieved from the database.
 boolean isReadOnly()
          isReadOnly() Returns true if the data for this object has been marked read-only.
 void loadData()
          loadData() Load the fields for the DO from the database.
protected  void makeIdentical(GenericObjectDO orig)
          makeIdentical() Assigns the DataStruct of an existing DO to this DO.
 void makeReadOnly()
          makeReadOnly() Mark the object as readonly WebDocWf extension
 void makeReadWrite()
          makeReadWrite()
 void mapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d)
          To the many-to-many relationship expressed by AttributeBoolValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d, DBTransaction tran)
          To the many-to-many relationship expressed by AttributeBoolValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          To the many-to-many relationship expressed by AttributeBoolValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d, User usr)
          To the many-to-many relationship expressed by AttributeBoolValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d)
          To the many-to-many relationship expressed by AttributeDateValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d, DBTransaction tran)
          To the many-to-many relationship expressed by AttributeDateValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          To the many-to-many relationship expressed by AttributeDateValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d, User usr)
          To the many-to-many relationship expressed by AttributeDateValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d)
          To the many-to-many relationship expressed by AttributeNumberValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d, DBTransaction tran)
          To the many-to-many relationship expressed by AttributeNumberValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          To the many-to-many relationship expressed by AttributeNumberValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d, User usr)
          To the many-to-many relationship expressed by AttributeNumberValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d)
          To the many-to-many relationship expressed by AttributeObjectValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d, DBTransaction tran)
          To the many-to-many relationship expressed by AttributeObjectValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          To the many-to-many relationship expressed by AttributeObjectValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d, User usr)
          To the many-to-many relationship expressed by AttributeObjectValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d)
          To the many-to-many relationship expressed by AttributeStringValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d, DBTransaction tran)
          To the many-to-many relationship expressed by AttributeStringValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          To the many-to-many relationship expressed by AttributeStringValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
 void mapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d, User usr)
          To the many-to-many relationship expressed by AttributeStringValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.
protected  void modifyDO(DBTransaction dbt, boolean delete)
          Modifies the DO within its table.
protected  void modifyDO(DBTransaction dbt, boolean delete, boolean references)
          Modifies the DO within its table.
protected  void okToCommit()
          A stub method for implementing pre-commit assertions for this GenericObjectDO.
protected  void okToCommitTYPEDEFINITIONOID(TypeDefinitionDO member)
          A stub method for implementing pre-commit assertions for the TYPEDEFINITIONOID data member.
protected  void okToDelete()
          A stub method for implementing pre-delete assertions for this GenericObjectDO.
protected  void okToDeleteTYPEDEFINITIONOID(TypeDefinitionDO member)
          A stub method for implementing pre-delete assertions for the TYPEDEFINITIONOID data member.
 void reload()
          reload() Causes the DO to refresh itself from the database the next time a set or get method is called.
 void removeAttributeBoolValueDO(AttributeBoolValueDO referrer)
          Remove (delete) a AttributeBoolValueDO object that refers to this DO.
 void removeAttributeBoolValueDO(AttributeBoolValueDO referrer, DBTransaction tran)
          Remove (delete) a AttributeBoolValueDO object that refers to this DO.
 void removeAttributeBoolValueDO(AttributeBoolValueDO referrer, DBTransaction tran, User usr)
          Remove (delete) a AttributeBoolValueDO object that refers to this DO.
 void removeAttributeBoolValueDO(AttributeBoolValueDO referrer, User usr)
          Remove (delete) a AttributeBoolValueDO object that refers to this DO.
 void removeAttributeDateValueDO(AttributeDateValueDO referrer)
          Remove (delete) a AttributeDateValueDO object that refers to this DO.
 void removeAttributeDateValueDO(AttributeDateValueDO referrer, DBTransaction tran)
          Remove (delete) a AttributeDateValueDO object that refers to this DO.
 void removeAttributeDateValueDO(AttributeDateValueDO referrer, DBTransaction tran, User usr)
          Remove (delete) a AttributeDateValueDO object that refers to this DO.
 void removeAttributeDateValueDO(AttributeDateValueDO referrer, User usr)
          Remove (delete) a AttributeDateValueDO object that refers to this DO.
 void removeAttributeEnumValueDO(AttributeEnumValueDO referrer)
          Remove (delete) a AttributeEnumValueDO object that refers to this DO.
 void removeAttributeEnumValueDO(AttributeEnumValueDO referrer, DBTransaction tran)
          Remove (delete) a AttributeEnumValueDO object that refers to this DO.
 void removeAttributeEnumValueDO(AttributeEnumValueDO referrer, DBTransaction tran, User usr)
          Remove (delete) a AttributeEnumValueDO object that refers to this DO.
 void removeAttributeEnumValueDO(AttributeEnumValueDO referrer, User usr)
          Remove (delete) a AttributeEnumValueDO object that refers to this DO.
 void removeAttributeNumberValueDO(AttributeNumberValueDO referrer)
          Remove (delete) a AttributeNumberValueDO object that refers to this DO.
 void removeAttributeNumberValueDO(AttributeNumberValueDO referrer, DBTransaction tran)
          Remove (delete) a AttributeNumberValueDO object that refers to this DO.
 void removeAttributeNumberValueDO(AttributeNumberValueDO referrer, DBTransaction tran, User usr)
          Remove (delete) a AttributeNumberValueDO object that refers to this DO.
 void removeAttributeNumberValueDO(AttributeNumberValueDO referrer, User usr)
          Remove (delete) a AttributeNumberValueDO object that refers to this DO.
 void removeAttributeObjectValueDO(AttributeObjectValueDO referrer)
          Remove (delete) a AttributeObjectValueDO object that refers to this DO.
 void removeAttributeObjectValueDO(AttributeObjectValueDO referrer, DBTransaction tran)
          Remove (delete) a AttributeObjectValueDO object that refers to this DO.
 void removeAttributeObjectValueDO(AttributeObjectValueDO referrer, DBTransaction tran, User usr)
          Remove (delete) a AttributeObjectValueDO object that refers to this DO.
 void removeAttributeObjectValueDO(AttributeObjectValueDO referrer, User usr)
          Remove (delete) a AttributeObjectValueDO object that refers to this DO.
 void removeAttributeStringValueDO(AttributeStringValueDO referrer)
          Remove (delete) a AttributeStringValueDO object that refers to this DO.
 void removeAttributeStringValueDO(AttributeStringValueDO referrer, DBTransaction tran)
          Remove (delete) a AttributeStringValueDO object that refers to this DO.
 void removeAttributeStringValueDO(AttributeStringValueDO referrer, DBTransaction tran, User usr)
          Remove (delete) a AttributeStringValueDO object that refers to this DO.
 void removeAttributeStringValueDO(AttributeStringValueDO referrer, User usr)
          Remove (delete) a AttributeStringValueDO object that refers to this DO.
 void save()
          Inserts/Updates the DO into its table.
 void save(boolean references)
          Inserts/Updates the DO into its table.
 void save(DBTransaction dbt)
          Inserts/Updates the DO into its table.
 void save(DBTransaction dbt, boolean references)
          Inserts/Updates the DO into its table.
 void setEXTERNALOID(java.math.BigDecimal EXTERNALOID)
          Set EXTERNALOID of the GENERICOBJECT
 void setEXTERNALOID(java.math.BigDecimal EXTERNALOID, User usr)
          Set EXTERNALOID of the GENERICOBJECT
 void setTYPEDEFINITIONOID(TypeDefinitionDO TYPEDEFINITIONOID)
          Set TYPEDEFINITIONOID of the GENERICOBJECT
 void setTYPEDEFINITIONOID(TypeDefinitionDO TYPEDEFINITIONOID, User usr)
          Set TYPEDEFINITIONOID of the GENERICOBJECT
 java.lang.String toString()
           
 java.lang.String toString(int indentCount)
           
 void unmapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d)
          From the many-to-many relationship expressed by AttributeBoolValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d, DBTransaction tran)
          From the many-to-many relationship expressed by AttributeBoolValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          From the many-to-many relationship expressed by AttributeBoolValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d, User usr)
          From the many-to-many relationship expressed by AttributeBoolValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d)
          From the many-to-many relationship expressed by AttributeDateValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d, DBTransaction tran)
          From the many-to-many relationship expressed by AttributeDateValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          From the many-to-many relationship expressed by AttributeDateValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d, User usr)
          From the many-to-many relationship expressed by AttributeDateValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d)
          From the many-to-many relationship expressed by AttributeNumberValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d, DBTransaction tran)
          From the many-to-many relationship expressed by AttributeNumberValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          From the many-to-many relationship expressed by AttributeNumberValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d, User usr)
          From the many-to-many relationship expressed by AttributeNumberValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d)
          From the many-to-many relationship expressed by AttributeObjectValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d, DBTransaction tran)
          From the many-to-many relationship expressed by AttributeObjectValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          From the many-to-many relationship expressed by AttributeObjectValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d, User usr)
          From the many-to-many relationship expressed by AttributeObjectValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d)
          From the many-to-many relationship expressed by AttributeStringValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d, DBTransaction tran)
          From the many-to-many relationship expressed by AttributeStringValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d, DBTransaction tran, User usr)
          From the many-to-many relationship expressed by AttributeStringValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 void unmapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d, User usr)
          From the many-to-many relationship expressed by AttributeStringValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.
 
Methods inherited from class org.webdocwf.util.genericstore.GenericStoreDO
assertDOGenericGetBinaryAttrAccess, assertDOGenericGetBoolAttrAccess, assertDOGenericGetDateAttrAccess, assertDOGenericGetDOValueAccess, assertDOGenericGetEnumAttrAccess, assertDOGenericGetNumberAttrAccess, assertDOGenericGetObjectAttrAccess, assertDOGenericGetStringAttrAccess, assertDOGenericSetBinaryAttrAccess, assertDOGenericSetBoolAttrAccess, assertDOGenericSetDateAttrAccess, assertDOGenericSetEnumAttrAccess, assertDOGenericSetEnumAttrAccess, assertDOGenericSetNumberAttrAccess, assertDOGenericSetObjectAttrAccess, assertDOGenericSetStringAttrAccess, checkAttrDefinition, checkEnumTypeDefinition, checkEnumValueDefinition, checkTypeDefinition, findAllowedTargetStates, findAttrDef, findBeginStates, findEndStates, findEnumTypeDef, findEnumValueDef, findStateTransition, findTypeDef, genericGetAllBinaryAttrs, genericGetAllBoolAttrs, genericGetAllBoolAttrs, genericGetAllByteAttrs, genericGetAllDateAttrs, genericGetAllDateAttrs, genericGetAllEnumAttrs, genericGetAllEnumAttrs, genericGetAllEnumTypeAttrs, genericGetAllEnumTypeAttrs, genericGetAllNumberAttrs, genericGetAllNumberAttrs, genericGetAllObjectAttrs, genericGetAllObjectAttrs, genericGetAllowedTargetStates, genericGetAllStringAttrs, genericGetAllStringAttrs, genericGetBinaryAttr, genericGetBinaryAttr, genericGetBoolAttr, genericGetBoolAttr, genericGetDateAttr, genericGetDateAttr, genericGetEnumAttr, genericGetEnumAttr, genericGetEnumTypeAttr, genericGetEnumTypeAttr, genericGetNumberAttr, genericGetNumberAttr, genericGetObjectAttr, genericGetObjectAttr, genericGetStateTransition, genericGetStringAttr, genericGetStringAttr, genericGetTargetStateAllowed, genericIsBeginState, genericIsEndState, genericSetBinaryAttr, genericSetBinaryAttr, genericSetBoolAttr, genericSetBoolAttr, genericSetDateAttr, genericSetDateAttr, genericSetEnumAttr, genericSetEnumAttr, genericSetEnumAttr, genericSetEnumAttr, genericSetNumberAttr, genericSetNumberAttr, genericSetObjectAttr, genericSetObjectAttr, genericSetStartStateAttr, genericSetStartStateAttr, genericSetStateAttr, genericSetStateAttr, genericSetStringAttr, genericSetStringAttr, hasDOGenericGetAttrAccess, hasDOGenericGetAttrAccess, hasDOGenericGetBinaryAttrAccess, hasDOGenericGetBoolAttrAccess, hasDOGenericGetDateAttrAccess, hasDOGenericGetEnumAttrAccess, hasDOGenericGetNumberAttrAccess, hasDOGenericGetObjectAttrAccess, hasDOGenericGetStringAttrAccess, hasDOGenericSetAttrAccess, hasDOGenericSetAttrAccess, hasDOGenericSetBinaryAttrAccess, hasDOGenericSetBoolAttrAccess, hasDOGenericSetDateAttrAccess, hasDOGenericSetEnumAttrAccess, hasDOGenericSetNumberAttrAccess, hasDOGenericSetObjectAttrAccess, hasDOGenericSetStringAttrAccess, loadGenericBinaryData, loadGenericBoolData, loadGenericDateData, loadGenericEnumData, loadGenericNumberData, loadGenericObjectData, loadGenericObjectDO, loadGenericStringData
 
Methods inherited from class org.webdocwf.dods.access.SecureDO
assertDOCopyAccess, assertDODeleteAccess, assertDOGetAccess, assertDOGetDOValueAccess, assertDOGetDOValueAccess, assertDOGetDOValueAccess, assertDOGetDOValueAccess, assertDOGetDOValueAccess, assertDOGetDOValueAccess, assertDOGetDOValueAccess, assertDOGetDOValueAccess, assertDOGetDOValueAccess, assertDOGetDOValueAccess, assertDOGetVersionAccess, assertDOIsReadOnlyAccess, assertDOMakeReadOnlyAccess, assertDOMakeReadWriteAccess, delete, delete, getHandle, getVersion, getVersion, hasDOCopyAccess, hasDODeleteAccess, hasDOGetAccess, hasDOGetAttrAccess, hasDOGetAttrAccess, hasDOGetAttrAccess, hasDOGetAttrAccess, hasDOGetAttrAccess, hasDOGetAttrAccess, hasDOGetAttrAccess, hasDOGetAttrAccess, hasDOGetAttrAccess, hasDOGetDOValueAccess, hasDOGetDOValueAccess, hasDOGetDOValueAccess, hasDOGetDOValueAccess, hasDOGetDOValueAccess, hasDOGetDOValueAccess, hasDOGetDOValueAccess, hasDOGetDOValueAccess, hasDOGetDOValueAccess, hasDOGetDOValueAccess, hasDOGetVersionAccess, hasDOIsReadOnlyAccess, hasDOMakeReadOnlyAccess, hasDOMakeReadWriteAccess, hasDOSetAttrAccess, hasDOSetAttrAccess, hasDOSetAttrAccess, hasDOSetAttrAccess, hasDOSetAttrAccess, hasDOSetAttrAccess, hasDOSetAttrAccess, hasDOSetAttrAccess, hasDOSetAttrAccess, hasMatchingHandle, hasQueryFindAccess, isReadOnly, makeReadOnly, makeReadWrite
 
Methods inherited from class com.lutris.dods.builder.generator.dataobject.GenericDO
cloneUnique, compareCond, copyBigDecimal, copyByteArray, copyDate, copyString, copyTime, copyTimestamp, createDO, executeDelete, executeInsert, executeUpdate, finalizeInsert, finalizeUpdate, getCacheHandle, getData, getOriginDatabase, getPrimaryKeyName, isDirty, makeIdentical, markClean, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, markNewValue, printMsg, setData, setOId, setPrepStmtParam_BigDecimal, setPrepStmtParam_boolean, setPrepStmtParam_byte, setPrepStmtParam_bytes, setPrepStmtParam_DO, setPrepStmtParam_double, setPrepStmtParam_float, setPrepStmtParam_int, setPrepStmtParam_java_math_BigDecimal, setPrepStmtParam_java_sql_Date, setPrepStmtParam_java_sql_Time, setPrepStmtParam_java_sql_Timestamp, setPrepStmtParam_long, setPrepStmtParam_short, setPrepStmtParam_String
 
Methods inherited from class com.lutris.appserver.server.sql.CloneableDO
clone
 
Methods inherited from class com.lutris.appserver.server.sql.CoreDO
addToCache, deleteFromCache, disableVersioning, evict, finalizeDelete, getNewVersion, getOId, getOIdColumnName, getVersionColumnName, isPersistent, refresh, setNewVersion, setOIdColumnName, setPersistent, setVersion, setVersionColumnName, updateCache
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

table

public static final RDBTable table
static final data members name the table and columns for this DO. By using these members with an instance of the QueryBuilder class, an application can perform straight SQL queries while retaining compile-time checking of table and column usage. Example: List the Cities containing Persons named Bob: Using straight SQL with QueryBuilder: Pro: code runs faster because you create fewer objects Con: code is less clear Vector fields = new Vector(); fields.addElement( AddressDO.City ); QueryBuilder qb = new QueryBuilder( fields ); qb.addWhere( PersonDO.FirstName, "Bob" ); qb.addWhere( PersonDO.PrimaryKey, AddressDO.Person ); RDBRow row; while ( null != ( row = qb.getNextRow() ) ) { String city = row.get( AddressDO.City ).getString(); } Using Query/DO classes: Pro: code is (often) clearer Con: code runs slower because you create more objects PersonQuery pq = new PersonQuery(); pq.setQueryFirstName( "Bob" ); PersonDO[] bobs = pq.getDOArray(); for ( int i = 0; i < bobs.length; i++ ) { AddressQuery aq = new AddressQuery(); aq.setQueryPerson( bobs[i] ); AddressDO addr = aq.getNextDO(); String city = addr.getCity(); }


PrimaryKey

public static final RDBColumn PrimaryKey
static final RDBColumn PrimaryKey for use with QueryBuilder. See example above.


isView

protected static final boolean isView
See Also:
Constant Field Values

EXTERNALOID

public static final RDBColumn EXTERNALOID

TYPEDEFINITIONOID

public static final RDBColumn TYPEDEFINITIONOID
Constructor Detail

GenericObjectDO

protected GenericObjectDO(boolean is_view)
                   throws ObjectIdException,
                          DatabaseManagerException
Protected constructor. Only derived classes should call it.

Throws:
DatabaseManagerException - If a connection to the database cannot be established, etc.
ObjectIdException - If an object id can't be allocated for this object.

GenericObjectDO

protected GenericObjectDO()
                   throws ObjectIdException,
                          DatabaseManagerException
Protected constructor. Only derived classes should call it.

Throws:
DatabaseManagerException - If a connection to the database cannot be established, etc.
ObjectIdException - If an object id can't be allocated for this object.

GenericObjectDO

protected GenericObjectDO(ObjectId id)
                   throws java.sql.SQLException,
                          ObjectIdException,
                          DataObjectException,
                          DatabaseManagerException
Protected constructor used by createExisting(ObjectId) above.

Parameters:
id - The ObjectId for the object.
Throws:
DataObjectException - If the object is not found in the database.
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
java.sql.SQLException - Should never see this exception since GenericDO.ctor(ObjectId) never accesses the database.

GenericObjectDO

protected GenericObjectDO(java.sql.ResultSet rs)
                   throws java.sql.SQLException,
                          ObjectIdException,
                          DataObjectException,
                          DatabaseManagerException
Protected constructor.

Parameters:
rs - Result set from which to obtain product data.
Throws:
DataObjectException - If the object is not found in the database.
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
java.sql.SQLException - If the database rejects the SQL generated to retrieve data for this object, or if the table contains a bad foreign key, etc.
Method Detail

getTableName

public java.lang.String getTableName()
Return GENERICOBJECT as the name of the table in the database which contains GenericObjectDO objects. This method overrides CoreDO.getTableName() and is used by CoreDO.executeUpdate() during error handling.

Overrides:
getTableName in class CoreDO
Returns:
the database table name
See Also:
CoreDO

isReadOnly

public boolean isReadOnly()
isReadOnly() Returns true if the data for this object has been marked read-only.

Specified by:
isReadOnly in class SecureDO

isLoaded

public boolean isLoaded()
isLoaded() Returns true if the data for this objects has been retrieved from the database.


loadData

public void loadData()
              throws java.sql.SQLException,
                     ObjectIdException,
                     DataObjectException
loadData() Load the fields for the DO from the database.

Throws:
ObjectIdException - If an object id can't be allocated for this object.
DataObjectException - If the object is not found in the database.
java.sql.SQLException - If the database rejects the SQL generated to retrieve data for this object, or if the table contains a bad foreign key, etc.

checkLoad

protected void checkLoad()
                  throws DataObjectException
Load the actual DO data if necessary. Called by get/set methods.

Specified by:
checkLoad in class SecureDO
Throws:
DataObjectException - If a data access error occurs.

createVirgin

public static GenericObjectDO createVirgin()
                                    throws DatabaseManagerException,
                                           ObjectIdException
createVirgin() Creates a DO that has no ObjectId or data. Such a DO is used to insert a new database entry after its data has been set.

Throws:
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.

createVirgin

public static GenericObjectDO createVirgin(User usr)
                                    throws DatabaseManagerException,
                                           ObjectIdException,
                                           AccessException
createVirgin() Creates a DO that has no ObjectId or data. Such a DO is used to insert a new database entry after its data has been set.

Parameters:
usr - The user for security check
Throws:
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
AccessException - The user is not allowed to create new instances WebDocWf extension

assertDOCreateAccess

public static void assertDOCreateAccess(User usr)
                                 throws AccessException
Ensure that the given user is allowed to create new instances

Parameters:
usr - The user for security check
Throws:
AccessException - The user is not allowed to create new instances WebDocWf extension

hasDOCreateAccess

public static boolean hasDOCreateAccess(User usr)
                                 throws AccessEvalException
Check whether the given user is allowed to create new instances

Parameters:
usr - The user for security check
Returns:
Whether the given user is allowed to create new instances WebDocWf extension
AccessEvalException

createForExisting

public GenericStoreDO createForExisting(java.math.BigDecimal bd)
                                 throws java.sql.SQLException,
                                        ObjectIdException,
                                        DataObjectException,
                                        DatabaseManagerException
Create an instance for an existing row This is a strange hack for having an instance method Maybe there is a better solution ? WebDocWf extension

Specified by:
createForExisting in class GenericStoreDO
Parameters:
bd - ObjectID as BigDecimal of the object which must be read from the DB
Returns:
The object which was read from the DB
java.sql.SQLException
ObjectIdException
DataObjectException
DatabaseManagerException

createExisting

public static GenericObjectDO createExisting(java.math.BigDecimal bd)
                                      throws java.sql.SQLException,
                                             ObjectIdException,
                                             DataObjectException,
                                             DatabaseManagerException
createExisting( BigDecimal ) Factory method creates a GenericObjectDO object by searching for it in the database using the passed BigDecimal value as the primary key. Creates a DO that represents an existing entry in the database. Such a DO is used to examine and possibly update such an entry. createExisting() is called only from the code that retrieves an ObjectId from a ResultSet (database query result). createExisting() is protected because no other DO or BO should ever need to call it. FIX unfortunately the createExisting(BigDecimal) form *does* need to be public because it is called by the public ctors of other DOs. For example, AaaDO contains a ref to a BbbDO, so there is a method AaaDO.setBbb(BbbDO). In the ctor AaaDO(ResultSet), we have the call setBbb( BbbDO.createExisting( rs.getBigDecimal( "bbb", 0 ))); Since AaaDO is not in the same package as BbbDO, BbbDO.createExisting(BigDecimal) must be public, not protected. Java needs the C++ 'friend' idea.

Parameters:
bd - The BigDecimal representation of the ObjectId for the object.
Throws:
DataObjectException - If the object is not found in the database.
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
java.sql.SQLException - If the database rejects the SQL generated to retrieve data for this object, or if the table contains a bad foreign key, etc.

createExisting

public static GenericObjectDO createExisting(java.math.BigDecimal bd,
                                             User usr)
                                      throws java.sql.SQLException,
                                             ObjectIdException,
                                             DataObjectException,
                                             DatabaseManagerException,
                                             AccessException
createExisting( BigDecimal ) Factory method creates a GenericObjectDO object by searching for it in the database using the passed BigDecimal value as the primary key.

Parameters:
bd - The BigDecimal representation of the ObjectId for the object.
usr - The user for security check
Throws:
DataObjectException - If the object is not found in the database.
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
java.sql.SQLException - If the database rejects the SQL generated to retrieve data for this object, or if the table contains a bad foreign key, etc.
AccessException - The user is not allowed to read the instance existance WebDocWf extension

hasDOGetAccess

public static boolean hasDOGetAccess(java.math.BigDecimal bd,
                                     User usr)
                              throws AccessEvalException
Check whether the given user is allowed to read the DO existance Static function to be called without having the object

Parameters:
bd - The BigDecimal representation of the ObjectId for the object.
usr - The user for security check
Returns:
Whether the given user is allowed to read the DO existance WebDocWf extension
AccessEvalException

createExisting

public static GenericObjectDO createExisting(java.lang.String handle)
The createExisting method is used to create a GenericObjectDO from a string handle.


createExisting

public static GenericObjectDO createExisting(java.lang.String handle,
                                             User usr)
                                      throws AccessException
The createExisting method is used to create a GenericObjectDO from a string handle. WebDocWf extension

AccessException

hasDOGetAccess

public static boolean hasDOGetAccess(java.lang.String handle,
                                     User usr)
                              throws AccessEvalException
Check whether the given user is allowed to read the DO existance Static function to be called without having the object

Parameters:
handle - The string representation of the ObjectId for the object.
usr - The user for security check
Returns:
Whether the given user is allowed to read the DO existance WebDocWf extension
AccessEvalException

createExisting

protected static GenericObjectDO createExisting(ObjectId id)
                                         throws java.sql.SQLException,
                                                ObjectIdException,
                                                DataObjectException,
                                                DatabaseManagerException
createExisting( ObjectId ) Factory method creates a GenericObjectDO object by searching for it in the database using the passed ObjectID value as the primary key.

Parameters:
id - The ObjectId for the object.
Throws:
DataObjectException - If the object is not found in the database.
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
java.sql.SQLException - If the database rejects the SQL generated to retrieve data for this object, or if the table contains a bad foreign key, etc.

createExisting

protected static GenericObjectDO createExisting(java.sql.ResultSet rs)
                                         throws java.sql.SQLException,
                                                ObjectIdException,
                                                DataObjectException,
                                                DatabaseManagerException
createExisting( ResultSet ) Factory method used to create an instance of this class to represent a Data Object already existing in the database.

Parameters:
rs - The ResultSet returned by the Query class for an existing Data Object stored in the database.
Throws:
DataObjectException - If the object is not found in the database.
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
java.sql.SQLException - If the database rejects the SQL generated to retrieve data for this object, or if the table contains a bad foreign key, etc.

createExisting

protected static GenericObjectDO createExisting(RDBRow row)
                                         throws java.sql.SQLException,
                                                ObjectIdException,
                                                DataObjectException,
                                                DatabaseManagerException
createExisting( RDBRow ) Factory method creates a GenericObjectDO object by searching for it in the database using the GenericObjectDO.PrimaryKey value in the passed RDBRow.

Throws:
DataObjectException - If the RDBRow does not contain a GenericObjectDO.PrimaryKey. If the object is not found in the database.
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
java.sql.SQLException - If the database rejects the SQL generated to retrieve data for this object, or if the table contains a bad foreign key, etc.

createExisting

protected static GenericObjectDO createExisting(RDBColumnValue pk)
                                         throws java.sql.SQLException,
                                                ObjectIdException,
                                                DataObjectException,
                                                DatabaseManagerException
createExisting( RDBColumnValue ) Factory method creates a GenericObjectDO object by searching for it in the database using the passed GenericObjectDO.PrimaryKey.

Throws:
DataObjectException - If the RDBColumnValue does not contain a GenericObjectDO.PrimaryKey. If the object is not found in the database.
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
java.sql.SQLException - If the database rejects the SQL generated to retrieve data for this object, or if the table contains a bad foreign key, etc.

createCopy

public static GenericObjectDO createCopy(GenericObjectDataStruct data)
                                  throws DatabaseManagerException,
                                         ObjectIdException
createCopy() Creates a DO that has no ObjectId but has a copy of an existing DO's data. Such a DO is used to insert a new database entry that is largely similar to an existing entry.

Parameters:
data - The data struct to copy values from.
Throws:
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.

createCopy

public static GenericObjectDO createCopy(GenericObjectDO orig)
                                  throws DatabaseManagerException,
                                         ObjectIdException
createCopy() Creates a DO that has no ObjectId but has a copy of an existing DO's data. Such a DO is used to insert a new database entry that is largely similar to an existing entry.

Parameters:
orig - The original DO to copy.
Throws:
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.

createCopy

public static GenericObjectDO createCopy(GenericObjectDO orig,
                                         User usr)
                                  throws DatabaseManagerException,
                                         ObjectIdException,
                                         AccessException
createCopy() Creates a DO that has no ObjectId but has a copy of an existing DO's data. Such a DO is used to insert a new database entry that is largely similar to an existing entry.

Parameters:
orig - The original DO to copy.
usr - The user for security check
Throws:
ObjectIdException - If an object id can't be allocated for this object.
DatabaseManagerException - If a connection to the database cannot be established, etc.
AccessException - The user is not allowed to make a copy WebDocWf extension

reload

public void reload()
reload() Causes the DO to refresh itself from the database the next time a set or get method is called.


getHandle

public java.lang.String getHandle()
                           throws DatabaseManagerException
The methods getHandle hasMatchingHandle are used by Presentation Objects that need to populate HTML select lists with Data Objects as options. The getHandle() method is used to set the value for each option, and the hasMatchingHandle() methods are used to lookup the Data Object when the selection has been made.

Specified by:
getHandle in class SecureDO
Returns:
id of this DO as a string If an object id can't be allocated for this object.
Throws:
DatabaseManagerException - If a connection to the database cannot be established, etc.

hasMatchingHandle

public boolean hasMatchingHandle(java.lang.String handle)
hasMatchingHandle

Specified by:
hasMatchingHandle in class SecureDO
Parameters:
handle - String version of DO id
Returns:
boolean True if the string version of the id of this DO matches passed handle

makeIdentical

protected void makeIdentical(GenericObjectDO orig)
makeIdentical() Assigns the DataStruct of an existing DO to this DO. Does not duplicate data. Just assigns the reference.

Parameters:
orig - The original DO.

makeReadOnly

public void makeReadOnly()
makeReadOnly() Mark the object as readonly WebDocWf extension

Specified by:
makeReadOnly in class SecureDO

makeReadWrite

public void makeReadWrite()
makeReadWrite()

Specified by:
makeReadWrite in class SecureDO

getEXTERNALOID

public java.math.BigDecimal getEXTERNALOID()
                                    throws DataObjectException
Get EXTERNALOID of the GENERICOBJECT

Specified by:
getEXTERNALOID in interface GenericObjectDOI
Returns:
EXTERNALOID of the GENERICOBJECT
Throws:
DataObjectException - If the object is not found in the database.

getEXTERNALOID

public java.math.BigDecimal getEXTERNALOID(User usr)
                                    throws DataObjectException,
                                           AccessException
Get EXTERNALOID of the GENERICOBJECT

Parameters:
usr - The user for security check
Returns:
EXTERNALOID of the GENERICOBJECT
Throws:
DataObjectException - If the object is not found in the database.
AccessException - The user is not allowed to read the attribute(value) WebDocWf extension

assertDOGetAttrEXTERNALOIDAccess

public void assertDOGetAttrEXTERNALOIDAccess(User usr)
                                      throws AccessException
Ensure that the given user is allowed to read the attribute

Parameters:
usr - The user for security check
Throws:
AccessException - The user is not allowed to read the attribute(value) WebDocWf extension

hasDOGetAttrEXTERNALOIDAccess

public boolean hasDOGetAttrEXTERNALOIDAccess(User usr)
                                      throws AccessEvalException
Check whether the given user is allowed to read the attribute

Parameters:
usr - The user for security check
Returns:
Whether the given user is allowed to read the attribute WebDocWf extension
AccessEvalException

hasDOGetDOValueEXTERNALOIDAccess

public boolean hasDOGetDOValueEXTERNALOIDAccess(User usr)
                                         throws AccessEvalException
Check whether the given user is allowed to read object in a pointer attribute

Parameters:
usr - The user for security check
Returns:
Whether the given user is allowed to read the attribute WebDocWf extension
AccessEvalException

setEXTERNALOID

public void setEXTERNALOID(java.math.BigDecimal EXTERNALOID)
                    throws DataObjectException
Set EXTERNALOID of the GENERICOBJECT

Specified by:
setEXTERNALOID in interface GenericObjectDOI
Parameters:
EXTERNALOID - of the GENERICOBJECT
Throws:
DataObjectException - If the object is not found in the database.

setEXTERNALOID

public void setEXTERNALOID(java.math.BigDecimal EXTERNALOID,
                           User usr)
                    throws DataObjectException,
                           AccessException
Set EXTERNALOID of the GENERICOBJECT

Parameters:
EXTERNALOID - of the GENERICOBJECT
usr - The user for security check
Throws:
DataObjectException - If the object is not found in the database.
AccessException - The user is not allowed to read the attribute(value) WebDocWf extension

assertDOSetAttrEXTERNALOIDAccess

public void assertDOSetAttrEXTERNALOIDAccess(java.math.BigDecimal EXTERNALOID,
                                             User usr)
                                      throws AccessException
Ensure that the given user is allowed to update the attribute

Parameters:
EXTERNALOID - of the GENERICOBJECT
usr - The user for security check
Throws:
AccessException - The user is not allowed to read the attribute(value) WebDocWf extension

hasDOSetAttrEXTERNALOIDAccess

public boolean hasDOSetAttrEXTERNALOIDAccess(java.math.BigDecimal EXTERNALOID,
                                             User usr)
                                      throws AccessEvalException
Check whether the given user is allowed to update the attribute

Parameters:
EXTERNALOID - of the GENERICOBJECT
usr - The user for security check
Returns:
Whether the given user is allowed to update the attribute WebDocWf extension
AccessEvalException

getTYPEDEFINITIONOID

public TypeDefinitionDO getTYPEDEFINITIONOID()
                                      throws DataObjectException
Get TYPEDEFINITIONOID of the GENERICOBJECT

Specified by:
getTYPEDEFINITIONOID in interface GenericObjectDOI
Returns:
TYPEDEFINITIONOID of the GENERICOBJECT
Throws:
DataObjectException - If the object is not found in the database.

getTYPEDEFINITIONOID

public TypeDefinitionDO getTYPEDEFINITIONOID(User usr)
                                      throws DataObjectException,
                                             AccessException
Get TYPEDEFINITIONOID of the GENERICOBJECT

Parameters:
usr - The user for security check
Returns:
TYPEDEFINITIONOID of the GENERICOBJECT
Throws:
DataObjectException - If the object is not found in the database.
AccessException - The user is not allowed to read the attribute(value) WebDocWf extension

assertDOGetAttrTYPEDEFINITIONOIDAccess

public void assertDOGetAttrTYPEDEFINITIONOIDAccess(User usr)
                                            throws AccessException
Ensure that the given user is allowed to read the attribute

Parameters:
usr - The user for security check
Throws:
AccessException - The user is not allowed to read the attribute(value) WebDocWf extension

hasDOGetAttrTYPEDEFINITIONOIDAccess

public boolean hasDOGetAttrTYPEDEFINITIONOIDAccess(User usr)
                                            throws AccessEvalException
Check whether the given user is allowed to read the attribute

Parameters:
usr - The user for security check
Returns:
Whether the given user is allowed to read the attribute WebDocWf extension
AccessEvalException

hasDOGetDOValueTYPEDEFINITIONOIDAccess

public boolean hasDOGetDOValueTYPEDEFINITIONOIDAccess(User usr)
                                               throws AccessEvalException
Check whether the given user is allowed to read object in a pointer attribute

Parameters:
usr - The user for security check
Returns:
Whether the given user is allowed to read the attribute WebDocWf extension
AccessEvalException

setTYPEDEFINITIONOID

public void setTYPEDEFINITIONOID(TypeDefinitionDO TYPEDEFINITIONOID)
                          throws DataObjectException
Set TYPEDEFINITIONOID of the GENERICOBJECT

Specified by:
setTYPEDEFINITIONOID in interface GenericObjectDOI
Parameters:
TYPEDEFINITIONOID - of the GENERICOBJECT
Throws:
DataObjectException - If the object is not found in the database.

setTYPEDEFINITIONOID

public void setTYPEDEFINITIONOID(TypeDefinitionDO TYPEDEFINITIONOID,
                                 User usr)
                          throws DataObjectException,
                                 AccessException
Set TYPEDEFINITIONOID of the GENERICOBJECT

Parameters:
TYPEDEFINITIONOID - of the GENERICOBJECT
usr - The user for security check
Throws:
DataObjectException - If the object is not found in the database.
AccessException - The user is not allowed to read the attribute(value) WebDocWf extension

assertDOSetAttrTYPEDEFINITIONOIDAccess

public void assertDOSetAttrTYPEDEFINITIONOIDAccess(TypeDefinitionDO TYPEDEFINITIONOID,
                                                   User usr)
                                            throws AccessException
Ensure that the given user is allowed to update the attribute

Parameters:
TYPEDEFINITIONOID - of the GENERICOBJECT
usr - The user for security check
Throws:
AccessException - The user is not allowed to read the attribute(value) WebDocWf extension

hasDOSetAttrTYPEDEFINITIONOIDAccess

public boolean hasDOSetAttrTYPEDEFINITIONOIDAccess(TypeDefinitionDO TYPEDEFINITIONOID,
                                                   User usr)
                                            throws AccessEvalException
Check whether the given user is allowed to update the attribute

Parameters:
TYPEDEFINITIONOID - of the GENERICOBJECT
usr - The user for security check
Returns:
Whether the given user is allowed to update the attribute WebDocWf extension
AccessEvalException

getInsertStatement

public java.sql.PreparedStatement getInsertStatement(DBConnection conn)
                                              throws java.sql.SQLException
Prepares the statement used to insert this object into the database.

Specified by:
getInsertStatement in class CoreDO
Parameters:
conn - the database connection.
Returns:
the insert statement.
Throws:
java.sql.SQLException - if an error occurs.

getUpdateStatement

public java.sql.PreparedStatement getUpdateStatement(DBConnection conn)
                                              throws java.sql.SQLException
Prepares the statement used to update this object in the database.

Specified by:
getUpdateStatement in class CoreDO
Parameters:
conn - the database connection
Returns:
the update statement.
Throws:
java.sql.SQLException - if an error occurs.

getDeleteStatement

public java.sql.PreparedStatement getDeleteStatement(DBConnection conn)
                                              throws java.sql.SQLException
Prepares the statement used to delete this object from the database.

Specified by:
getDeleteStatement in class CoreDO
Parameters:
conn - the database connection
Returns:
the delete statement.
Throws:
java.sql.SQLException - if an error occurs.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int indentCount)
Overrides:
toString in class GenericDO

getAttributeBoolValueDOArray

public AttributeBoolValueDO[] getAttributeBoolValueDOArray()
                                                    throws DataObjectException,
                                                           QueryException
Get array of AttributeBoolValueDO objects that refer to this DO.

Returns:
array of AttributeBoolValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.

getAttributeBoolValueDO

public AttributeBoolValueDO getAttributeBoolValueDO()
                                             throws DataObjectException,
                                                    QueryException,
                                                    NonUniqueQueryException
Get the single AttributeBoolValueDO object that refers to this DO.

Returns:
AttributeBoolValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeBoolValueDO object was found.

addAttributeBoolValueDO

public void addAttributeBoolValueDO(AttributeBoolValueDO referrer)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException
Add (set & commit) a AttributeBoolValueDO object that refers to this DO.

Parameters:
referrer - AttributeBoolValueDO to be set to point to this DO and committed.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

addAttributeBoolValueDO

public void addAttributeBoolValueDO(AttributeBoolValueDO referrer,
                                    DBTransaction tran)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException
Add (set & commit) a AttributeBoolValueDO object that refers to this DO.

Parameters:
referrer - AttributeBoolValueDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeBoolValueDO

public void removeAttributeBoolValueDO(AttributeBoolValueDO referrer)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException
Remove (delete) a AttributeBoolValueDO object that refers to this DO.

Parameters:
referrer - AttributeBoolValueDO to be deleted.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeBoolValueDO

public void removeAttributeBoolValueDO(AttributeBoolValueDO referrer,
                                       DBTransaction tran)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException
Remove (delete) a AttributeBoolValueDO object that refers to this DO.

Parameters:
referrer - AttributeBoolValueDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

getAttributeBoolValueDOArray

public AttributeBoolValueDO[] getAttributeBoolValueDOArray(User usr)
                                                    throws DataObjectException,
                                                           QueryException,
                                                           AccessException
Get array of AttributeBoolValueDO objects that refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeBoolValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeBoolValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

getAttributeBoolValueDO

public AttributeBoolValueDO getAttributeBoolValueDO(User usr)
                                             throws DataObjectException,
                                                    QueryException,
                                                    NonUniqueQueryException,
                                                    AccessException
Get the single AttributeBoolValueDO object that refers to this DO.

Parameters:
usr - The user for security checks
Returns:
AttributeBoolValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeBoolValueDO object was found.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeBoolValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

addAttributeBoolValueDO

public void addAttributeBoolValueDO(AttributeBoolValueDO referrer,
                                    User usr)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException,
                                    AccessException
Add (set & commit) a AttributeBoolValueDO object that refers to this DO.

Parameters:
referrer - AttributeBoolValueDO to be set to point to this DO and committed.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

addAttributeBoolValueDO

public void addAttributeBoolValueDO(AttributeBoolValueDO referrer,
                                    DBTransaction tran,
                                    User usr)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException,
                                    AccessException
Add (set & commit) a AttributeBoolValueDO object that refers to this DO.

Parameters:
referrer - AttributeBoolValueDO to be set to point to this DO and committed.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeBoolValueDO

public void removeAttributeBoolValueDO(AttributeBoolValueDO referrer,
                                       User usr)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException,
                                       AccessException
Remove (delete) a AttributeBoolValueDO object that refers to this DO.

Parameters:
referrer - AttributeBoolValueDO to be deleted.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeBoolValueDO

public void removeAttributeBoolValueDO(AttributeBoolValueDO referrer,
                                       DBTransaction tran,
                                       User usr)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException,
                                       AccessException
Remove (delete) a AttributeBoolValueDO object that refers to this DO.

Parameters:
referrer - AttributeBoolValueDO to be deleted.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

getAttributeBoolValueDOArrayCount

public int getAttributeBoolValueDOArrayCount()
                                      throws DataObjectException,
                                             QueryException,
                                             NonUniqueQueryException,
                                             java.sql.SQLException,
                                             DatabaseManagerException
Get the number of AttributeBoolValueDOs that refer to this DO. via GENERICOBJECTOID

Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeBoolValueDOArrayCount

public int getAttributeBoolValueDOArrayCount(User usr)
                                      throws DataObjectException,
                                             QueryException,
                                             NonUniqueQueryException,
                                             java.sql.SQLException,
                                             DatabaseManagerException,
                                             AccessException
Get the number of AttributeBoolValueDOs that refer to this DO. via GENERICOBJECTOID

Parameters:
usr - The user for security checks
Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeBoolValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeDateValueDOArray

public AttributeDateValueDO[] getAttributeDateValueDOArray()
                                                    throws DataObjectException,
                                                           QueryException
Get array of AttributeDateValueDO objects that refer to this DO.

Returns:
array of AttributeDateValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.

getAttributeDateValueDO

public AttributeDateValueDO getAttributeDateValueDO()
                                             throws DataObjectException,
                                                    QueryException,
                                                    NonUniqueQueryException
Get the single AttributeDateValueDO object that refers to this DO.

Returns:
AttributeDateValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeDateValueDO object was found.

addAttributeDateValueDO

public void addAttributeDateValueDO(AttributeDateValueDO referrer)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException
Add (set & commit) a AttributeDateValueDO object that refers to this DO.

Parameters:
referrer - AttributeDateValueDO to be set to point to this DO and committed.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

addAttributeDateValueDO

public void addAttributeDateValueDO(AttributeDateValueDO referrer,
                                    DBTransaction tran)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException
Add (set & commit) a AttributeDateValueDO object that refers to this DO.

Parameters:
referrer - AttributeDateValueDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeDateValueDO

public void removeAttributeDateValueDO(AttributeDateValueDO referrer)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException
Remove (delete) a AttributeDateValueDO object that refers to this DO.

Parameters:
referrer - AttributeDateValueDO to be deleted.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeDateValueDO

public void removeAttributeDateValueDO(AttributeDateValueDO referrer,
                                       DBTransaction tran)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException
Remove (delete) a AttributeDateValueDO object that refers to this DO.

Parameters:
referrer - AttributeDateValueDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

getAttributeDateValueDOArray

public AttributeDateValueDO[] getAttributeDateValueDOArray(User usr)
                                                    throws DataObjectException,
                                                           QueryException,
                                                           AccessException
Get array of AttributeDateValueDO objects that refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeDateValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeDateValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

getAttributeDateValueDO

public AttributeDateValueDO getAttributeDateValueDO(User usr)
                                             throws DataObjectException,
                                                    QueryException,
                                                    NonUniqueQueryException,
                                                    AccessException
Get the single AttributeDateValueDO object that refers to this DO.

Parameters:
usr - The user for security checks
Returns:
AttributeDateValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeDateValueDO object was found.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeDateValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

addAttributeDateValueDO

public void addAttributeDateValueDO(AttributeDateValueDO referrer,
                                    User usr)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException,
                                    AccessException
Add (set & commit) a AttributeDateValueDO object that refers to this DO.

Parameters:
referrer - AttributeDateValueDO to be set to point to this DO and committed.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

addAttributeDateValueDO

public void addAttributeDateValueDO(AttributeDateValueDO referrer,
                                    DBTransaction tran,
                                    User usr)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException,
                                    AccessException
Add (set & commit) a AttributeDateValueDO object that refers to this DO.

Parameters:
referrer - AttributeDateValueDO to be set to point to this DO and committed.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeDateValueDO

public void removeAttributeDateValueDO(AttributeDateValueDO referrer,
                                       User usr)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException,
                                       AccessException
Remove (delete) a AttributeDateValueDO object that refers to this DO.

Parameters:
referrer - AttributeDateValueDO to be deleted.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeDateValueDO

public void removeAttributeDateValueDO(AttributeDateValueDO referrer,
                                       DBTransaction tran,
                                       User usr)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException,
                                       AccessException
Remove (delete) a AttributeDateValueDO object that refers to this DO.

Parameters:
referrer - AttributeDateValueDO to be deleted.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

getAttributeDateValueDOArrayCount

public int getAttributeDateValueDOArrayCount()
                                      throws DataObjectException,
                                             QueryException,
                                             NonUniqueQueryException,
                                             java.sql.SQLException,
                                             DatabaseManagerException
Get the number of AttributeDateValueDOs that refer to this DO. via GENERICOBJECTOID

Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeDateValueDOArrayCount

public int getAttributeDateValueDOArrayCount(User usr)
                                      throws DataObjectException,
                                             QueryException,
                                             NonUniqueQueryException,
                                             java.sql.SQLException,
                                             DatabaseManagerException,
                                             AccessException
Get the number of AttributeDateValueDOs that refer to this DO. via GENERICOBJECTOID

Parameters:
usr - The user for security checks
Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeDateValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeEnumValueDOArray

public AttributeEnumValueDO[] getAttributeEnumValueDOArray()
                                                    throws DataObjectException,
                                                           QueryException
Get array of AttributeEnumValueDO objects that refer to this DO.

Returns:
array of AttributeEnumValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.

getAttributeEnumValueDO

public AttributeEnumValueDO getAttributeEnumValueDO()
                                             throws DataObjectException,
                                                    QueryException,
                                                    NonUniqueQueryException
Get the single AttributeEnumValueDO object that refers to this DO.

Returns:
AttributeEnumValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeEnumValueDO object was found.

addAttributeEnumValueDO

public void addAttributeEnumValueDO(AttributeEnumValueDO referrer)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException
Add (set & commit) a AttributeEnumValueDO object that refers to this DO.

Parameters:
referrer - AttributeEnumValueDO to be set to point to this DO and committed.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

addAttributeEnumValueDO

public void addAttributeEnumValueDO(AttributeEnumValueDO referrer,
                                    DBTransaction tran)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException
Add (set & commit) a AttributeEnumValueDO object that refers to this DO.

Parameters:
referrer - AttributeEnumValueDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeEnumValueDO

public void removeAttributeEnumValueDO(AttributeEnumValueDO referrer)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException
Remove (delete) a AttributeEnumValueDO object that refers to this DO.

Parameters:
referrer - AttributeEnumValueDO to be deleted.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeEnumValueDO

public void removeAttributeEnumValueDO(AttributeEnumValueDO referrer,
                                       DBTransaction tran)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException
Remove (delete) a AttributeEnumValueDO object that refers to this DO.

Parameters:
referrer - AttributeEnumValueDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

getAttributeEnumValueDOArray

public AttributeEnumValueDO[] getAttributeEnumValueDOArray(User usr)
                                                    throws DataObjectException,
                                                           QueryException,
                                                           AccessException
Get array of AttributeEnumValueDO objects that refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeEnumValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeEnumValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

getAttributeEnumValueDO

public AttributeEnumValueDO getAttributeEnumValueDO(User usr)
                                             throws DataObjectException,
                                                    QueryException,
                                                    NonUniqueQueryException,
                                                    AccessException
Get the single AttributeEnumValueDO object that refers to this DO.

Parameters:
usr - The user for security checks
Returns:
AttributeEnumValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeEnumValueDO object was found.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeEnumValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

addAttributeEnumValueDO

public void addAttributeEnumValueDO(AttributeEnumValueDO referrer,
                                    User usr)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException,
                                    AccessException
Add (set & commit) a AttributeEnumValueDO object that refers to this DO.

Parameters:
referrer - AttributeEnumValueDO to be set to point to this DO and committed.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

addAttributeEnumValueDO

public void addAttributeEnumValueDO(AttributeEnumValueDO referrer,
                                    DBTransaction tran,
                                    User usr)
                             throws java.sql.SQLException,
                                    DatabaseManagerException,
                                    DataObjectException,
                                    RefAssertionException,
                                    DBRowUpdateException,
                                    QueryException,
                                    AccessException
Add (set & commit) a AttributeEnumValueDO object that refers to this DO.

Parameters:
referrer - AttributeEnumValueDO to be set to point to this DO and committed.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeEnumValueDO

public void removeAttributeEnumValueDO(AttributeEnumValueDO referrer,
                                       User usr)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException,
                                       AccessException
Remove (delete) a AttributeEnumValueDO object that refers to this DO.

Parameters:
referrer - AttributeEnumValueDO to be deleted.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeEnumValueDO

public void removeAttributeEnumValueDO(AttributeEnumValueDO referrer,
                                       DBTransaction tran,
                                       User usr)
                                throws java.sql.SQLException,
                                       DatabaseManagerException,
                                       DataObjectException,
                                       RefAssertionException,
                                       DBRowUpdateException,
                                       QueryException,
                                       AccessException
Remove (delete) a AttributeEnumValueDO object that refers to this DO.

Parameters:
referrer - AttributeEnumValueDO to be deleted.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

getAttributeEnumValueDOArrayCount

public int getAttributeEnumValueDOArrayCount()
                                      throws DataObjectException,
                                             QueryException,
                                             NonUniqueQueryException,
                                             java.sql.SQLException,
                                             DatabaseManagerException
Get the number of AttributeEnumValueDOs that refer to this DO. via GENERICOBJECTOID

Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeEnumValueDOArrayCount

public int getAttributeEnumValueDOArrayCount(User usr)
                                      throws DataObjectException,
                                             QueryException,
                                             NonUniqueQueryException,
                                             java.sql.SQLException,
                                             DatabaseManagerException,
                                             AccessException
Get the number of AttributeEnumValueDOs that refer to this DO. via GENERICOBJECTOID

Parameters:
usr - The user for security checks
Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeEnumValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeNumberValueDOArray

public AttributeNumberValueDO[] getAttributeNumberValueDOArray()
                                                        throws DataObjectException,
                                                               QueryException
Get array of AttributeNumberValueDO objects that refer to this DO.

Returns:
array of AttributeNumberValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.

getAttributeNumberValueDO

public AttributeNumberValueDO getAttributeNumberValueDO()
                                                 throws DataObjectException,
                                                        QueryException,
                                                        NonUniqueQueryException
Get the single AttributeNumberValueDO object that refers to this DO.

Returns:
AttributeNumberValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeNumberValueDO object was found.

addAttributeNumberValueDO

public void addAttributeNumberValueDO(AttributeNumberValueDO referrer)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException
Add (set & commit) a AttributeNumberValueDO object that refers to this DO.

Parameters:
referrer - AttributeNumberValueDO to be set to point to this DO and committed.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

addAttributeNumberValueDO

public void addAttributeNumberValueDO(AttributeNumberValueDO referrer,
                                      DBTransaction tran)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException
Add (set & commit) a AttributeNumberValueDO object that refers to this DO.

Parameters:
referrer - AttributeNumberValueDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeNumberValueDO

public void removeAttributeNumberValueDO(AttributeNumberValueDO referrer)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException
Remove (delete) a AttributeNumberValueDO object that refers to this DO.

Parameters:
referrer - AttributeNumberValueDO to be deleted.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeNumberValueDO

public void removeAttributeNumberValueDO(AttributeNumberValueDO referrer,
                                         DBTransaction tran)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException
Remove (delete) a AttributeNumberValueDO object that refers to this DO.

Parameters:
referrer - AttributeNumberValueDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

getAttributeNumberValueDOArray

public AttributeNumberValueDO[] getAttributeNumberValueDOArray(User usr)
                                                        throws DataObjectException,
                                                               QueryException,
                                                               AccessException
Get array of AttributeNumberValueDO objects that refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeNumberValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeNumberValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

getAttributeNumberValueDO

public AttributeNumberValueDO getAttributeNumberValueDO(User usr)
                                                 throws DataObjectException,
                                                        QueryException,
                                                        NonUniqueQueryException,
                                                        AccessException
Get the single AttributeNumberValueDO object that refers to this DO.

Parameters:
usr - The user for security checks
Returns:
AttributeNumberValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeNumberValueDO object was found.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeNumberValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

addAttributeNumberValueDO

public void addAttributeNumberValueDO(AttributeNumberValueDO referrer,
                                      User usr)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException,
                                      AccessException
Add (set & commit) a AttributeNumberValueDO object that refers to this DO.

Parameters:
referrer - AttributeNumberValueDO to be set to point to this DO and committed.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

addAttributeNumberValueDO

public void addAttributeNumberValueDO(AttributeNumberValueDO referrer,
                                      DBTransaction tran,
                                      User usr)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException,
                                      AccessException
Add (set & commit) a AttributeNumberValueDO object that refers to this DO.

Parameters:
referrer - AttributeNumberValueDO to be set to point to this DO and committed.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeNumberValueDO

public void removeAttributeNumberValueDO(AttributeNumberValueDO referrer,
                                         User usr)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException,
                                         AccessException
Remove (delete) a AttributeNumberValueDO object that refers to this DO.

Parameters:
referrer - AttributeNumberValueDO to be deleted.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeNumberValueDO

public void removeAttributeNumberValueDO(AttributeNumberValueDO referrer,
                                         DBTransaction tran,
                                         User usr)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException,
                                         AccessException
Remove (delete) a AttributeNumberValueDO object that refers to this DO.

Parameters:
referrer - AttributeNumberValueDO to be deleted.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

getAttributeNumberValueDOArrayCount

public int getAttributeNumberValueDOArrayCount()
                                        throws DataObjectException,
                                               QueryException,
                                               NonUniqueQueryException,
                                               java.sql.SQLException,
                                               DatabaseManagerException
Get the number of AttributeNumberValueDOs that refer to this DO. via GENERICOBJECTOID

Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeNumberValueDOArrayCount

public int getAttributeNumberValueDOArrayCount(User usr)
                                        throws DataObjectException,
                                               QueryException,
                                               NonUniqueQueryException,
                                               java.sql.SQLException,
                                               DatabaseManagerException,
                                               AccessException
Get the number of AttributeNumberValueDOs that refer to this DO. via GENERICOBJECTOID

Parameters:
usr - The user for security checks
Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeNumberValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeObjectValueDOArray

public AttributeObjectValueDO[] getAttributeObjectValueDOArray()
                                                        throws DataObjectException,
                                                               QueryException
Get array of AttributeObjectValueDO objects that refer to this DO.

Returns:
array of AttributeObjectValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.

getAttributeObjectValueDO

public AttributeObjectValueDO getAttributeObjectValueDO()
                                                 throws DataObjectException,
                                                        QueryException,
                                                        NonUniqueQueryException
Get the single AttributeObjectValueDO object that refers to this DO.

Returns:
AttributeObjectValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeObjectValueDO object was found.

addAttributeObjectValueDO

public void addAttributeObjectValueDO(AttributeObjectValueDO referrer)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException
Add (set & commit) a AttributeObjectValueDO object that refers to this DO.

Parameters:
referrer - AttributeObjectValueDO to be set to point to this DO and committed.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

addAttributeObjectValueDO

public void addAttributeObjectValueDO(AttributeObjectValueDO referrer,
                                      DBTransaction tran)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException
Add (set & commit) a AttributeObjectValueDO object that refers to this DO.

Parameters:
referrer - AttributeObjectValueDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeObjectValueDO

public void removeAttributeObjectValueDO(AttributeObjectValueDO referrer)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException
Remove (delete) a AttributeObjectValueDO object that refers to this DO.

Parameters:
referrer - AttributeObjectValueDO to be deleted.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeObjectValueDO

public void removeAttributeObjectValueDO(AttributeObjectValueDO referrer,
                                         DBTransaction tran)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException
Remove (delete) a AttributeObjectValueDO object that refers to this DO.

Parameters:
referrer - AttributeObjectValueDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

getAttributeObjectValueDOArray

public AttributeObjectValueDO[] getAttributeObjectValueDOArray(User usr)
                                                        throws DataObjectException,
                                                               QueryException,
                                                               AccessException
Get array of AttributeObjectValueDO objects that refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeObjectValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeObjectValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

getAttributeObjectValueDO

public AttributeObjectValueDO getAttributeObjectValueDO(User usr)
                                                 throws DataObjectException,
                                                        QueryException,
                                                        NonUniqueQueryException,
                                                        AccessException
Get the single AttributeObjectValueDO object that refers to this DO.

Parameters:
usr - The user for security checks
Returns:
AttributeObjectValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeObjectValueDO object was found.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeObjectValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

addAttributeObjectValueDO

public void addAttributeObjectValueDO(AttributeObjectValueDO referrer,
                                      User usr)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException,
                                      AccessException
Add (set & commit) a AttributeObjectValueDO object that refers to this DO.

Parameters:
referrer - AttributeObjectValueDO to be set to point to this DO and committed.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

addAttributeObjectValueDO

public void addAttributeObjectValueDO(AttributeObjectValueDO referrer,
                                      DBTransaction tran,
                                      User usr)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException,
                                      AccessException
Add (set & commit) a AttributeObjectValueDO object that refers to this DO.

Parameters:
referrer - AttributeObjectValueDO to be set to point to this DO and committed.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeObjectValueDO

public void removeAttributeObjectValueDO(AttributeObjectValueDO referrer,
                                         User usr)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException,
                                         AccessException
Remove (delete) a AttributeObjectValueDO object that refers to this DO.

Parameters:
referrer - AttributeObjectValueDO to be deleted.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeObjectValueDO

public void removeAttributeObjectValueDO(AttributeObjectValueDO referrer,
                                         DBTransaction tran,
                                         User usr)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException,
                                         AccessException
Remove (delete) a AttributeObjectValueDO object that refers to this DO.

Parameters:
referrer - AttributeObjectValueDO to be deleted.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

getAttributeObjectValueDOArrayCount

public int getAttributeObjectValueDOArrayCount()
                                        throws DataObjectException,
                                               QueryException,
                                               NonUniqueQueryException,
                                               java.sql.SQLException,
                                               DatabaseManagerException
Get the number of AttributeObjectValueDOs that refer to this DO. via GENERICOBJECTOID

Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeObjectValueDOArrayCount

public int getAttributeObjectValueDOArrayCount(User usr)
                                        throws DataObjectException,
                                               QueryException,
                                               NonUniqueQueryException,
                                               java.sql.SQLException,
                                               DatabaseManagerException,
                                               AccessException
Get the number of AttributeObjectValueDOs that refer to this DO. via GENERICOBJECTOID

Parameters:
usr - The user for security checks
Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeObjectValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeStringValueDOArray

public AttributeStringValueDO[] getAttributeStringValueDOArray()
                                                        throws DataObjectException,
                                                               QueryException
Get array of AttributeStringValueDO objects that refer to this DO.

Returns:
array of AttributeStringValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.

getAttributeStringValueDO

public AttributeStringValueDO getAttributeStringValueDO()
                                                 throws DataObjectException,
                                                        QueryException,
                                                        NonUniqueQueryException
Get the single AttributeStringValueDO object that refers to this DO.

Returns:
AttributeStringValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeStringValueDO object was found.

addAttributeStringValueDO

public void addAttributeStringValueDO(AttributeStringValueDO referrer)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException
Add (set & commit) a AttributeStringValueDO object that refers to this DO.

Parameters:
referrer - AttributeStringValueDO to be set to point to this DO and committed.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

addAttributeStringValueDO

public void addAttributeStringValueDO(AttributeStringValueDO referrer,
                                      DBTransaction tran)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException
Add (set & commit) a AttributeStringValueDO object that refers to this DO.

Parameters:
referrer - AttributeStringValueDO to be set to point to this DO and committed.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeStringValueDO

public void removeAttributeStringValueDO(AttributeStringValueDO referrer)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException
Remove (delete) a AttributeStringValueDO object that refers to this DO.

Parameters:
referrer - AttributeStringValueDO to be deleted.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

removeAttributeStringValueDO

public void removeAttributeStringValueDO(AttributeStringValueDO referrer,
                                         DBTransaction tran)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException
Remove (delete) a AttributeStringValueDO object that refers to this DO.

Parameters:
referrer - AttributeStringValueDO to be deleted.
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database.
RefAssertionException
DBRowUpdateException
QueryException

getAttributeStringValueDOArray

public AttributeStringValueDO[] getAttributeStringValueDOArray(User usr)
                                                        throws DataObjectException,
                                                               QueryException,
                                                               AccessException
Get array of AttributeStringValueDO objects that refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeStringValueDO objects.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeStringValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

getAttributeStringValueDO

public AttributeStringValueDO getAttributeStringValueDO(User usr)
                                                 throws DataObjectException,
                                                        QueryException,
                                                        NonUniqueQueryException,
                                                        AccessException
Get the single AttributeStringValueDO object that refers to this DO.

Parameters:
usr - The user for security checks
Returns:
AttributeStringValueDO object.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
NonUniqueQueryException - If more than one AttributeStringValueDO object was found.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeStringValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security

addAttributeStringValueDO

public void addAttributeStringValueDO(AttributeStringValueDO referrer,
                                      User usr)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException,
                                      AccessException
Add (set & commit) a AttributeStringValueDO object that refers to this DO.

Parameters:
referrer - AttributeStringValueDO to be set to point to this DO and committed.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

addAttributeStringValueDO

public void addAttributeStringValueDO(AttributeStringValueDO referrer,
                                      DBTransaction tran,
                                      User usr)
                               throws java.sql.SQLException,
                                      DatabaseManagerException,
                                      DataObjectException,
                                      RefAssertionException,
                                      DBRowUpdateException,
                                      QueryException,
                                      AccessException
Add (set & commit) a AttributeStringValueDO object that refers to this DO.

Parameters:
referrer - AttributeStringValueDO to be set to point to this DO and committed.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeStringValueDO

public void removeAttributeStringValueDO(AttributeStringValueDO referrer,
                                         User usr)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException,
                                         AccessException
Remove (delete) a AttributeStringValueDO object that refers to this DO.

Parameters:
referrer - AttributeStringValueDO to be deleted.
usr - The user for security checks
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

removeAttributeStringValueDO

public void removeAttributeStringValueDO(AttributeStringValueDO referrer,
                                         DBTransaction tran,
                                         User usr)
                                  throws java.sql.SQLException,
                                         DatabaseManagerException,
                                         DataObjectException,
                                         RefAssertionException,
                                         DBRowUpdateException,
                                         QueryException,
                                         AccessException
Remove (delete) a AttributeStringValueDO object that refers to this DO.

Parameters:
referrer - AttributeStringValueDO to be deleted.
usr - The user for security checks
tran - The transaction to be used for the commit. If null, a new transaction is created.
Throws:
DatabaseManagerException - if could not create a transaction
java.sql.SQLException - if any SQL errors occur.
DataObjectException - If object is not found in the database. WebDocWf extension
RefAssertionException
DBRowUpdateException
QueryException
AccessException

getAttributeStringValueDOArrayCount

public int getAttributeStringValueDOArrayCount()
                                        throws DataObjectException,
                                               QueryException,
                                               NonUniqueQueryException,
                                               java.sql.SQLException,
                                               DatabaseManagerException
Get the number of AttributeStringValueDOs that refer to this DO. via GENERICOBJECTOID

Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeStringValueDOArrayCount

public int getAttributeStringValueDOArrayCount(User usr)
                                        throws DataObjectException,
                                               QueryException,
                                               NonUniqueQueryException,
                                               java.sql.SQLException,
                                               DatabaseManagerException,
                                               AccessException
Get the number of AttributeStringValueDOs that refer to this DO. via GENERICOBJECTOID

Parameters:
usr - The user for security checks
Returns:
The number of objects that refer to this DO
Throws:
DataObjectException - If object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeStringValue or to access the foreign key attribute GENERICOBJECTOID. This is a WebDocWf extension for DODS row instance security
QueryException
NonUniqueQueryException
java.sql.SQLException
DatabaseManagerException

getAttributeDefinitionDOArray_via_AttributeBoolValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeBoolValue()
                                                                             throws DataObjectException
From the many-to-many relationship expressed by AttributeBoolValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.

mapAttributeDefinition_via_AttributeBoolValueDO

public void mapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d)
                                                     throws DataObjectException,
                                                            DatabaseManagerException,
                                                            RefAssertionException,
                                                            java.sql.SQLException,
                                                            DBRowUpdateException,
                                                            QueryException
To the many-to-many relationship expressed by AttributeBoolValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeBoolValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

mapAttributeDefinition_via_AttributeBoolValueDO

public void mapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d,
                                                            DBTransaction tran)
                                                     throws DataObjectException,
                                                            DatabaseManagerException,
                                                            RefAssertionException,
                                                            java.sql.SQLException,
                                                            DBRowUpdateException,
                                                            QueryException
To the many-to-many relationship expressed by AttributeBoolValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

unmapAttributeDefinition_via_AttributeBoolValueDO

public void unmapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
From the many-to-many relationship expressed by AttributeBoolValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeBoolValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

unmapAttributeDefinition_via_AttributeBoolValueDO

public void unmapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
From the many-to-many relationship expressed by AttributeBoolValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

getAttributeDefinitionDOArray_via_AttributeBoolValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeBoolValue(User usr)
                                                                             throws DataObjectException,
                                                                                    AccessException
From the many-to-many relationship expressed by AttributeBoolValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeBoolValue or to access the foreign key attribute ATTRIBUTEDEFINITIONOID. This is a WebDocWf extension for DODS row instance security

mapAttributeDefinition_via_AttributeBoolValueDO

public void mapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d,
                                                            User usr)
                                                     throws DataObjectException,
                                                            DatabaseManagerException,
                                                            RefAssertionException,
                                                            java.sql.SQLException,
                                                            DBRowUpdateException,
                                                            QueryException,
                                                            AccessException
To the many-to-many relationship expressed by AttributeBoolValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeBoolValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

mapAttributeDefinition_via_AttributeBoolValueDO

public void mapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d,
                                                            DBTransaction tran,
                                                            User usr)
                                                     throws DataObjectException,
                                                            DatabaseManagerException,
                                                            RefAssertionException,
                                                            java.sql.SQLException,
                                                            DBRowUpdateException,
                                                            QueryException,
                                                            AccessException
To the many-to-many relationship expressed by AttributeBoolValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

unmapAttributeDefinition_via_AttributeBoolValueDO

public void unmapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
From the many-to-many relationship expressed by AttributeBoolValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeBoolValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

unmapAttributeDefinition_via_AttributeBoolValueDO

public void unmapAttributeDefinition_via_AttributeBoolValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
From the many-to-many relationship expressed by AttributeBoolValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

getAttributeDefinitionDOArray_via_AttributeDateValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeDateValue()
                                                                             throws DataObjectException
From the many-to-many relationship expressed by AttributeDateValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.

mapAttributeDefinition_via_AttributeDateValueDO

public void mapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d)
                                                     throws DataObjectException,
                                                            DatabaseManagerException,
                                                            RefAssertionException,
                                                            java.sql.SQLException,
                                                            DBRowUpdateException,
                                                            QueryException
To the many-to-many relationship expressed by AttributeDateValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeDateValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

mapAttributeDefinition_via_AttributeDateValueDO

public void mapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d,
                                                            DBTransaction tran)
                                                     throws DataObjectException,
                                                            DatabaseManagerException,
                                                            RefAssertionException,
                                                            java.sql.SQLException,
                                                            DBRowUpdateException,
                                                            QueryException
To the many-to-many relationship expressed by AttributeDateValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

unmapAttributeDefinition_via_AttributeDateValueDO

public void unmapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
From the many-to-many relationship expressed by AttributeDateValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeDateValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

unmapAttributeDefinition_via_AttributeDateValueDO

public void unmapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
From the many-to-many relationship expressed by AttributeDateValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

getAttributeDefinitionDOArray_via_AttributeDateValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeDateValue(User usr)
                                                                             throws DataObjectException,
                                                                                    AccessException
From the many-to-many relationship expressed by AttributeDateValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeDateValue or to access the foreign key attribute ATTRIBUTEDEFINITIONOID. This is a WebDocWf extension for DODS row instance security

mapAttributeDefinition_via_AttributeDateValueDO

public void mapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d,
                                                            User usr)
                                                     throws DataObjectException,
                                                            DatabaseManagerException,
                                                            RefAssertionException,
                                                            java.sql.SQLException,
                                                            DBRowUpdateException,
                                                            QueryException,
                                                            AccessException
To the many-to-many relationship expressed by AttributeDateValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeDateValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

mapAttributeDefinition_via_AttributeDateValueDO

public void mapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d,
                                                            DBTransaction tran,
                                                            User usr)
                                                     throws DataObjectException,
                                                            DatabaseManagerException,
                                                            RefAssertionException,
                                                            java.sql.SQLException,
                                                            DBRowUpdateException,
                                                            QueryException,
                                                            AccessException
To the many-to-many relationship expressed by AttributeDateValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

unmapAttributeDefinition_via_AttributeDateValueDO

public void unmapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
From the many-to-many relationship expressed by AttributeDateValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeDateValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

unmapAttributeDefinition_via_AttributeDateValueDO

public void unmapAttributeDefinition_via_AttributeDateValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
From the many-to-many relationship expressed by AttributeDateValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

getAttributeDefinitionDOArray_via_AttributeNumberValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeNumberValue()
                                                                               throws DataObjectException
From the many-to-many relationship expressed by AttributeNumberValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.

mapAttributeDefinition_via_AttributeNumberValueDO

public void mapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
To the many-to-many relationship expressed by AttributeNumberValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeNumberValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

mapAttributeDefinition_via_AttributeNumberValueDO

public void mapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
To the many-to-many relationship expressed by AttributeNumberValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

unmapAttributeDefinition_via_AttributeNumberValueDO

public void unmapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException
From the many-to-many relationship expressed by AttributeNumberValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeNumberValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

unmapAttributeDefinition_via_AttributeNumberValueDO

public void unmapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d,
                                                                DBTransaction tran)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException
From the many-to-many relationship expressed by AttributeNumberValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

getAttributeDefinitionDOArray_via_AttributeNumberValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeNumberValue(User usr)
                                                                               throws DataObjectException,
                                                                                      AccessException
From the many-to-many relationship expressed by AttributeNumberValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeNumberValue or to access the foreign key attribute ATTRIBUTEDEFINITIONOID. This is a WebDocWf extension for DODS row instance security

mapAttributeDefinition_via_AttributeNumberValueDO

public void mapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
To the many-to-many relationship expressed by AttributeNumberValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeNumberValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

mapAttributeDefinition_via_AttributeNumberValueDO

public void mapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
To the many-to-many relationship expressed by AttributeNumberValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

unmapAttributeDefinition_via_AttributeNumberValueDO

public void unmapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d,
                                                                User usr)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException,
                                                                AccessException
From the many-to-many relationship expressed by AttributeNumberValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeNumberValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

unmapAttributeDefinition_via_AttributeNumberValueDO

public void unmapAttributeDefinition_via_AttributeNumberValueDO(AttributeDefinitionDO d,
                                                                DBTransaction tran,
                                                                User usr)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException,
                                                                AccessException
From the many-to-many relationship expressed by AttributeNumberValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

getAttributeDefinitionDOArray_via_AttributeObjectValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeObjectValue()
                                                                               throws DataObjectException
From the many-to-many relationship expressed by AttributeObjectValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.

mapAttributeDefinition_via_AttributeObjectValueDO

public void mapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
To the many-to-many relationship expressed by AttributeObjectValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeObjectValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

mapAttributeDefinition_via_AttributeObjectValueDO

public void mapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
To the many-to-many relationship expressed by AttributeObjectValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

unmapAttributeDefinition_via_AttributeObjectValueDO

public void unmapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException
From the many-to-many relationship expressed by AttributeObjectValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeObjectValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

unmapAttributeDefinition_via_AttributeObjectValueDO

public void unmapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d,
                                                                DBTransaction tran)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException
From the many-to-many relationship expressed by AttributeObjectValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

getAttributeDefinitionDOArray_via_AttributeObjectValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeObjectValue(User usr)
                                                                               throws DataObjectException,
                                                                                      AccessException
From the many-to-many relationship expressed by AttributeObjectValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeObjectValue or to access the foreign key attribute ATTRIBUTEDEFINITIONOID. This is a WebDocWf extension for DODS row instance security

mapAttributeDefinition_via_AttributeObjectValueDO

public void mapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
To the many-to-many relationship expressed by AttributeObjectValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeObjectValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

mapAttributeDefinition_via_AttributeObjectValueDO

public void mapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
To the many-to-many relationship expressed by AttributeObjectValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

unmapAttributeDefinition_via_AttributeObjectValueDO

public void unmapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d,
                                                                User usr)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException,
                                                                AccessException
From the many-to-many relationship expressed by AttributeObjectValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeObjectValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

unmapAttributeDefinition_via_AttributeObjectValueDO

public void unmapAttributeDefinition_via_AttributeObjectValueDO(AttributeDefinitionDO d,
                                                                DBTransaction tran,
                                                                User usr)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException,
                                                                AccessException
From the many-to-many relationship expressed by AttributeObjectValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

getAttributeDefinitionDOArray_via_AttributeStringValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeStringValue()
                                                                               throws DataObjectException
From the many-to-many relationship expressed by AttributeStringValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.

mapAttributeDefinition_via_AttributeStringValueDO

public void mapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
To the many-to-many relationship expressed by AttributeStringValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeStringValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

mapAttributeDefinition_via_AttributeStringValueDO

public void mapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException
To the many-to-many relationship expressed by AttributeStringValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException

unmapAttributeDefinition_via_AttributeStringValueDO

public void unmapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException
From the many-to-many relationship expressed by AttributeStringValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeStringValueDO mapping for this DO.
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

unmapAttributeDefinition_via_AttributeStringValueDO

public void unmapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d,
                                                                DBTransaction tran)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException
From the many-to-many relationship expressed by AttributeStringValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution.
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException

getAttributeDefinitionDOArray_via_AttributeStringValue

public AttributeDefinitionDO[] getAttributeDefinitionDOArray_via_AttributeStringValue(User usr)
                                                                               throws DataObjectException,
                                                                                      AccessException
From the many-to-many relationship expressed by AttributeStringValueDO, get array of AttributeDefinitionDO objects that indirectly refer to this DO.

Parameters:
usr - The user for security checks
Returns:
array of AttributeDefinitionDO objects.
Throws:
DataObjectException - If the object is not found in the database.
AccessException - The user is not allowed to create a query for org.webdocwf.util.genericstore.data.AttributeStringValue or to access the foreign key attribute ATTRIBUTEDEFINITIONOID. This is a WebDocWf extension for DODS row instance security

mapAttributeDefinition_via_AttributeStringValueDO

public void mapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
To the many-to-many relationship expressed by AttributeStringValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to add to the AttributeStringValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

mapAttributeDefinition_via_AttributeStringValueDO

public void mapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d,
                                                              DBTransaction tran,
                                                              User usr)
                                                       throws DataObjectException,
                                                              DatabaseManagerException,
                                                              RefAssertionException,
                                                              java.sql.SQLException,
                                                              DBRowUpdateException,
                                                              QueryException,
                                                              AccessException
To the many-to-many relationship expressed by AttributeStringValueDO, add a AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
QueryException
AccessException

unmapAttributeDefinition_via_AttributeStringValueDO

public void unmapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d,
                                                                User usr)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException,
                                                                AccessException
From the many-to-many relationship expressed by AttributeStringValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
d - The AttributeDefinitionDO to remove from the AttributeStringValueDO mapping for this DO.
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

unmapAttributeDefinition_via_AttributeStringValueDO

public void unmapAttributeDefinition_via_AttributeStringValueDO(AttributeDefinitionDO d,
                                                                DBTransaction tran,
                                                                User usr)
                                                         throws DataObjectException,
                                                                DatabaseManagerException,
                                                                RefAssertionException,
                                                                java.sql.SQLException,
                                                                DBRowUpdateException,
                                                                QueryException,
                                                                AccessException
From the many-to-many relationship expressed by AttributeStringValueDO, remove (delete) the AttributeDefinitionDO object that indirectly refers to this DO.

Parameters:
usr - The user for security checks
Throws:
DataObjectException - If the object is not found in the database.
QueryException - If an error occured while building the query before execution. WebDocWf extension
DatabaseManagerException
RefAssertionException
java.sql.SQLException
DBRowUpdateException
AccessException

okToCommit

protected void okToCommit()
                   throws RefAssertionException
A stub method for implementing pre-commit assertions for this GenericObjectDO. Implement this stub to throw an RefAssertionException for cases where this object is not valid for writing to the database.

RefAssertionException

okToDelete

protected void okToDelete()
                   throws RefAssertionException
A stub method for implementing pre-delete assertions for this GenericObjectDO. Implement this stub to throw an RefAssertionException for cases where this object is not valid for deletion from the database.

RefAssertionException

commit

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

Inserts/Updates the DO into its table.

Specified by:
commit in interface GenericObjectDOI
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()
          throws java.sql.SQLException,
                 DatabaseManagerException,
                 DataObjectException,
                 RefAssertionException,
                 DBRowUpdateException,
                 QueryException
Inserts/Updates the DO into its table.

Specified by:
save in interface GenericObjectDOI
Overrides:
save in class GenericStoreDO
Throws:
DatabaseManagerException - if a Transaction can not be created.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur. WebDocWf extension
DataObjectException
DBRowUpdateException
QueryException

save

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

Parameters:
references - True if references should be saved with this DO
Throws:
DatabaseManagerException - if a Transaction can not be created.
RefAssertionException - thrown by okTo method.
java.sql.SQLException - if any SQL errors occur. WebDocWf extension
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.

Specified by:
commit in interface GenericObjectDOI
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

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 commit() method of another DO which references this DO.

Specified by:
save in interface GenericObjectDOI
Overrides:
save in class GenericStoreDO
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. WebDocWf extension
DataObjectException
QueryException

save

public void save(DBTransaction dbt,
                 boolean references)
          throws java.sql.SQLException,
                 DatabaseManagerException,
                 DataObjectException,
                 RefAssertionException,
                 DBRowUpdateException,
                 QueryException
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.
references - True if references of this DO should be saved
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. WebDocWf extension
DataObjectException
QueryException

delete

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

Specified by:
delete in interface GenericObjectDOI
Overrides:
delete in class GenericStoreDO
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.

Specified by:
delete in interface GenericObjectDOI
Overrides:
delete in class GenericStoreDO
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

okToCommitTYPEDEFINITIONOID

protected void okToCommitTYPEDEFINITIONOID(TypeDefinitionDO member)
                                    throws RefAssertionException
A stub method for implementing pre-commit assertions for the TYPEDEFINITIONOID data member. Implement this stub to throw an RefAssertionException for cases where TYPEDEFINITIONOID is not valid for writing to the database.

RefAssertionException

okToDeleteTYPEDEFINITIONOID

protected void okToDeleteTYPEDEFINITIONOID(TypeDefinitionDO member)
                                    throws RefAssertionException
A stub method for implementing pre-delete assertions for the TYPEDEFINITIONOID data member. Implement this stub to throw an RefAssertionException for cases where TYPEDEFINITIONOID is not valid for deletion from the database.

RefAssertionException

modifyDO

protected void modifyDO(DBTransaction dbt,
                        boolean delete)
                 throws java.sql.SQLException,
                        DatabaseManagerException,
                        DataObjectException,
                        RefAssertionException,
                        DBRowUpdateException,
                        QueryException
Modifies the DO within its table. Performs recursive commit/delete on referenced DOs; all operations occur within a single transaction to allow rollback in the event of error. Only the creator of the transaction releases it.

Parameters:
dbt - The transaction object to use for this operation.
delete - True if doing a delete, otherwise doing insert/update.
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. WebDocWf extension
DataObjectException
QueryException

modifyDO

protected void modifyDO(DBTransaction dbt,
                        boolean delete,
                        boolean references)
                 throws java.sql.SQLException,
                        DatabaseManagerException,
                        DataObjectException,
                        RefAssertionException,
                        DBRowUpdateException,
                        QueryException
Modifies the DO within its table. Performs recursive commit/delete on referenced DOs; all operations occur within a single transaction to allow rollback in the event of error. Only the creator of the transaction releases it.

Parameters:
dbt - The transaction object to use for this operation.
delete - True if doing a delete, otherwise doing insert/update.
references - True if references should be saved
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. WebDocWf extension
DataObjectException
QueryException

DODS 5.1 API