public Component copy ( ) throws ParseException , IOException , URISyntaxException { final VEvent copy = ( VEvent ) super . copy ( ) ; copy . alarms = new ComponentList < VAlarm > ( alarms ) ; return copy ; }
Overrides default copy method to add support for copying alarm sub - components .