$Id: Property.java,v 1.32 2008/12/16 12:34:52 fortuna Exp $ [Apr 5, 2004]
Defines an iCalendar property. Subclasses of this class provide additional validation and typed values for specific
iCalendar properties.
ACTION
public static final String ACTION
ATTACH
public static final String ATTACH
the following are optional, and MAY occur more than once.
ATTENDEE
public static final String ATTENDEE
BUSYTYPE
public static final String BUSYTYPE
the following are optional, but MUST NOT occur more than once.
CALSCALE
public static final String CALSCALE
'calscale' and 'method' are optional, but MUST NOT occur more than once.
CATEGORIES
public static final String CATEGORIES
CLASS
public static final String CLASS
COMMENT
public static final String COMMENT
COMPLETED
public static final String COMPLETED
CONTACT
public static final String CONTACT
COUNTRY
public static final String COUNTRY
the following are vvenue only properties.
CREATED
public static final String CREATED
DESCRIPTION
public static final String DESCRIPTION
DTEND
public static final String DTEND
either 'dtend' or 'duration' may appear in a 'eventprop', but 'dtend' and 'duration' MUST NOT occur in the same
'eventprop'.
DTSTAMP
public static final String DTSTAMP
DTSTART
public static final String DTSTART
DUE
public static final String DUE
DURATION
public static final String DURATION
EXDATE
public static final String EXDATE
EXPERIMENTAL_PREFIX
public static final String EXPERIMENTAL_PREFIX
EXRULE
public static final String EXRULE
EXTENDED_ADDRESS
public static final String EXTENDED_ADDRESS
FREEBUSY
public static final String FREEBUSY
GEO
public static final String GEO
LAST_MODIFIED
public static final String LAST_MODIFIED
LOCALITY
public static final String LOCALITY
LOCATION
public static final String LOCATION
LOCATION_TYPE
public static final String LOCATION_TYPE
METHOD
public static final String METHOD
NAME
public static final String NAME
ORGANIZER
public static final String ORGANIZER
PERCENT_COMPLETE
public static final String PERCENT_COMPLETE
POSTALCODE
public static final String POSTALCODE
PRIORITY
public static final String PRIORITY
PRODID
public static final String PRODID
'prodid' and 'version' are both REQUIRED, but MUST NOT occur more than once.
RDATE
public static final String RDATE
RECURRENCE_ID
public static final String RECURRENCE_ID
REGION
public static final String REGION
RELATED_TO
public static final String RELATED_TO
REPEAT
public static final String REPEAT
REQUEST_STATUS
public static final String REQUEST_STATUS
RESOURCES
public static final String RESOURCES
RRULE
public static final String RRULE
SEQUENCE
public static final String SEQUENCE
STATUS
public static final String STATUS
STREET_ADDRESS
public static final String STREET_ADDRESS
SUMMARY
public static final String SUMMARY
TEL
public static final String TEL
TRANSP
public static final String TRANSP
TRIGGER
public static final String TRIGGER
TZID
public static final String TZID
TZNAME
public static final String TZNAME
TZOFFSETFROM
public static final String TZOFFSETFROM
TZOFFSETTO
public static final String TZOFFSETTO
TZURL
public static final String TZURL
UID
public static final String UID
URL
public static final String URL
VERSION
public static final String VERSION
copy
public Property copy()
throws IOException,
URISyntaxException,
ParseException
Create a (deep) copy of this property.
equals
public final boolean equals(Object arg0)
Uses EqualsBuilder
to test equality. Two properties are equal if and only if their name, value and
parameter list are equal.
java.lang.Object.equals(java.lang.Object)
getName
public final String getName()
getParameter
public final Parameter getParameter(String name)
Convenience method for retrieving a single parameter.
name
- name of the parameter to retrieve
- the first parameter from the parameter list with the specified name
getParameters
public final ParameterList getParameters()
getParameters
public final ParameterList getParameters(String name)
Convenience method for retrieving a list of named parameters.
name
- name of parameters to retrieve
- a parameter list containing only parameters with the specified name
getValue
public abstract String getValue()
hashCode
public final int hashCode()
Uses HashCodeBuilder
to build hashcode.
isCalendarProperty
public boolean isCalendarProperty()
Indicates whether this property is a calendar property.
isComponentProperty
public final boolean isComponentProperty()
Indicates whether this property is a component property.
setValue
public abstract void setValue(String aValue)
throws IOException,
URISyntaxException,
ParseException
Sets the current value of the property.
aValue
- a string representation of the property value
toString
public final String toString()
java.lang.Object.toString()
validate
public abstract void validate()
throws ValidationException
Perform validation on a property.