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

public final Class ImmutableCalScale

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

Author
Ben Fortuna An immutable instance of CalScale.

Field Summary

Modifier and TypeField and Description
public static final CalScale
GREGORIAN

Constant for Gregorian calendar representation.

private static final long
Inherited from net.fortuna.ical4j.model.property.CalScale:
VALUE_GREGORIAN

Constructor Summary

AccessConstructor and Description
public

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
setValue(final String
a string representation of the property value
aValue
)

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

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

Sets the current value of the property.

Inherited from net.fortuna.ical4j.model.property.CalScale:
getValuenewFactoryvalidate

Field Detail

GREGORIANback to summary
public static final CalScale GREGORIAN

Constant for Gregorian calendar representation.

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

ImmutableCalScaleback to summary
public ImmutableCalScale(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
setValueback to summary
public void setValue(final String aValue)

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

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

Doc from net.fortuna.ical4j.model.property.CalScale.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