Update of /cvsroot/jibx/core/build/test/simple
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv8074/build/test/simple
Modified Files:
Customer0.java binding0a.xml
Log Message:
Remove getName() method, instead use setName() method only in binding.
Index: Customer0.java
===================================================================
RCS file: /cvsroot/jibx/core/build/test/simple/Customer0.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Customer0.java 24 May 2006 04:19:39 -0000 1.3
--- Customer0.java 6 Jan 2011 08:55:34 -0000 1.4
***************
*** 47,49 ****
--- 47,53 ----
this.name = name;
}
+
+ public Name getName() {
+ return name;
+ }
}
Index: binding0a.xml
===================================================================
RCS file: /cvsroot/jibx/core/build/test/simple/binding0a.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** binding0a.xml 23 Jun 2006 05:28:42 -0000 1.2
--- binding0a.xml 6 Jan 2011 08:55:34 -0000 1.3
***************
*** 10,14 ****
<value name="zip" field="zip"/>
<value name="phone" field="phone"/>
! <structure name="name" usage="optional" set-method="setName">
<value name="last-name" set-method="setLast" usage="optional"/>
</structure>
--- 10,14 ----
<value name="zip" field="zip"/>
<value name="phone" field="phone"/>
! <structure name="name" usage="optional" set-method="setName" get-method="getName">
<value name="last-name" set-method="setLast" usage="optional"/>
</structure>
|