biweekly.property
Class Sequence
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.ValuedProperty<Integer>
biweekly.property.IntegerProperty
biweekly.property.Sequence
public class Sequence
- extends IntegerProperty
Defines a revision number for a component. The organizer of the event, to-do,
etc can increment this number every time he or she makes a significant change
to the component.
- Author:
- Michael Angstadt
- See Also:
- RFC 5545
p.138-9
Constructor Summary |
Sequence(Integer sequence)
Creates a sequence property. |
Method Summary |
void |
increment()
Increments the sequence number. |
Methods inherited from class biweekly.property.ICalProperty |
addParameter, getAltRepresentation, getCommonName, getDirectoryEntry, getFormatType, getLanguage, getParameter, getParameters, getParameters, getSentBy, getTimezoneId, removeParameter, setAltRepresentation, setCommonName, setDirectoryEntry, setFormatType, setLanguage, setParameter, setParameter, setParameters, setSentBy, setTimezone, setTimezoneId, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sequence
public Sequence(Integer sequence)
- Creates a sequence property.
- Parameters:
sequence
- the sequence number (e.g. "0" for the initial version,
"1" for the first revision, etc)
increment
public void increment()
- Increments the sequence number.
Copyright © 2013 Michael Angstadt. All Rights Reserved.