Top Fields Constructors Methods
net.fortuna.ical4j.model.property.immutable

public final Class ImmutableVersion

extends Version
implements ImmutableProperty
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.property.ImmutableProperty
Imports
net.fortuna.ical4j.model.Parameter, .ParameterList, .Property, net.fortuna.ical4j.model.property.ImmutableProperty, .Version

Author
Ben Fortuna An immutable instance of Version.

Field Summary

Modifier and TypeField and Description
private static final long
public static final Version
VERSION_2_0

iCalendar version 2.0.

Inherited from net.fortuna.ical4j.model.property.Version:
VALUE_2_0

Constructor Summary

AccessConstructor and Description
public
ImmutableVersion(final String value)

Method Summary

Modifier and TypeMethod and Description
public <T extends Property> T
add(Parameter
the parameter to add
parameter
)

Overrides net.fortuna.ical4j.model.Property.add.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.add.

Add a parameter to the property's parameter list.

public <T extends Property> T
remove(Parameter
the parameter to remove
parameter
)

Overrides net.fortuna.ical4j.model.Property.remove.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.remove.

Remove a parameter from the property's parameter list.

public <T extends Property> T
removeAll(String...
the name of parameters to remove
parameterName
)

Overrides net.fortuna.ical4j.model.Property.removeAll.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.removeAll.

Remove all parameters with the specified name from the property's parameter list.

public <T extends Property> T
replace(Parameter
the parameter to add
parameter
)

Overrides net.fortuna.ical4j.model.Property.replace.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.replace.

Add a parameter to the property's parameter list whilst removing all other parameters with the same name.

public void
public void
public void
setValue(final String
a string representation of the property value
aValue
)

Overrides net.fortuna.ical4j.model.property.Version.setValue.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.setValue.

Sets the current value of the property.

Inherited from net.fortuna.ical4j.model.property.Version:
getMaxVersiongetMinVersiongetValuenewFactoryvalidate

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.property.Version.serialVersionUID.

VERSION_2_0back to summary
public static final Version VERSION_2_0

iCalendar version 2.0.

Constructor Detail

ImmutableVersionback to summary
public ImmutableVersion(final String value)

Method Detail

addback to summary
public <T extends Property> T add(Parameter parameter)

Overrides net.fortuna.ical4j.model.Property.add.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.add.

Doc from net.fortuna.ical4j.model.Property.add.

Add a parameter to the property's parameter list.

Parameters
parameter:Parameter

the parameter to add

Returns:T

a reference to the property to support method chaining

Annotations
@Override
removeback to summary
public <T extends Property> T remove(Parameter parameter)

Overrides net.fortuna.ical4j.model.Property.remove.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.remove.

Doc from net.fortuna.ical4j.model.Property.remove.

Remove a parameter from the property's parameter list.

Parameters
parameter:Parameter

the parameter to remove

Returns:T

a reference to the property to support method chaining

Annotations
@Override
removeAllback to summary
public <T extends Property> T removeAll(String... parameterName)

Overrides net.fortuna.ical4j.model.Property.removeAll.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.removeAll.

Doc from net.fortuna.ical4j.model.Property.removeAll.

Remove all parameters with the specified name from the property's parameter list.

Parameters
parameterName:String[]

the name of parameters to remove

Returns:T

a reference to the property to support method chaining

Annotations
@Override
replaceback to summary
public <T extends Property> T replace(Parameter parameter)

Overrides net.fortuna.ical4j.model.Property.replace.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.replace.

Doc from net.fortuna.ical4j.model.Property.replace.

Add a parameter to the property's parameter list whilst removing all other parameters with the same name.

Parameters
parameter:Parameter

the parameter to add

Returns:T

a reference to the property to support method chaining

Annotations
@Override
setMaxVersionback to summary
public void setMaxVersion(String maxVersion)

Overrides net.fortuna.ical4j.model.property.Version.setMaxVersion.

Parameters
maxVersion:String

Doc from net.fortuna.ical4j.model.property.Version.setMaxVersion.

The maxVersion to set.

Annotations
@Override
setMinVersionback to summary
public void setMinVersion(String minVersion)

Overrides net.fortuna.ical4j.model.property.Version.setMinVersion.

Parameters
minVersion:String

Doc from net.fortuna.ical4j.model.property.Version.setMinVersion.

The minVersion to set.

Annotations
@Override
setValueback to summary
public void setValue(final String aValue)

Overrides net.fortuna.ical4j.model.property.Version.setValue.

Overrides default net.fortuna.ical4j.model.property.ImmutableProperty.setValue.

Doc from net.fortuna.ical4j.model.property.Version.setValue.

Sets the current value of the property.

Parameters
aValue:String

Doc from net.fortuna.ical4j.model.Property.setValue.

a string representation of the property value

Annotations
@Override