net.fortuna.ical4j.model.property
Class PercentComplete
Property
net.fortuna.ical4j.model.property.PercentComplete
public class PercentComplete
extends Property
$Id: PercentComplete.java,v 1.11 2008/12/16 12:34:51 fortuna Exp $
Created: [Apr 6, 2004]
Defines a PERCENT-COMPLETE iCalendar component property.
PercentComplete
public PercentComplete()
Default constructor.
PercentComplete
public PercentComplete(ParameterList aList,
String aValue)
aList
- a list of parameters for this componentaValue
- a value string for this component
PercentComplete
public PercentComplete(ParameterList aList,
int aPercentage)
aList
- a list of parameters for this componentaPercentage
- an int representation of a percentage
PercentComplete
public PercentComplete(int aPercentage)
aPercentage
- an int representation of a percentage
getPercentage
public final int getPercentage()
getValue
public final String getValue()
setPercentage
public final void setPercentage(int percentage)
percentage
- The percentage to set.
setValue
public final void setValue(String aValue)
validate
public final void validate()
throws ValidationException