java.lang.Object
net.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Property
net.fortuna.ical4j.model.property.Priority
net.fortuna.ical4j.model.property.immutable.ImmutablePriority
- All Implemented Interfaces:
Serializable,Comparable<Property>,FluentProperty,ImmutableProperty,Prototype<Property>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.fortuna.ical4j.model.property.Priority
Priority.Factory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PriorityHigh priority.static final PriorityLow priority.static final PriorityMedium priority.static final PriorityUndefined priority.Fields inherited from class net.fortuna.ical4j.model.property.Priority
VALUE_HIGH, VALUE_LOW, VALUE_MEDIUM, VALUE_UNDEFINEDFields 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, XML -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Property>
TAdd a parameter to the property's parameter list.<T extends Property>
TRemove a parameter from the property's parameter list.<T extends Property>
TRemove all parameters with the specified name from the property's parameter list.<T extends Property>
TAdd a parameter to the property's parameter list whilst removing all other parameters with the same name.voidSets the current value of the property.Methods inherited from class net.fortuna.ical4j.model.property.Priority
getLevel, getValue, newFactory, setLevel, validateMethods inherited from class net.fortuna.ical4j.model.Property
compareTo, copy, equals, getFluentTarget, getName, getParameter, getParameter, getParameterList, getParameters, getPrefix, getRequiredParameter, getRequiredParameter, hashCode, setParameters, setPrefix, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fortuna.ical4j.model.FluentProperty
withParameterMethods inherited from interface net.fortuna.ical4j.model.property.ImmutableProperty
throwException
-
Field Details
-
UNDEFINED
Undefined priority. -
HIGH
High priority. -
MEDIUM
Medium priority. -
LOW
Low priority.
-
-
Constructor Details
-
ImmutablePriority
public ImmutablePriority(int level)
-
-
Method Details
-
add
Description copied from class:PropertyAdd a parameter to the property's parameter list.- Specified by:
addin interfaceImmutableProperty- Overrides:
addin classProperty- Parameters:
parameter- the parameter to add- Returns:
- a reference to the property to support method chaining
-
remove
Description copied from class:PropertyRemove a parameter from the property's parameter list.- Specified by:
removein interfaceImmutableProperty- Overrides:
removein classProperty- Parameters:
parameter- the parameter to remove- Returns:
- a reference to the property to support method chaining
-
removeAll
Description copied from class:PropertyRemove all parameters with the specified name from the property's parameter list.- Specified by:
removeAllin interfaceImmutableProperty- Overrides:
removeAllin classProperty- Parameters:
parameterName- the name of parameters to remove- Returns:
- a reference to the property to support method chaining
-
replace
Description copied from class:PropertyAdd a parameter to the property's parameter list whilst removing all other parameters with the same name.- Specified by:
replacein interfaceImmutableProperty- Overrides:
replacein classProperty- Parameters:
parameter- the parameter to add- Returns:
- a reference to the property to support method chaining
-
setValue
Description copied from class:PrioritySets the current value of the property.- Specified by:
setValuein interfaceImmutableProperty- Overrides:
setValuein classPriority- Parameters:
aValue- a string representation of the property value
-