EIS Composite Object Mappings map a Java object to a privately owned, one-to-one relationship to an EIS Record according to its descriptor's record type.
| Record Type | Description |
|---|---|
| Indexed | Ordered collection of record elements. The indexed record EIS format enables Java class attribute values to be retreived by position or index. |
| Mapped | Key-value map based representation of record elements. The mapped record EIS format enables Java class attribute values to be retreived by an object key. |
| XML | Record/Map representation of an XML DOM element. |
org.eclipse.persistence.eis.EISDescriptor#useIndexedRecordFormat , org.eclipse.persistence.eis.EISDescriptor#useMappedRecordFormat , org.eclipse.persistence.eis.EISDescriptor#useXMLRecordFormat
| Access | Constructor and Description |
|---|---|
| public |
| EISCompositeObjectMapping | back to summary |
|---|---|
| public EISCompositeObjectMapping() | |
| 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.
| |
| getFieldName | back to summary |
|---|---|
| public String getFieldName() PUBLIC: Return the name of the field mapped by the mapping. | |
| getXPath | back to summary |
|---|---|
| public String getXPath() Get the XPath String
| |
| isEISMapping | back to summary |
|---|---|
| public boolean isEISMapping() Overrides org. INTERNAL:
| |
| postInitialize | back to summary |
|---|---|
| public void postInitialize(AbstractSession session) throws DescriptorException Overrides org. INTERNAL: Initialize the mapping.
| |
| preInitialize | back to summary |
|---|---|
| public void preInitialize(AbstractSession session) Overrides org. Fix field names for XML data descriptors. Since fields are fixed to use text() by default in descriptor, ensure the correct non text field is used here.
| |
| setFieldName | back to summary |
|---|---|
| public void setFieldName(String fieldName) PUBLIC: Set the name of the field mapped by the mapping. | |
| setXPath | back to summary |
|---|---|
| public void setXPath(String xpathString) Set the Mapping field name attribute to the given XPath String
| |
| writeFromObjectIntoRow | back to summary |
|---|---|
| public void writeFromObjectIntoRow(Object object, AbstractRecord record, AbstractSession session, DatabaseMapping. Overrides org. INTERNAL: Build the value for the database field and put it in the specified database row.
| |