biweekly.property
Class ProductId

java.lang.Object
  extended by biweekly.property.ICalProperty
      extended by biweekly.property.ValuedProperty<String>
          extended by biweekly.property.TextProperty
              extended by biweekly.property.ProductId

public class ProductId
extends TextProperty

Identifies the application that created the iCalendar object.

Examples:

 ProductId prodid = new ProductId("-//Company//Application Name//EN");
 
 ICalendar ical = new ICalendar();
 ical.setProductId("-//Company//Application Name//EN");
 

Author:
Michael Angstadt
Specification Reference:
RFC 5545 p.78-9

Field Summary
 
Fields inherited from class biweekly.property.ValuedProperty
value
 
Fields inherited from class biweekly.property.ICalProperty
parameters
 
Constructor Summary
ProductId(String value)
          Creates a new product identifier property.
 
Method Summary
static ProductId biweekly()
          Creates a new product identifier property that represents this library.
 
Methods inherited from class biweekly.property.ValuedProperty
getValue, setValue, validate
 
Methods inherited from class biweekly.property.ICalProperty
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductId

public ProductId(String value)
Creates a new product identifier property.

Parameters:
value - a unique string representing the application (e.g. "-//Company//Application Name//EN")
Method Detail

biweekly

public static ProductId biweekly()
Creates a new product identifier property that represents this library.

Returns:
the property


Copyright © 2013 Michael Angstadt. All Rights Reserved.