Class ImmutableStatus
- java.lang.Object
-
- net.fortuna.ical4j.model.Content
-
- net.fortuna.ical4j.model.Property
-
- net.fortuna.ical4j.model.property.Status
-
- net.fortuna.ical4j.model.property.immutable.ImmutableStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<Property>
,FluentProperty
,ImmutableProperty
public final class ImmutableStatus extends Status implements ImmutableProperty
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.fortuna.ical4j.model.property.Status
Status.Factory
-
-
Field Summary
Fields Modifier and Type Field Description static Status
VEVENT_CANCELLED
Cancelled VEVENT status.static Status
VEVENT_CONFIRMED
Confirmed VEVENT status.static Status
VEVENT_TENTATIVE
Tentative VEVENT status.static Status
VJOURNAL_CANCELLED
Cancelled VJOURNAL status.static Status
VJOURNAL_DRAFT
Draft VJOURNAL status.static Status
VJOURNAL_FINAL
Final VJOURNAL status.static Status
VTODO_CANCELLED
Cancelled VTODO status.static Status
VTODO_COMPLETED
Completed VTODO status.static Status
VTODO_IN_PROCESS
In-process VTODO status.static Status
VTODO_NEEDS_ACTION
Tentative VTODO status.-
Fields inherited from class net.fortuna.ical4j.model.property.Status
VALUE_CANCELLED, VALUE_COMPLETED, VALUE_CONFIRMED, VALUE_DRAFT, VALUE_FINAL, VALUE_IN_PROCESS, VALUE_NEEDS_ACTION, VALUE_TENTATIVE
-
Fields inherited from class net.fortuna.ical4j.model.Property
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALENDAR_ADDRESS, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PARTICIPANT_TYPE, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, PROXIMITY, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCE_TYPE, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, STRUCTURED_DATA, STYLED_DESCRIPTION, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZID_ALIAS_OF, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZUNTIL, TZURL, UID, URL, VERSION
-
-
Constructor Summary
Constructors Constructor Description ImmutableStatus(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Property>
Tadd(Parameter parameter)
Add a parameter to the property's parameter list.<T extends Property>
Tremove(Parameter parameter)
Remove a parameter from the property's parameter list.<T extends Property>
TremoveAll(String... parameterName)
Remove all parameters with the specified name from the property's parameter list.<T extends Property>
Treplace(Parameter parameter)
Add a parameter to the property's parameter list whilst removing all other parameters with the same name.void
setValue(String aValue)
Sets the current value of the property.-
Methods inherited from class net.fortuna.ical4j.model.property.Status
getValue, newFactory, validate
-
Methods inherited from class net.fortuna.ical4j.model.Property
compareTo, copy, equals, getFluentTarget, getName, getParameter, getParameterList, getParameters, getPrefix, getRequiredParameter, hashCode, setParameters, setPrefix, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.fortuna.ical4j.model.FluentProperty
withParameter
-
Methods inherited from interface net.fortuna.ical4j.model.property.ImmutableProperty
throwException
-
-
-
-
Field Detail
-
VEVENT_TENTATIVE
public static final Status VEVENT_TENTATIVE
Tentative VEVENT status.
-
VEVENT_CONFIRMED
public static final Status VEVENT_CONFIRMED
Confirmed VEVENT status.
-
VEVENT_CANCELLED
public static final Status VEVENT_CANCELLED
Cancelled VEVENT status.
-
VTODO_NEEDS_ACTION
public static final Status VTODO_NEEDS_ACTION
Tentative VTODO status.
-
VTODO_COMPLETED
public static final Status VTODO_COMPLETED
Completed VTODO status.
-
VTODO_IN_PROCESS
public static final Status VTODO_IN_PROCESS
In-process VTODO status.
-
VTODO_CANCELLED
public static final Status VTODO_CANCELLED
Cancelled VTODO status.
-
VJOURNAL_DRAFT
public static final Status VJOURNAL_DRAFT
Draft VJOURNAL status.
-
VJOURNAL_FINAL
public static final Status VJOURNAL_FINAL
Final VJOURNAL status.
-
VJOURNAL_CANCELLED
public static final Status VJOURNAL_CANCELLED
Cancelled VJOURNAL status.
-
-
Constructor Detail
-
ImmutableStatus
public ImmutableStatus(String value)
-
-
Method Detail
-
add
public <T extends Property> T add(Parameter parameter)
Description copied from class:Property
Add a parameter to the property's parameter list.- Specified by:
add
in interfaceImmutableProperty
- Overrides:
add
in classProperty
- Parameters:
parameter
- the parameter to add- Returns:
- a reference to the property to support method chaining
-
remove
public <T extends Property> T remove(Parameter parameter)
Description copied from class:Property
Remove a parameter from the property's parameter list.- Specified by:
remove
in interfaceImmutableProperty
- Overrides:
remove
in classProperty
- Parameters:
parameter
- the parameter to remove- Returns:
- a reference to the property to support method chaining
-
removeAll
public <T extends Property> T removeAll(String... parameterName)
Description copied from class:Property
Remove all parameters with the specified name from the property's parameter list.- Specified by:
removeAll
in interfaceImmutableProperty
- Overrides:
removeAll
in classProperty
- Parameters:
parameterName
- the name of parameters to remove- Returns:
- a reference to the property to support method chaining
-
replace
public <T extends Property> T replace(Parameter parameter)
Description copied from class:Property
Add a parameter to the property's parameter list whilst removing all other parameters with the same name.- Specified by:
replace
in interfaceImmutableProperty
- Overrides:
replace
in classProperty
- Parameters:
parameter
- the parameter to add- Returns:
- a reference to the property to support method chaining
-
-