Class Action
- java.lang.Object
-
- net.fortuna.ical4j.model.Content
-
- net.fortuna.ical4j.model.Property
-
- net.fortuna.ical4j.model.property.Action
-
- All Implemented Interfaces:
Serializable
public class Action extends Property
$Id$ Created: [Apr 6, 2004] Defines an ACTION iCalendar component property.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Action.Factory
-
Field Summary
Fields Modifier and Type Field Description static Action
AUDIO
Constant actions for playing an audible sound.static Action
DISPLAY
Constant action for displaying a visible notification.static Action
EMAIL
Constant action for sending an email.static Action
PROCEDURE
Constant action for a procedure.-
Fields inherited from class net.fortuna.ical4j.model.Property
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
protected PropertyFactory<Action>
newFactory()
Returns a new property factory used to create deep copies.void
setValue(String aValue)
Sets the current value of the property.void
validate()
Perform validation on a property.-
Methods inherited from class net.fortuna.ical4j.model.Property
add, copy, equals, getName, getParameter, getParameters, getParameters, hashCode, remove, removeAll, replace, setParameters, toString
-
-
-
-
Field Detail
-
AUDIO
public static final Action AUDIO
Constant actions for playing an audible sound.
-
DISPLAY
public static final Action DISPLAY
Constant action for displaying a visible notification.
-
EMAIL
public static final Action EMAIL
Constant action for sending an email.
-
PROCEDURE
public static final Action PROCEDURE
Constant action for a procedure.
-
-
Constructor Detail
-
Action
public Action()
Default constructor.
-
Action
public Action(String aValue)
- Parameters:
aValue
- a value string for this component
-
Action
public Action(ParameterList aList, String aValue)
- Parameters:
aList
- a list of parameters for this componentaValue
- a value string for this component
-
-
Method Detail
-
setValue
public void setValue(String aValue)
Sets the current value of the property.
-
getValue
public final String getValue()
-
validate
public void validate() throws ValidationException
Description copied from class:Property
Perform validation on a property.- Specified by:
validate
in classProperty
- Throws:
ValidationException
- where the property is not in a valid state
-
newFactory
protected PropertyFactory<Action> newFactory()
Description copied from class:Property
Returns a new property factory used to create deep copies.- Specified by:
newFactory
in classProperty
- Returns:
- a property factory instance
-
-