public class ProductId extends TextProperty
Identifies the software application that created the vCard.
Code sample
VCard vcard = new VCard();
ProductId prodid = new ProductId("ez-vcard 0.6.0");
vcard.setProdId(prodid);
Property name: PRODID
Supported versions: 3.0, 4.0
valuegroup, parameters| Constructor and Description |
|---|
ProductId(java.lang.String prodId)
Creates a product ID property.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<VCardVersion> |
_supportedVersions()
Gets the vCard versions that support this property.
|
_validate, getValue, setValueaddParameter, compareTo, getGroup, getParameter, getParameters, getParameters, getSupportedVersions, removeParameter, setGroup, setParameter, setParameters, validatepublic ProductId(java.lang.String prodId)
prodId - the prod IDpublic java.util.Set<VCardVersion> _supportedVersions()
VCardPropertyGets the vCard versions that support this property.
This method should be overridden by child classes if the property does not support all vCard versions. The default implementation of this method returns all vCard versions.
_supportedVersions in class VCardPropertyThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.