mirror of https://github.com/apache/openjpa.git
OPENJPA-834 fix xmlmapping testcase
committing patch provided by Milosz Tylenda git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734828 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
696388049b
commit
9e78d8caae
|
@ -35,7 +35,9 @@ import javax.xml.bind.annotation.XmlType;
|
|||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>The JAXB generated source has been modified by adding
|
||||
* a <CODE>set</CODE> method for the street property. Otherwise
|
||||
* the proxying mechanism will not work - see OPENJPA-834.
|
||||
*/
|
||||
|
||||
@XmlRootElement
|
||||
|
@ -85,7 +87,6 @@ public class Address {
|
|||
* This accessor method returns a reference to the live list,
|
||||
* not a snapshot. Therefore any modification you make to the
|
||||
* returned list will be present inside the JAXB object.
|
||||
* This is why there is not a <CODE>set</CODE> method for the street property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
|
@ -107,6 +108,15 @@ public class Address {
|
|||
return this.street;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the street property.
|
||||
*
|
||||
* @param value a List of String instances
|
||||
*/
|
||||
public void setStreet(List<String> value) {
|
||||
this.street = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the city property.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue