I am checking out Seam 2.2.0.GA, and using seam generate-entities
it generated Home
classes with the methods wire()
and isWired()
. What are these methods and what purpose do they serve?
views:
160answers:
2
A:
The server to "wire" together entity classes together. The later version of Seam have them actually filled out. I've never actually used them in over a year of Seam programming.
Jim Barrows
2009-08-27 17:56:58
+1
A:
isWired()
returns a value that indicates whether the object has all its required references to other objects filled (i.e. all required (not null) foreign keys have values). wire()
tries to fill these fields with values from the relevant Home
objects.
(I hope someone can post a better description.)
Hosam Aly
2009-08-28 08:54:09