Created: [Apr 6, 2004]
Defines a VERSION iCalendar property. When creating a new calendar you should always add a version property with
value "2.0". There is actually a constant defined in the ImmutableVersion class for this. e.g:
Calendar calendar = new Calendar();
calendar.add(Immutable.VERSION_2_0);
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private static final long | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Version(final ParameterList
a list of parameters for this component aList, final String a value string for this component aValue)
|
| public | |
| public | Version(final ParameterList
a list of parameters for this component aList, final String a string representation of the minimum version aVersion1, final String a string representation of the maximum version aVersion2)
|
| Modifier and Type | Method and Description |
|---|---|
| public final String | |
| public final String | |
| public final String | |
| protected PropertyFactory | newFactory()
Implements abstract net. Returns a new property factory used to create deep copies. |
| public void | |
| public void | |
| public void | setValue(final String
a string representation of the property value aValue)Implements abstract net. Sets the current value of the property. |
| public ValidationResult | validate()
Implements abstract net. Perform validation on a property. |
| maxVersion | back to summary |
|---|---|
| private String maxVersion | |
| minVersion | back to summary |
|---|---|
| private String minVersion | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| VALUE_2_0 | back to summary |
|---|---|
| public static final String VALUE_2_0 | |
| Version | back to summary |
|---|---|
| public Version() Default constructor. | |
| Version | back to summary |
|---|---|
public Version(final ParameterList aList, final String aValue)
| |
| Version | back to summary |
|---|---|
| public Version(final String minVersion, final String maxVersion) | |
| Version | back to summary |
|---|---|
public Version(final ParameterList aList, final String aVersion1, final String aVersion2)
| |
| getMaxVersion | back to summary |
|---|---|
public final String getMaxVersion()
| |
| getMinVersion | back to summary |
|---|---|
public final String getMinVersion()
| |
| getValue | back to summary |
|---|---|
| public final String getValue() Implements abstract net.
| |
| newFactory | back to summary |
|---|---|
| protected PropertyFactory Implements abstract net. Doc from net. Returns a new property factory used to create deep copies.
| |
| setMaxVersion | back to summary |
|---|---|
public void setMaxVersion(final String maxVersion)
| |
| setMinVersion | back to summary |
|---|---|
public void setMinVersion(final String minVersion)
| |
| setValue | back to summary |
|---|---|
| public void setValue(final String aValue) Implements abstract net. Doc from net. Sets the current value of the property. | |
| validate | back to summary |
|---|---|
| public ValidationResult validate() throws ValidationException Implements abstract net. Doc from net. Perform validation on a property.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Version | createProperty(final ParameterList
a list of property parameters parameters, final String a property value value)Implements net.
|
| public Version |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Factory | back to summary |
|---|---|
| public Factory() | |
| createProperty | back to summary |
|---|---|
| public Version createProperty(final ParameterList parameters, final String value) Implements net.
| |
| createProperty | back to summary |
|---|---|
| public Version createProperty() Implements net.
| |