Serializable
Action
, Attach
, Attendee
, BusyType
, CalScale
, Categories
, Clazz
, Color
, Comment
, Conference
, Contact
, Country
, DateListProperty
, DateProperty
, Description
, Duration
, ExRule
, ExtendedAddress
, FreeBusy
, Geo
, Image
, Locality
, Location
, LocationType
, Method
, Name
, Organizer
, PercentComplete
, Postalcode
, Priority
, ProdId
, RefreshInterval
, Region
, RelatedTo
, Repeat
, RequestStatus
, Resources
, RRule
, Sequence
, Source
, Status
, StreetAddress
, Summary
, Tel
, Transp
, TzId
, TzName
, TzOffsetFrom
, TzOffsetTo
, TzUrl
, Uid
, Url
, Version
, XProperty
public abstract class Property extends Content
UnsupportedOperationException
will be thrown by the copy()
method.Content.Factory
Modifier and Type | Field | Description |
---|---|---|
static String |
ACKNOWLEDGED |
Acknowledged Property taken from http://tools.ietf.org/html/draft-daboo-valarm-extensions-04
|
static String |
ACTION |
Alarm action property name.
|
static String |
ATTACH |
Attachment property name.
|
static String |
ATTENDEE |
Attendee property name.
|
static String |
BUSYTYPE |
Busy type property name.
|
static String |
CALSCALE |
Calendar scale property name.
|
static String |
CATEGORIES |
Categories property name.
|
static String |
CLASS |
Classifier property name.
|
static String |
COMMENT |
Comment property name.
|
static String |
COMPLETED |
Completed date property name.
|
static String |
CONTACT |
Contact property name.
|
static String |
COUNTRY |
VVENUE country property name.
|
static String |
CREATED |
Creation date property name.
|
static String |
DESCRIPTION |
Description property name.
|
static String |
DTEND |
End date property name.
|
static String |
DTSTAMP |
Date-stamp property name.
|
static String |
DTSTART |
Start date property name.
|
static String |
DUE |
Due date property name.
|
static String |
DURATION |
Duration property name.
|
static String |
EXDATE |
Exclusion date property name.
|
static String |
EXPERIMENTAL_PREFIX |
Prefix for non-standard properties.
|
static String |
EXRULE |
Exclusion rule property name.
|
static String |
EXTENDED_ADDRESS |
VVENUE extended address property name.
|
static String |
FREEBUSY |
Free/busy property name.
|
static String |
GEO |
Geographic location property name.
|
static String |
LAST_MODIFIED |
Last modified date property name.
|
static String |
LOCALITY |
VVENUE locality property name.
|
static String |
LOCATION |
Location property name.
|
static String |
LOCATION_TYPE |
VVENUE location type property name.
|
static String |
METHOD |
iTIP method property name.
|
static String |
NAME |
VVENUE name property name.
|
static String |
ORGANIZER |
Organiser property name.
|
static String |
PERCENT_COMPLETE |
Percentage complete property name.
|
static String |
POSTALCODE |
VVENUE postal code property name.
|
static String |
PRIORITY |
Prority property name.
|
static String |
PRODID |
Product identifier property name.
|
static String |
RDATE |
Recurrence date property name.
|
static String |
RECURRENCE_ID |
Recurrence identifier property name.
|
static String |
REGION |
VVENUE region property name.
|
static String |
RELATED_TO |
Relationship property name.
|
static String |
REPEAT |
Repeat rule property name.
|
static String |
REQUEST_STATUS |
Request status property name.
|
static String |
RESOURCES |
Resources property name.
|
static String |
RRULE |
Recurrence rule property name.
|
static String |
SEQUENCE |
Sequence property name.
|
static String |
STATUS |
Status property name.
|
static String |
STREET_ADDRESS |
VVENUE street address property name.
|
static String |
SUMMARY |
Summary property name.
|
static String |
TEL |
VVENUE telephone property name.
|
static String |
TRANSP |
Transparency property name.
|
static String |
TRIGGER |
Alarm trigger property name.
|
static String |
TZID |
Timezone identifier property name.
|
static String |
TZNAME |
Timezone name property name.
|
static String |
TZOFFSETFROM |
Prior timezone offset property name.
|
static String |
TZOFFSETTO |
New timezone offset property name.
|
static String |
TZURL |
URL for timezone definition property name.
|
static String |
UID |
Unique identifier property name.
|
static String |
URL |
Uniform resource locator property name.
|
static String |
VERSION |
iCalendar version property name.
|
Modifier | Constructor | Description |
---|---|---|
protected |
Property(String aName) |
Constructor.
|
protected |
Property(String aName,
ParameterList aList) |
Modifier and Type | Method | Description |
---|---|---|
<T extends Property> |
add(Parameter parameter) |
Add a parameter to the property's parameter list.
|
Property |
copy() |
Create a (deep) copy of this property.
|
boolean |
equals(Object arg0) |
|
String |
getName() |
|
<P extends Parameter> |
getParameter(String name) |
Deprecated.
|
ParameterList |
getParameters() |
|
List<Parameter> |
getParameters(String name) |
Deprecated.
|
int |
hashCode() |
|
protected abstract PropertyFactory<?> |
newFactory() |
Returns a new property factory used to create deep copies.
|
<T extends Property> |
remove(Parameter parameter) |
Remove a parameter from the property's parameter list.
|
<T extends Property> |
removeAll(String parameterName) |
Remove all parameters with the specified name from the property's parameter list.
|
<T extends Property> |
replace(Parameter parameter) |
Add a parameter to the property's parameter list whilst removing all other parameters with the same name.
|
protected void |
setParameters(ParameterList parameters) |
|
abstract void |
setValue(String aValue) |
Sets the current value of the property.
|
String |
toString() |
|
abstract void |
validate() |
Perform validation on a property.
|
public static final String PRODID
public static final String VERSION
public static final String CALSCALE
public static final String METHOD
public static final String BUSYTYPE
public static final String CLASS
public static final String CREATED
public static final String DESCRIPTION
public static final String DTSTART
public static final String GEO
public static final String LAST_MODIFIED
public static final String LOCATION
public static final String ORGANIZER
public static final String PERCENT_COMPLETE
public static final String PRIORITY
public static final String DTSTAMP
public static final String SEQUENCE
public static final String STATUS
public static final String SUMMARY
public static final String TRANSP
public static final String UID
public static final String URL
public static final String RECURRENCE_ID
public static final String COMPLETED
public static final String DUE
public static final String FREEBUSY
public static final String TZID
public static final String TZNAME
public static final String TZOFFSETFROM
public static final String TZOFFSETTO
public static final String TZURL
public static final String ACTION
public static final String REPEAT
public static final String TRIGGER
public static final String REQUEST_STATUS
public static final String DTEND
public static final String DURATION
public static final String ATTACH
public static final String ATTENDEE
public static final String CATEGORIES
public static final String COMMENT
public static final String CONTACT
public static final String EXDATE
public static final String EXRULE
public static final String RELATED_TO
public static final String RESOURCES
public static final String RDATE
public static final String RRULE
public static final String EXPERIMENTAL_PREFIX
public static final String COUNTRY
public static final String EXTENDED_ADDRESS
public static final String LOCALITY
public static final String LOCATION_TYPE
public static final String NAME
public static final String POSTALCODE
public static final String REGION
public static final String STREET_ADDRESS
public static final String TEL
public static final String ACKNOWLEDGED
protected Property(String aName)
aName
- property nameprotected Property(String aName, ParameterList aList)
aName
- a property identifieraList
- a list of initial parameterspublic final String getName()
public final ParameterList getParameters()
protected void setParameters(ParameterList parameters)
public <T extends Property> T add(Parameter parameter)
parameter
- the parameter to addpublic <T extends Property> T remove(Parameter parameter)
parameter
- the parameter to removepublic <T extends Property> T removeAll(String parameterName)
parameterName
- the name of parameters to removepublic <T extends Property> T replace(Parameter parameter)
parameter
- the parameter to add@Deprecated public final List<Parameter> getParameters(String name)
ContentContainer.get(String)
name
- name of parameters to retrieve@Deprecated public final <P extends Parameter> Optional<P> getParameter(String name)
ContentContainer.getFirst(String)
name
- name of the parameter to retrievepublic abstract void setValue(String aValue) throws IOException, URISyntaxException
aValue
- a string representation of the property valueIOException
- possibly thrown by setting the value of certain propertiesURISyntaxException
- possibly thrown by setting the value of certain propertiespublic abstract void validate() throws ValidationException
ValidationException
- where the property is not in a valid stateprotected abstract PropertyFactory<?> newFactory()
public final Property copy() throws URISyntaxException
URISyntaxException