java.lang.Object
net.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Property
- All Implemented Interfaces:
Serializable
,Comparable<Property>
,FluentProperty
- Direct Known Subclasses:
Action
,Attach
,Attendee
,BusyType
,CalendarAddress
,CalScale
,Categories
,Clazz
,Color
,Comment
,Concept
,Conference
,Contact
,Country
,DateListProperty
,DateProperty
,Description
,Duration
,ExRule
,ExtendedAddress
,FreeBusy
,Geo
,Image
,Link
,Locality
,Location
,LocationType
,Method
,Name
,Organizer
,ParticipantType
,PercentComplete
,Postalcode
,Priority
,ProdId
,Proximity
,RefId
,RefreshInterval
,Region
,RelatedTo
,Repeat
,RequestStatus
,Resources
,ResourceType
,RRule
,Sequence
,Source
,Status
,StreetAddress
,StructuredData
,StyledDescription
,Summary
,Tel
,Transp
,TzId
,TzIdAliasOf
,TzName
,TzOffsetFrom
,TzOffsetTo
,TzUrl
,Uid
,Url
,Version
,Xml
,XProperty
Defines an iCalendar property. Subclasses of this class provide additional validation and typed values for specific
iCalendar properties.
Note that subclasses must provide a reference to the factory used to create the
property to support property cloning (copy). If no factory is specified an
UnsupportedOperationException
will be thrown by the copy()
method.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.fortuna.ical4j.model.Content
Content.Factory
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Acknowledged Property taken from http://tools.ietf.org/html/draft-daboo-valarm-extensions-04static final String
Alarm action property name.static final String
Attachment property name.static final String
Attendee property name.static final String
Busy type property name.static final String
Participant cua property name.static final String
Calendar scale property name.static final String
Categories property name.static final String
Classifier property name.static final String
Comment property name.static final String
Completed date property name.static final String
Contact property name.static final String
VVENUE country property name.static final String
Creation date property name.static final String
Description property name.static final String
End date property name.static final String
Date-stamp property name.static final String
Start date property name.static final String
Due date property name.static final String
Duration property name.static final String
Exclusion date property name.static final String
Prefix for non-standard properties.static final String
Exclusion rule property name.static final String
VVENUE extended address property name.static final String
Free/busy property name.static final String
Geographic location property name.static final String
Last modified date property name.static final String
VVENUE locality property name.static final String
Location property name.static final String
Location type property name.static final String
iTIP method property name.static final String
VVENUE name property name.static final String
Organiser property name.static final String
Participant type.static final String
Percentage complete property name.static final String
VVENUE postal code property name.static final String
Prority property name.static final String
Product identifier property name.static final String
static final String
Recurrence date property name.static final String
Recurrence identifier property name.static final String
VVENUE region property name.static final String
Relationship property name.static final String
Repeat rule property name.static final String
Request status property name.static final String
Resource type property name.static final String
Resources property name.static final String
Recurrence rule property name.static final String
Sequence property name.static final String
Status property name.static final String
VVENUE street address property name.static final String
Structured data property name.static final String
Styled description property name.static final String
Summary property name.static final String
VVENUE telephone property name.static final String
Transparency property name.static final String
Alarm trigger property name.static final String
Timezone identifier property name.static final String
static final String
Timezone name property name.static final String
Prior timezone offset property name.static final String
New timezone offset property name.static final String
static final String
URL for timezone definition property name.static final String
Unique identifier property name.static final String
Uniform resource locator property name.static final String
iCalendar version property name.static final String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
Property
(@NotNull Enum<?> name, ParameterList aList) protected
Constructor.protected
Property
(String aName, ParameterList aList) -
Method Summary
Modifier and TypeMethodDescription<T extends Property>
TAdd a parameter to the property's parameter list.int
final Property
copy()
Create a (deep) copy of this property.boolean
<P extends Property>
Pfinal String
getName()
getParameter
(@NotNull Enum<?> name) getParameter
(String name) Convenience method for retrieving a single parameter.final ParameterList
getParameters
(String... name) Convenience method for retrieving a list of named parameters.Returns the property prefix for applicable property types.final <P extends Parameter>
PgetRequiredParameter
(@NotNull Enum<?> name) final <P extends Parameter>
PgetRequiredParameter
(String name) Retrieve a single required parameter.int
hashCode()
protected abstract PropertyFactory<?>
Returns a new property factory used to create deep copies.<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.protected void
setParameters
(ParameterList parameters) void
abstract void
Sets the current value of the property.toString()
abstract ValidationResult
validate()
Perform validation on a property.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
-
Field Details
-
PRODID
Product identifier property name.- See Also:
-
VERSION
iCalendar version property name.- See Also:
-
CALSCALE
Calendar scale property name.- See Also:
-
METHOD
iTIP method property name.- See Also:
-
BUSYTYPE
Busy type property name.- See Also:
-
CLASS
Classifier property name.- See Also:
-
CREATED
Creation date property name.- See Also:
-
DESCRIPTION
Description property name.- See Also:
-
DTSTART
Start date property name.- See Also:
-
GEO
Geographic location property name.- See Also:
-
LAST_MODIFIED
Last modified date property name.- See Also:
-
LOCATION
Location property name.- See Also:
-
ORGANIZER
Organiser property name.- See Also:
-
PERCENT_COMPLETE
Percentage complete property name.- See Also:
-
PRIORITY
Prority property name.- See Also:
-
DTSTAMP
Date-stamp property name.- See Also:
-
SEQUENCE
Sequence property name.- See Also:
-
STATUS
Status property name.- See Also:
-
SUMMARY
Summary property name.- See Also:
-
TRANSP
Transparency property name.- See Also:
-
UID
Unique identifier property name.- See Also:
-
URL
Uniform resource locator property name.- See Also:
-
RECURRENCE_ID
Recurrence identifier property name.- See Also:
-
COMPLETED
Completed date property name.- See Also:
-
DUE
Due date property name.- See Also:
-
FREEBUSY
Free/busy property name.- See Also:
-
TZID
Timezone identifier property name.- See Also:
-
TZNAME
Timezone name property name.- See Also:
-
TZOFFSETFROM
Prior timezone offset property name.- See Also:
-
TZOFFSETTO
New timezone offset property name.- See Also:
-
TZURL
URL for timezone definition property name.- See Also:
-
ACTION
Alarm action property name.- See Also:
-
REPEAT
Repeat rule property name.- See Also:
-
TRIGGER
Alarm trigger property name.- See Also:
-
REQUEST_STATUS
Request status property name.- See Also:
-
DTEND
End date property name.- See Also:
-
DURATION
Duration property name.- See Also:
-
ATTACH
Attachment property name.- See Also:
-
ATTENDEE
Attendee property name.- See Also:
-
CATEGORIES
Categories property name.- See Also:
-
COMMENT
Comment property name.- See Also:
-
CONTACT
Contact property name.- See Also:
-
EXDATE
Exclusion date property name.- See Also:
-
EXRULE
Exclusion rule property name.- See Also:
-
RELATED_TO
Relationship property name.- See Also:
-
RESOURCE_TYPE
Resource type property name.- See Also:
-
RESOURCES
Resources property name.- See Also:
-
RDATE
Recurrence date property name.- See Also:
-
RRULE
Recurrence rule property name.- See Also:
-
EXPERIMENTAL_PREFIX
Prefix for non-standard properties.- See Also:
-
COUNTRY
VVENUE country property name.- See Also:
-
EXTENDED_ADDRESS
VVENUE extended address property name.- See Also:
-
LOCALITY
VVENUE locality property name.- See Also:
-
NAME
VVENUE name property name.- See Also:
-
POSTALCODE
VVENUE postal code property name.- See Also:
-
REGION
VVENUE region property name.- See Also:
-
STREET_ADDRESS
VVENUE street address property name.- See Also:
-
TEL
VVENUE telephone property name.- See Also:
-
ACKNOWLEDGED
Acknowledged Property taken from http://tools.ietf.org/html/draft-daboo-valarm-extensions-04- See Also:
-
PROXIMITY
- See Also:
-
CALENDAR_ADDRESS
Participant cua property name.- See Also:
-
LOCATION_TYPE
Location type property name.- See Also:
-
PARTICIPANT_TYPE
Participant type.- See Also:
-
STRUCTURED_DATA
Structured data property name.- See Also:
-
STYLED_DESCRIPTION
Styled description property name.- See Also:
-
TZUNTIL
- See Also:
-
TZID_ALIAS_OF
- See Also:
-
XML
- See Also:
-
-
Constructor Details
-
Property
Constructor.- Parameters:
aName
- property name
-
Property
-
Property
- Parameters:
aName
- a property identifieraList
- a list of initial parameters
-
Property
-
-
Method Details
-
toString
-
getFluentTarget
- Specified by:
getFluentTarget
in interfaceFluentProperty
-
getName
-
getPrefix
Returns the property prefix for applicable property types.- Returns:
- a string prefix, or null if not applicable
-
setPrefix
-
getParameterList
- Returns:
- Returns the underlying parameter list.
-
setParameters
-
add
Add a parameter to the property's parameter list.- Parameters:
parameter
- the parameter to add- Returns:
- a reference to the property to support method chaining
-
remove
Remove a parameter from the property's parameter list.- Parameters:
parameter
- the parameter to remove- Returns:
- a reference to the property to support method chaining
-
removeAll
Remove all parameters with the specified name from the property's parameter list.- Parameters:
parameterName
- the name of parameters to remove- Returns:
- a reference to the property to support method chaining
-
replace
Add a parameter to the property's parameter list whilst removing all other parameters with the same name.- Parameters:
parameter
- the parameter to add- Returns:
- a reference to the property to support method chaining
-
getParameters
Convenience method for retrieving a list of named parameters.- Parameters:
name
- name of parameters to retrieve- Returns:
- a parameter list containing only parameters with the specified name
-
getParameter
Convenience method for retrieving a single parameter.- Parameters:
name
- name of the parameter to retrieve- Returns:
- the first parameter from the parameter list with the specified name
-
getParameter
-
getRequiredParameter
Retrieve a single required parameter.- Type Parameters:
P
-- Parameters:
name
-- Returns:
-
getRequiredParameter
-
setValue
Sets the current value of the property.- Parameters:
aValue
- a string representation of the property value- Throws:
IllegalArgumentException
- possibly thrown by setting the value of certain properties
-
validate
Perform validation on a property.- Throws:
ValidationException
- where the property is not in a valid state
-
equals
-
hashCode
public int hashCode() -
newFactory
Returns a new property factory used to create deep copies.- Returns:
- a property factory instance
-
copy
Create a (deep) copy of this property.- Returns:
- the copy of the property
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Property>
-