Purpose: A structure is an object-relational user-defined data-type or object-type. A structure is similar to a Java class as it defines attributes or fields where each attribute is either a primitive data-type, another structure, an array, or a reference to another structure. The mapping is similar to an AggregateObjectMapping, as multiple objects are stored in a single table.
| Access | Constructor and Description |
|---|---|
| public |
| StructureMapping | back to summary |
|---|---|
| public StructureMapping() Default constructor. | |
| buildCompositeObject | back to summary |
|---|---|
| protected Object buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession) Implements abstract org.
| |
| buildCompositeRow | back to summary |
|---|---|
| protected Object buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord Record, DatabaseMapping. Implements abstract org.
| |
| getStructureName | back to summary |
|---|---|
| public String getStructureName() INTERNAL: 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:
| |
| isStructureMapping | back to summary |
|---|---|
| public boolean isStructureMapping() Overrides org. INTERNAL:
| |
| setFieldName | back to summary |
|---|---|
| public void setFieldName(String fieldName) | |