× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: My Java Experience... latest code - critique (xmlWrapper)
  • From: "Stone, Brad V (TC)" <bvstone@xxxxxxxxxxxxxx>
  • Date: Thu, 22 Mar 2001 07:03:39 -0600

FieldList is my "row" object, so I already have that in place.

> -----Original Message-----
> From: Fred Kulack [mailto:kulack@us.ibm.com]
> Sent: Wednesday, March 21, 2001 2:19 PM
> To: JAVA400-L@midrange.com
> Subject: RE: My Java Experience... latest code - critique (xmlWrapper)
> 
> 
> 
> Whew! This is getting sort of long,
> I might be running out of steam on it.
> 
> On 03/21/2001 at 01:09:04 PM, "Stone, Brad V (TC)" 
> <bvstone@taylorcorp.com>
> wrote:
> here's the structure... Field, FieldList (a vector of Field), 
> FieldTable (a
> vector of FieldList).
> [... snip ...]
> I'm sort of lost as to how else I can get that piece of data (the row
> wrapper) into the FieldList object.
> --- end of excerpt ---
> These two main sentences summed up where I think this
> might be able to go.
> 
> I don't view a table as a group of Field lists.
> I view it as a list of rows.
> 
> Should you add the concept of the Row in your OO design?
> It certainly is an abstraction reflected in your implementation.
> 
> I.e. you had a piece of data that served as a row wrapper,
> and an abstraction (the loop) that was effectively
> operating repeatedly on rows.
> This is an operation on a row, but you've got no
> abstraction for the row.
>       myTable.getFieldList(i).setFormatter(listFormatter);
>       myTable.getFieldList(i).xmlWrapper="Data";
>       out.println(myTable.getFieldList(i).toML());
> 
> 
> Dunno if you actually want the Row class, but perhaps
> just some methods in the table class to operate
> on the logical concept of a row is something
> that would help the thought process.
> 
> 
> 
> 
> "The stuff we call "software" is not like anything that human society
>   is used to thinking about. Software is something like a machine, and
>   something like mathematics, and something like language, and
>   something like thought, and art, and information...
>   but software is not in fact any of those other things."
> Bruce Sterling - The Hacker Crackdown
> 
> Fred A. Kulack  -  AS/400e  Java and Java DB2 access, Jdbc, 
> JTA, etc...
> IBM in Rochester, MN  (Phone: 507.253.5982   T/L 553-5982)
> mailto:kulack@us.ibm.com   Personal: mailto:kulack@bresnanlink.net
> AOL Instant Messenger: Home:FKulack  Work:FKulackWrk
> 
> +---
> | This is the JAVA/400 Mailing List!
> | To submit a new message, send your mail to JAVA400-L@midrange.com.
> | To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to 
> JAVA400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner: joe@zappie.net
> +---
> 
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.