public class Uid extends TextProperty
Defines a unique identifier for a component. Note that all components are automatically given random UIDs on creation.
Code sample:
VEvent event = new VEvent();
//all components are given random UIDs on creation
Uid uid = new Uid("...");
event.setUid(uid);
valueparameters| Constructor and Description |
|---|
Uid(String uid)
Creates a UID property.
|
| Modifier and Type | Method and Description |
|---|---|
static Uid |
random()
Creates a UID property that contains a random UID.
|
getValue, getValue, setValue, validateaddParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validateCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.