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 String getXPath()
        Get the XPath String
        Returns:
        String the XPath String associated with this Mapping
      • setXPath

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

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

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

        protected 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