diff options
author | Paul Fullbright | 2013-03-19 21:35:42 +0000 |
---|---|---|
committer | Paul Fullbright | 2013-03-19 21:38:01 +0000 |
commit | 4f1149716de6f392a54b6ccdf19bdda52c933694 (patch) | |
tree | 535d0d72b8f396552158702228304e99870aad74 /jaxb | |
parent | 54b4495ada30001ff0d0c12c70357668e526107d (diff) | |
download | webtools.dali-4f1149716de6f392a54b6ccdf19bdda52c933694.tar.gz webtools.dali-4f1149716de6f392a54b6ccdf19bdda52c933694.tar.xz webtools.dali-4f1149716de6f392a54b6ccdf19bdda52c933694.zip |
added XmlElementRef(s) as valid backpointers (forwardpointers) for
XmlInverseReference
Diffstat (limited to 'jaxb')
2 files changed, 3 insertions, 1 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/property_files/jpt_jaxb_eclipselink_core_validation.properties b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/property_files/jpt_jaxb_eclipselink_core_validation.properties index 6b2b497911..3fc4983e54 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/property_files/jpt_jaxb_eclipselink_core_validation.properties +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/property_files/jpt_jaxb_eclipselink_core_validation.properties @@ -29,7 +29,7 @@ XML_ELEMENT_DECL__INVALID_METHOD_SIGNATURE_RETURN_TYPE = An element factory meth XML_INVERSE_REFERENCE__MAPPED_BY_NOT_SPECIFIED = The 'mappedBy' property must be specified on an XmlInverseReference. XML_INVERSE_REFERENCE__MAPPED_BY_NOT_RESOLVED = Cannot resolve the attribute ''{0}'' on the class ''{1}''. -XML_INVERSE_REFERENCE__MAPPED_BY_ILLEGAL_MAPPING_TYPE = The attribute ''{0}'' on the class ''{1}'' must be mapped as XmlElement, XmlElements, XmlAttribute, or XmlValue.j +XML_INVERSE_REFERENCE__MAPPED_BY_ILLEGAL_MAPPING_TYPE = The attribute ''{0}'' on the class ''{1}'' must be mapped as XmlAttribute, XmlElement(s), XmlElementRef(s), or XmlValue. XML_JOIN_NODE__XML_PATH_NOT_SPECIFIED = XmlJoinNode xmlPath not specified. XML_JOIN_NODE__REFERENCED_XML_PATH_NOT_SPECIFIED = XmlJoinNode referencedXmlPath not specified. diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/java/ELJavaXmlInverseReferenceMapping.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/java/ELJavaXmlInverseReferenceMapping.java index d2ea8a8d76..ff84f9401a 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/java/ELJavaXmlInverseReferenceMapping.java +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/java/ELJavaXmlInverseReferenceMapping.java @@ -206,6 +206,8 @@ public class ELJavaXmlInverseReferenceMapping protected static final String[] VALID_REFERENCED_ATTRIBUTE_MAPPING_KEYS = new String[] { MappingKeys.XML_ELEMENT_ATTRIBUTE_MAPPING_KEY, + MappingKeys.XML_ELEMENT_REF_ATTRIBUTE_MAPPING_KEY, + MappingKeys.XML_ELEMENT_REFS_ATTRIBUTE_MAPPING_KEY, MappingKeys.XML_ELEMENTS_ATTRIBUTE_MAPPING_KEY, MappingKeys.XML_ATTRIBUTE_ATTRIBUTE_MAPPING_KEY, MappingKeys.XML_VALUE_ATTRIBUTE_MAPPING_KEY |