|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.property.ICalProperty
biweekly.property.ListProperty<String>
biweekly.property.Resources
public class Resources
Defines a list of resources that are needed for an event or to-do task (for example a projector or DVD player).
Examples:
Resources resources = new Resources("projector", "DVD player");
Field Summary |
---|
Fields inherited from class biweekly.property.ICalProperty |
---|
parameters |
Constructor Summary | |
---|---|
Resources()
Creates a new resources property. |
|
Resources(List<String> values)
Creates a new resources property. |
|
Resources(String... values)
Creates a new resources property. |
Method Summary | |
---|---|
String |
getAltRepresentation()
Gets a URI pointing to additional information about the entity represented by the property. |
String |
getLanguage()
Gets the language that the property value is written in. |
void |
setAltRepresentation(String uri)
Sets a URI pointing to additional information about the entity represented by the property. |
void |
setLanguage(String language)
Sets the language that the property value is written in. |
Methods inherited from class biweekly.property.ListProperty |
---|
addValue, getValues, validate |
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 Resources()
public Resources(String... values)
values
- the values to initialize the property with (e.g. "easel",
"projector")public Resources(List<String> values)
values
- the values to initialize the property with (e.g. "easel",
"projector")Method Detail |
---|
public String getAltRepresentation()
ICalProperty
public void setAltRepresentation(String uri)
ICalProperty
uri
- the URI or null to removepublic String getLanguage()
ICalProperty
public void setLanguage(String language)
ICalProperty
language
- the language (e.g. "en" for English) or null to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |