public class Description extends TextProperty
Defines a detailed description of the component that this property belongs
to. The description should be a more detailed version of the text provided by
the Summary
property.
Code sample:
VEvent event = new VEvent(); Description description = new Description("During this meeting, we will discuss..."); event.setDescription(description);
value
parameters
Constructor and Description |
---|
Description(String description)
Creates a description 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.
|
getValue, getValue, setValue, validate
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public Description(String description)
description
- the descriptionpublic 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.