Class EISCompositeCollectionMapping

    • Constructor Detail

      • EISCompositeCollectionMapping

        public EISCompositeCollectionMapping()
    • Method Detail

      • preInitialize

        public void preInitialize​(org.eclipse.persistence.internal.sessions.AbstractSession session)
        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.
        Overrides:
        preInitialize in class DatabaseMapping
      • getXPath

        public java.lang.String getXPath()
        Get the XPath String
        Returns:
        String the XPath String associated with this Mapping
      • setXPath

        public void setXPath​(java.lang.String xpathString)
        Set the Mapping field name attribute to the given XPath String
        Parameters:
        xpathString - String
      • getFieldName

        public java.lang.String getFieldName()
        PUBLIC: Return the name of the field mapped by the mapping.
      • setFieldName

        public void setFieldName​(java.lang.String fieldName)
        PUBLIC: Set the name of the field mapped by the mapping.
      • buildCompositeObject

        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)
        Specified by:
        buildCompositeObject in class AbstractCompositeCollectionMapping
      • buildCompositeRow

        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)
        Specified by:
        buildCompositeRow in class AbstractCompositeCollectionMapping