biweekly.property
Class Uid
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.ValuedProperty<String>
biweekly.property.TextProperty
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Uid
public Uid(String uid)
- Creates a UID property.
- Parameters:
uid
- the UID
random
public static Uid random()
- Creates a UID property that contains a random UID.
- Returns:
- the property
Copyright © 2013 Michael Angstadt. All Rights Reserved.