biweekly.property
Class Uid

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

public class Uid
extends TextProperty

Defines a unique identifier for a component.

Examples:

 Uid uid = new Uid("...");
 
 //random UID
 Uid uid = Uid.random();
 

Author:
Michael Angstadt
Specification Reference:
RFC 5545 p.117-8

Field Summary
 
Fields inherited from class biweekly.property.ValuedProperty
value
 
Fields inherited from class biweekly.property.ICalProperty
parameters
 
Constructor Summary
Uid(String uid)
          Creates a UID property.
 
Method Summary
static Uid random()
          Creates a UID property that contains a random UID.
 
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

Uid

public Uid(String uid)
Creates a UID property.

Parameters:
uid - the UID
Method Detail

random

public static Uid random()
Creates a UID property that contains a random UID.

Returns:
the property


Copyright © 2013 Michael Angstadt. All Rights Reserved.