Package net.fortuna.ical4j.vcard
Class VCard
- java.lang.Object
-
- net.fortuna.ical4j.vcard.VCard
-
- All Implemented Interfaces:
Serializable,PropertyContainer
public class VCard extends Object implements Serializable, PropertyContainer
vCard object.$Id$
Created on 21/08/2008
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VCard()Default constructor.VCard(PropertyList properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)PropertyListgetPropertyList()Returns a reference to the list of properties for the VCard instance.inthashCode()voidsetPropertyList(PropertyList properties)StringtoString()ValidationResultvalidate()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.fortuna.ical4j.model.PropertyContainer
add, addAll, getProperties, getProperty, getRequiredProperty, remove, removeAll, replace
-
-
-
-
Constructor Detail
-
VCard
public VCard()
Default constructor.
-
VCard
public VCard(PropertyList properties)
- Parameters:
properties- a list of properties
-
-
Method Detail
-
getPropertyList
public PropertyList getPropertyList()
Returns a reference to the list of properties for the VCard instance. Note that any changes to this list are reflected in the VCard object list.- Specified by:
getPropertyListin interfacePropertyContainer- Returns:
- the properties
-
setPropertyList
public void setPropertyList(PropertyList properties)
- Specified by:
setPropertyListin interfacePropertyContainer
-
validate
public ValidationResult validate() throws ValidationException
- Throws:
ValidationException- where validation fails
-
toString
public String toString()
-
-