T - the type of values stored in the listpublic class ListProperty<T> extends VCardProperty
| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
values |
group, parameters| Constructor and Description |
|---|
ListProperty() |
ListProperty(ListProperty<T> original)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_validate(List<ValidationWarning> warnings,
VCardVersion version,
VCard vcard)
Checks the property for data consistency problems or deviations from the
spec.
|
boolean |
equals(Object obj) |
List<T> |
getValues()
Gets the list that stores this property's values.
|
int |
hashCode() |
protected Map<String,Object> |
toStringValues()
Gets string representations of the class's fields for the
VCardProperty.toString() method. |
addParameter, compareTo, copy, getGroup, getParameter, getParameters, getParameters, getSupportedVersions, isSupportedBy, removeParameter, setGroup, setParameter, setParameters, toString, validatepublic ListProperty()
public ListProperty(ListProperty<T> original)
original - the property to make a copy ofpublic List<T> getValues()
protected void _validate(List<ValidationWarning> warnings, VCardVersion version, VCard vcard)
VCardProperty_validate in class VCardPropertywarnings - the list to add the warnings toversion - the version to check the property againstvcard - the vCard this property belongs toprotected Map<String,Object> toStringValues()
VCardProperty
Gets string representations of the class's fields for the
VCardProperty.toString() method.
Meant to be overridden by child classes. The default implementation returns an empty map.
toStringValues in class VCardPropertypublic int hashCode()
hashCode in class VCardPropertypublic boolean equals(Object obj)
equals in class VCardPropertyCopyright © 2012–2023 Michael Angstadt. All rights reserved.