|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.property.ICalProperty
biweekly.property.ValuedProperty<String>
biweekly.property.TextProperty
biweekly.property.EnumProperty
biweekly.property.Status
public class Status
Defines the status of the component that this property belongs to, such as a to-do task being in a "completed" state.
Examples:
//creating a new property Status status = Status.completed(); if (status.isCompleted()) { //its value is "COMPLETED" }
Field Summary |
---|
Fields inherited from class biweekly.property.ValuedProperty |
---|
value |
Fields inherited from class biweekly.property.ICalProperty |
---|
parameters |
Constructor Summary | |
---|---|
Status(String status)
Creates a status property. |
Method Summary | |
---|---|
static Status |
cancelled()
Creates a "cancelled" status property (only valid for event, to-do, and journal components). |
static Status |
completed()
Creates a "completed" status property (only valid for to-do components). |
static Status |
confirmed()
Creates a "confirmed" status property (only valid for event components). |
static Status |
draft()
Creates a "draft" status property (only valid for journal components). |
static Status |
final_()
Creates a "final" status property (only valid for journal components). |
protected Collection<String> |
getStandardValues()
Gets the list of acceptable values for this property. |
static Status |
inProgress()
Creates a "in-progress" status property (only valid for to-do components). |
boolean |
isCancelled()
Determines if the status is set to "cancelled". |
boolean |
isCompleted()
Determines if the status is set to "completed". |
boolean |
isConfirmed()
Determines if the status is set to "confirmed". |
boolean |
isDraft()
Determines if the status is set to "draft". |
boolean |
isFinal()
Determines if the status is set to "final". |
boolean |
isInProgress()
Determines if the status is set to "in-progress". |
boolean |
isNeedsAction()
Determines if the status is set to "needs-action". |
boolean |
isTentative()
Determines if the status is set to "tentative". |
static Status |
needsAction()
Creates a "needs-action" status property (only valid for to-do components). |
static Status |
tentative()
Creates a "tentative" status property (only valid for event components). |
Methods inherited from class biweekly.property.EnumProperty |
---|
is, validate |
Methods inherited from class biweekly.property.ValuedProperty |
---|
getValue, setValue |
Methods inherited from class biweekly.property.ICalProperty |
---|
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Status(String status)
status
- the status (e.g. "TENTATIVE")Method Detail |
---|
public static Status tentative()
public boolean isTentative()
public static Status confirmed()
public boolean isConfirmed()
public static Status cancelled()
public boolean isCancelled()
public static Status needsAction()
public boolean isNeedsAction()
public static Status completed()
public boolean isCompleted()
public static Status inProgress()
public boolean isInProgress()
public static Status draft()
public boolean isDraft()
public static Status final_()
public boolean isFinal()
protected Collection<String> getStandardValues()
EnumProperty
getStandardValues
in class EnumProperty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |