Author: shane.bryzak(a)jboss.com
Date: 2010-02-10 19:17:27 -0500 (Wed, 10 Feb 2010)
New Revision: 12031
Added:
modules/remoting/trunk/docs/en-US/images/
modules/remoting/trunk/docs/en-US/images/remoting-model-customer-uml-1.png
Modified:
modules/remoting/trunk/docs/en-US/remoting-model.xml
Log:
added diagram images
Added: modules/remoting/trunk/docs/en-US/images/remoting-model-customer-uml-1.png
===================================================================
(Binary files differ)
Property changes on:
modules/remoting/trunk/docs/en-US/images/remoting-model-customer-uml-1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: modules/remoting/trunk/docs/en-US/remoting-model.xml
===================================================================
--- modules/remoting/trunk/docs/en-US/remoting-model.xml 2010-02-10 15:58:36 UTC (rev
12030)
+++ modules/remoting/trunk/docs/en-US/remoting-model.xml 2010-02-11 00:17:27 UTC (rev
12031)
@@ -381,11 +381,14 @@
<para>
To fetch a model, one or more values must first be specified using
<literal>addBean()</literal> or
<literal>addBeanProperty()</literal> before invoking the
<literal>fetch()</literal> operation.
+ Let's work through an example
</para>
- <para>
- Let's look at an example.
- </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/remoting-model-customer-uml-1.png"
format="PNG"/>
+ </imageobject>
+ </mediaobject>
<programlisting><![CDATA[@Entity Customer implements Serializable {
private Integer customerId;
@@ -421,12 +424,8 @@
public class CustomerAction {
@Inject Conversation conversation;
@PersistenceContext EntityManager entityManager;
- private Customer customer;
+ public Customer customer;
- public Customer getCustomer() {
- return customer;
- }
-
public void createCustomer() {
customer = new Customer();
conversation.begin();