biweekly.property
Class Repeat

java.lang.Object
  extended by biweekly.property.ICalProperty
      extended by biweekly.property.ValuedProperty<Integer>
          extended by biweekly.property.IntegerProperty
              extended by biweekly.property.Repeat

public class Repeat
extends IntegerProperty

Defines the number of times an alarm should be repeated after its initial trigger. Used in conjunction with DurationProperty, which defines the length of the pause between repeats.

Examples:

 //repeat 5 more times after the first time
 Repeat relatedTo = new Repeat(5);
 
 VAlarm alarm = ...;
 alarm.setRepeat(5);
 

Author:
Michael Angstadt
Specification Reference:
RFC 5545 p.133

Field Summary
 
Fields inherited from class biweekly.property.ValuedProperty
value
 
Fields inherited from class biweekly.property.ICalProperty
parameters
 
Constructor Summary
Repeat(Integer count)
          Creates a repeat property.
 
Method Summary
 
Methods inherited from class biweekly.property.ValuedProperty
getValue, setValue, validate
 
Methods inherited from class biweekly.property.ICalProperty
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repeat

public Repeat(Integer count)
Creates a repeat property.

Parameters:
count - the number of times to repeat the alarm (e.g. "2" to repeat it two more times after it was initially triggered, for a total of three times)


Copyright © 2013 Michael Angstadt. All Rights Reserved.