public class Resources extends ListProperty<String>
Defines a list of physical resources that are needed for an event or to-do task (for example, a "projector" or "DVD player").
Code sample:
VEvent event = new VEvent(); Resources resources = new Resources("projector", "DVD player"); event.addResources(resources);
parameters
Constructor and Description |
---|
Resources()
Creates a new resources property.
|
Resources(List<String> values)
Creates a new resources property.
|
Resources(String... values)
Creates a new resources property.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addValue, getValues, validate
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public Resources()
public Resources(String... values)
values
- the values to initialize the property with (e.g. "easel",
"projector")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 removeCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.