EIS Composite Direct Collection Mappings map a collection of simple Java attributes to and from 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 retrieved 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 retrieved 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 |
| Modifier and Type | Method and Description |
|---|---|
| public String | getFieldName()
Overrides org. |
| public String | |
| public void | initialize(AbstractSession session)
Overrides org. |
| public boolean | |
| public void | |
| public void |
| EISCompositeDirectCollectionMapping | back to summary |
|---|---|
| public EISCompositeDirectCollectionMapping() | |
| getFieldName | back to summary |
|---|---|
| public String getFieldName() Overrides org. PUBLIC: Return the name of the field that holds the nested collection.
| |
| getXPath | back to summary |
|---|---|
| public String getXPath() Get the XPath String
| |
| initialize | back to summary |
|---|---|
| public void initialize(AbstractSession session) throws DescriptorException Overrides org. INTERNAL: Initialize the mapping.
| |
| isEISMapping | back to summary |
|---|---|
| public boolean isEISMapping() Overrides org. INTERNAL:
| |
| setFieldName | back to summary |
|---|---|
| public void setFieldName(String fieldName) PUBLIC: Set the name of the field that holds the nested collection. | |
| setXPath | back to summary |
|---|---|
| public void setXPath(String xpathString) Set the Mapping field name attribute to the given XPath String
| |