What is the purpose of `wire ()` and `isWired ()` in Seam?

I am testing Seam 2.2.0.GA and using seam generate-entities

, it generated classes Home

with methods wire()

and isWired()

. What are these methods and what purpose do they serve?

+2


source to share


2 answers


isWired()

returns a value indicating whether the object has all the required references to other objects populated (i.e., all required (non-null) foreign keys are valid). wire()

tries to populate these fields with values ​​from the corresponding objects Home

.



(I hope someone can post a better description.)

+2


source


A server for "wiring" feature classes together. Sheima's later version is actually complete. I've never used them in over a year of Seam programming.



+1


source







All Articles