In Naked Objects applications, we modify
objects either by invoking actions on them or by editing them directly.
Which properties are editable is determined by the entity itself, with
Wicket Objects providing an appropriate editor for
each property type. In the following screenshot we see the
Claim
entity being edited.
As well as supporting the editing of properties with value types
(boolean
, String
,
Date
etc), Wicket Objects
also allows properties representing references to other entities to be
edited. For example, each Claim
has an
approver
(of type Approver
,
and implemented by Employee
). Thus,
Wicket Objects gives us the ability to find an
Employee
from the Employees
repository:
Leaving us with the approver
reference set
up: