Annotation Interface MakeCalendar


@Target(METHOD) @Retention(RUNTIME) public @interface MakeCalendar
Marks a method as one which creates calendars. A calendar is just a collection which contains events.

Your method should have the following arguments:

  • The target object which must be the source for the calendars home
  • The name of the new calendar
  • The initial fields to set: Map<QName, String> fieldsToSet

The make calendar method should apply the given fields to the calendar and persist

Return the source object for the new calendar