Class ImmutableClazz
- java.lang.Object
-
- net.fortuna.ical4j.model.Content
-
- net.fortuna.ical4j.model.Property
-
- net.fortuna.ical4j.model.property.Clazz
-
- net.fortuna.ical4j.model.property.immutable.ImmutableClazz
-
- All Implemented Interfaces:
Serializable
,Comparable<Property>
,FluentProperty
,ImmutableProperty
public final class ImmutableClazz extends Clazz implements ImmutableProperty
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.fortuna.ical4j.model.property.Clazz
Clazz.Factory
-
-
Field Summary
Fields Modifier and Type Field Description static Clazz
CONFIDENTIAL
Constant for confidential classification.static Clazz
PRIVATE
Constant for private classification.static Clazz
PUBLIC
Constant for public classification.-
Fields inherited from class net.fortuna.ical4j.model.property.Clazz
VALUE_CONFIDENTIAL, VALUE_PRIVATE, VALUE_PUBLIC
-
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 ImmutableClazz(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.Clazz
getValue, newFactory, validate
-
Methods inherited from class net.fortuna.ical4j.model.Property
compareTo, copy, equals, getFluentTarget, getName, getParameter, getParameterList, getParameters, getRequiredParameter, hashCode, setParameters, 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.immutable.ImmutableProperty
throwException
-
-
-
-
Constructor Detail
-
ImmutableClazz
public ImmutableClazz(String value)
- Parameters:
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
-
-