| 
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.mappings.DatabaseMapping
org.eclipse.persistence.mappings.AggregateMapping
org.eclipse.persistence.mappings.foundation.AbstractCompositeCollectionMapping
org.eclipse.persistence.eis.mappings.EISCompositeCollectionMapping
public class EISCompositeCollectionMapping
EIS Composite Collection Mappings map a java.util.Map or java.util.Collection of Java objects to an EIS record in a privately owned, one-to-many relationship 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. | 
EISDescriptor.useIndexedRecordFormat(), 
EISDescriptor.useMappedRecordFormat(), 
EISDescriptor.useXMLRecordFormat(), 
Serialized Form| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.eclipse.persistence.mappings.DatabaseMapping | 
|---|
DatabaseMapping.WriteType | 
| Field Summary | 
|---|
| Fields inherited from class org.eclipse.persistence.mappings.foundation.AbstractCompositeCollectionMapping | 
|---|
converter, field | 
| Fields inherited from class org.eclipse.persistence.mappings.AggregateMapping | 
|---|
referenceClass, referenceClassName, referenceDescriptor | 
| Fields inherited from class org.eclipse.persistence.mappings.DatabaseMapping | 
|---|
attributeAccessor, attributeName, derivedIdMapping, derivesId, descriptor, fields, isCacheable, isJPAId, isLazy, isMapKeyMapping, isOptional, isPrimaryKeyMapping, isReadOnly, isRemotelyInitialized, mapsIdValue, NO_FIELDS, NO_WEIGHT, properties, unconvertedProperties, weight, WEIGHT_AGGREGATE, WEIGHT_DIRECT, WEIGHT_TO_ONE, WEIGHT_TRANSFORM | 
| Constructor Summary | |
|---|---|
EISCompositeCollectionMapping()
 | 
|
| Method Summary | |
|---|---|
protected  java.lang.Object | 
buildCompositeObject(ClassDescriptor descriptor,
                     org.eclipse.persistence.internal.sessions.AbstractRecord nestedRow,
                     ObjectBuildingQuery query,
                     org.eclipse.persistence.internal.identitymaps.CacheKey parentsCacheKey,
                     org.eclipse.persistence.internal.queries.JoinedAttributeManager joinManager,
                     org.eclipse.persistence.internal.sessions.AbstractSession targetSession)
 | 
protected  org.eclipse.persistence.internal.sessions.AbstractRecord | 
buildCompositeRow(java.lang.Object attributeValue,
                  org.eclipse.persistence.internal.sessions.AbstractSession session,
                  org.eclipse.persistence.internal.sessions.AbstractRecord parentRow,
                  DatabaseMapping.WriteType writeType)
 | 
 java.lang.String | 
getFieldName()
PUBLIC: Return the name of the field mapped by the mapping.  | 
 java.lang.String | 
getXPath()
Get the XPath String  | 
 void | 
initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: The mapping is initialized with the given session.  | 
 boolean | 
isEISMapping()
INTERNAL:  | 
 void | 
preInitialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
Fix field names for XML data descriptors.  | 
 void | 
setFieldName(java.lang.String fieldName)
PUBLIC: Set the name of the field mapped by the mapping.  | 
 void | 
setXPath(java.lang.String xpathString)
Set the Mapping field name attribute to the given XPath String  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface org.eclipse.persistence.mappings.structures.ArrayCollectionMapping | 
|---|
getAttributeName, setRealAttributeValueInObject | 
| Constructor Detail | 
|---|
public EISCompositeCollectionMapping()
| Method Detail | 
|---|
public boolean isEISMapping()
isEISMapping in class DatabaseMappingpublic void preInitialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
preInitialize in class DatabaseMapping
public void initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
                throws DescriptorException
initialize in class AbstractCompositeCollectionMappingDescriptorExceptionpublic java.lang.String getXPath()
public void setXPath(java.lang.String xpathString)
xpathString - Stringpublic java.lang.String getFieldName()
public void setFieldName(java.lang.String fieldName)
protected java.lang.Object buildCompositeObject(ClassDescriptor descriptor,
                                                org.eclipse.persistence.internal.sessions.AbstractRecord nestedRow,
                                                ObjectBuildingQuery query,
                                                org.eclipse.persistence.internal.identitymaps.CacheKey parentsCacheKey,
                                                org.eclipse.persistence.internal.queries.JoinedAttributeManager joinManager,
                                                org.eclipse.persistence.internal.sessions.AbstractSession targetSession)
buildCompositeObject in class AbstractCompositeCollectionMapping
protected org.eclipse.persistence.internal.sessions.AbstractRecord buildCompositeRow(java.lang.Object attributeValue,
                                                                                     org.eclipse.persistence.internal.sessions.AbstractSession session,
                                                                                     org.eclipse.persistence.internal.sessions.AbstractRecord parentRow,
                                                                                     DatabaseMapping.WriteType writeType)
buildCompositeRow in class AbstractCompositeCollectionMapping
  | 
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||