Where Naked Objects displays a collection of several objects it may use the plural form of the
object type in the title. By default the plural name will be created by adding an 's' to the end of
the singular name (whether that is the class name or another name specified using @Named).
Where the single name ends in 'y' then the default plural name will end in 'ies' - for example a
collection of Country objects will be titled 'Countries'. Where these conventions do not work,
the programmer may specify the plural form of the name using @Plural. For example:
@Plural("Children")
public class Child {
// members and actions here
}
Note that the @Optional annotation has no meaning for a primitive property (or parameter)
such as int - because primitives will always return a default value (e.g. zero). If optionality is
required, then use the corresponding wrapper class (e.g. java.lang.Integer).