Purpose: In an object-relational data model, structures can contain "Arrays" or collections of other data-types. In Oracle 8i, a "VARRAY" is typically used to represent a collection of primitive data or aggregate structures. These arrays are stored with their parent structure in the same table.
StructureMapping, NestedTableMapping, ReferenceMapping
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getElementDataTypeName()
PUBLIC: Return the "data type" associated with each element in the nested collection. |
| public String | |
| public void | initialize(AbstractSession session)
Overrides org. |
| public boolean | isRelationalMapping()
Overrides org. |
| public void | setElementDataTypeName(String elementDataTypeName)
PUBLIC: Set the "data type" associated with each element in the nested collection. |
| public void | |
| public void |
| ArrayMapping | back to summary |
|---|---|
| public ArrayMapping() Default constructor. | |
| getElementDataTypeName | back to summary |
|---|---|
| public String getElementDataTypeName() PUBLIC: Return the "data type" associated with each element in the nested collection. Depending on the data store, this could be optional. | |
| getStructureName | back to summary |
|---|---|
| public String getStructureName() PUBLIC: Return the name of the structure. This is the name of the user-defined data type as defined on the database. | |
| initialize | back to summary |
|---|---|
| public void initialize(AbstractSession session) throws DescriptorException Overrides org. INTERNAL: Initialize the mapping.
| |
| isRelationalMapping | back to summary |
|---|---|
| public boolean isRelationalMapping() Overrides org. INTERNAL:
| |
| setElementDataTypeName | back to summary |
|---|---|
| public void setElementDataTypeName(String elementDataTypeName) PUBLIC: Set the "data type" associated with each element in the nested collection. Depending on the data store, this could be optional. | |
| setFieldName | back to summary |
|---|---|
| public void setFieldName(String fieldName) PUBLIC: Set the name of the field that holds the nested collection. | |
| setStructureName | back to summary |
|---|---|
| public void setStructureName(String structureName) PUBLIC: Set the name of the structure. This is the name of the user-defined data type as defined on the database. | |