Hi,

  Well, in order to get the Street fields, you need to write a method
in the Address.java
class that will provide the values to you since the Address is
composed of streetName,
streetNumber, and zipCode.

  Hence, write a method, call it anything like printData or something.
Then in that method
just write println statements to give you the values for those three
elements. Then you'll
have a way to get your address data.

  Then in the injection reference file, where the address injection
takes place and is assigned
to a reference bean, use that bean with the dot notation to call your
print method for the address.

  Have a nice day and good luck.

Best regards,

Ruben


On Nov 21, 8:51 am, Sunshine <[EMAIL PROTECTED]> wrote:
> I haven't gotten to Homework 23 yet. I will let you know if I figure
> it out.
> I'm still on Hibernate Homework 21.
>
> On Nov 17, 11:49 pm, Presario 6331RSH HAM <[EMAIL PROTECTED]> wrote:
>
> > Hey all,
>
> >    I can figure out most of this but when it comes to what you might
> > think as simple java coding technique I'm at a loss. I am referring of
> > course to how I am to get Address class fields streetNumber,
> > streetName, zipCode into Address myaddress field. Did I miss something
> > in the Basic Java lessons?
> > Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to