|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.ical4j.model.Component
net.fortuna.ical4j.model.component.CalendarComponent
net.fortuna.ical4j.model.component.VJournal
public class VJournal
$Id$ [Apr 5, 2004] Defines an iCalendar VJOURNAL component.
4.6.3 Journal Component Component Name: VJOURNAL Purpose: Provide a grouping of component properties that describe a journal entry. Formal Definition: A "VJOURNAL" calendar component is defined by the following notation: journalc = "BEGIN" ":" "VJOURNAL" CRLF jourprop "END" ":" "VJOURNAL" CRLF jourprop = *( ; the following are optional, ; but MUST NOT occur more than once class / created / description / dtstart / dtstamp / last-mod / organizer / recurid / seq / status / summary / uid / url / ; the following are optional, ; and MAY occur more than once attach / attendee / categories / comment / contact / exdate / exrule / related / rdate / rrule / rstatus / x-prop )Example 1 - Creating a journal associated with an event:
DtStart meetingDate = (DtStart) meeting.getProperties().getProperty(
Property.DTSTART);
VJournal minutes = new VJournal(meetingDate.getTime(),
"Progress Meeting - Minutes");
// add timezone information..
TzId tzParam = meetingDate.getParameters().getParmaeter(Parameter.TZID);
minutes.getProperties().getProperty(Property.DTSTART).getParameters().add(
tzParam);
// add description..
minutes.getProperties().add(new Description("1. Agenda.., 2. Action Items.."));
Field Summary |
---|
Fields inherited from class net.fortuna.ical4j.model.component.CalendarComponent |
---|
EMPTY_VALIDATOR |
Fields inherited from class net.fortuna.ical4j.model.Component |
---|
AVAILABLE, BEGIN, END, EXPERIMENTAL_PREFIX, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VTIMEZONE, VTODO, VVENUE |
Constructor Summary | |
---|---|
VJournal()
Default constructor. |
|
VJournal(Date start,
String summary)
Constructs a new VJOURNAL instance associated with the specified time with the specified summary. |
|
VJournal(PropertyList properties)
Constructor. |
Method Summary | |
---|---|
Clazz |
getClassification()
|
Created |
getCreated()
|
DtStamp |
getDateStamp()
|
Description |
getDescription()
|
LastModified |
getLastModified()
|
Organizer |
getOrganizer()
|
RecurrenceId |
getRecurrenceId()
|
Sequence |
getSequence()
|
DtStart |
getStartDate()
Convenience method to pull the DTSTART out of the property list. |
Status |
getStatus()
|
Summary |
getSummary()
|
Uid |
getUid()
Returns the UID property of this component if available. |
Url |
getUrl()
|
protected Validator |
getValidator(Method method)
|
void |
validate(boolean recurse)
Perform validation on a component. |
Methods inherited from class net.fortuna.ical4j.model.component.CalendarComponent |
---|
validate, validateAdd, validateCancel, validateCounter, validateDeclineCounter, validatePublish, validateRefresh, validateReply, validateRequest |
Methods inherited from class net.fortuna.ical4j.model.Component |
---|
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, hashCode, toString, validate, validateProperties |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VJournal()
public VJournal(PropertyList properties)
properties
- a list of propertiespublic VJournal(Date start, String summary)
start
- the date the journal entry is associated withsummary
- the journal summaryMethod Detail |
---|
public final void validate(boolean recurse) throws ValidationException
validate
in class Component
recurse
- indicates whether to validate the component's properties
ValidationException
- where the component is not in a valid stateprotected Validator getValidator(Method method)
getValidator
in class CalendarComponent
method
- a method to validate on
public final Clazz getClassification()
public final Created getCreated()
public final Description getDescription()
public final DtStart getStartDate()
public final LastModified getLastModified()
public final Organizer getOrganizer()
public final DtStamp getDateStamp()
public final Sequence getSequence()
public final Status getStatus()
public final Summary getSummary()
public final Url getUrl()
public final RecurrenceId getRecurrenceId()
public final Uid getUid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |