public class VObjectProperty extends Object
| Constructor and Description |
|---|
VObjectProperty()
Creates an empty property.
|
VObjectProperty(String name,
String value)
Create a new property.
|
VObjectProperty(String group,
String name,
String value)
Creates a new property
|
VObjectProperty(String group,
String name,
VObjectParameters parameters,
String value)
Creates a new property
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGroup()
Gets the group name (note: iCalendar properties do not use group names).
|
String |
getName()
Gets the property name.
|
VObjectParameters |
getParameters()
Gets the parameters.
|
String |
getValue()
Gets the property value.
|
int |
hashCode() |
void |
setGroup(String group)
Sets the group name (note: iCalendar properties do not use group names).
|
void |
setName(String name)
Sets the property name.
|
void |
setParameters(VObjectParameters parameters)
Sets the parameters.
|
void |
setValue(String value)
Sets the property value.
|
String |
toString() |
public VObjectProperty()
public VObjectProperty(String name, String value)
name - the property name (should contain only letters, numbers, and
dashes; letters should be uppercase by convention)value - the property valuepublic VObjectProperty(String group, String name, String value)
group - the group name (should contain only letters, numbers, and
dashes; can be null)name - the property name (should contain only letters, numbers, and
dashes; letters should be uppercase by convention)value - the property valuepublic VObjectProperty(String group, String name, VObjectParameters parameters, String value)
group - the group name (should contain only letters, numbers, and
dashes; can be null)name - the property name (should contain only letters, numbers, and
dashes; letters should be uppercase by convention)parameters - the property parameters (cannot be null)value - the property valuepublic String getGroup()
public void setGroup(String group)
group - the group name or null to remove (should contain only
letters, numbers, and dashes)public void setName(String name)
name - the property name (should contain only letters, numbers, and
dashes; letters should be uppercase by convention)public VObjectParameters getParameters()
public void setParameters(VObjectParameters parameters)
parameters - the parameters (cannot be null)public void setValue(String value)
value - the property valueCopyright © 2016–2018 Michael Angstadt. All rights reserved.