net.fortuna.ical4j.model.property

Class Repeat


public class Repeat
extends Property

$Id: Repeat.java,v 1.10 2008/12/16 12:34:51 fortuna Exp $ Created: [Apr 6, 2004] Defines a REPEAT iCalendar component property.

Constructor Summary

Repeat()
Default constructor.
Repeat(ParameterList aList, String aValue)
Repeat(ParameterList aList, int aCount)
Repeat(int aCount)

Method Summary

int
getCount()
String
getValue()
void
setCount(int count)
void
setValue(String aValue)
void
validate()

Constructor Details

Repeat

public Repeat()
Default constructor.

Repeat

public Repeat(ParameterList aList,
              String aValue)
Parameters:
aList - a list of parameters for this component
aValue - a value string for this component

Repeat

public Repeat(ParameterList aList,
              int aCount)
Parameters:
aList - a list of parameters for this component
aCount - a repetition count

Repeat

public Repeat(int aCount)
Parameters:
aCount - a repetition count

Method Details

getCount

public final int getCount()
Returns:
Returns the count.

getValue

public final String getValue()

setCount

public final void setCount(int count)
Parameters:
count - The count to set.

setValue

public final void setValue(String aValue)

validate

public final void validate()
            throws ValidationException