Class EISCompositeObjectMapping

    • Constructor Detail

      • EISCompositeObjectMapping

        public EISCompositeObjectMapping()
    • Method Detail

      • getXPath

        public String getXPath()
        Get the XPath String
        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
        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​(org.eclipse.persistence.internal.descriptors.ObjectBuilder objectBuilder,
                                              org.eclipse.persistence.internal.sessions.AbstractRecord nestedRow,
                                              ObjectBuildingQuery query,
                                              org.eclipse.persistence.internal.identitymaps.CacheKey parentCacheKey,
                                              org.eclipse.persistence.internal.queries.JoinedAttributeManager joinManager,
                                              org.eclipse.persistence.internal.sessions.AbstractSession targetSession)
        Specified by:
        buildCompositeObject in class AbstractCompositeObjectMapping
      • 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.
        preInitialize in class DatabaseMapping