public class UniqueIdentifier extends PropertyBase<java.lang.String,UniqueIdentifier>
UID Unique Identifier RFC 5545, 3.8.4.7, page 117
This property defines the persistent, globally unique identifier for the calendar component.
The "UID" itself MUST be a globally unique identifier. The generator of the identifier MUST guarantee that the identifier is unique. There are several algorithms that can be used to accomplish this. A good method to assure uniqueness is to put the domain name or a domain literal IP address of the host on which the identifier was created on the right-hand side of an "@", and on the left-hand side, put a combination of the current calendar date and time of day (i.e., formatted in as a DATE-TIME value) along with some other currently unique (perhaps sequential) identifier available on the system (for example, a process id number). Using a DATE-TIME value on the left-hand side and a domain name or domain literal on the right-hand side makes it possible to guarantee uniqueness since no two hosts should be using the same domain name or IP address at the same time. Though other algorithms will work, it is RECOMMENDED that the right-hand side contain some domain identifier (either of the host itself or otherwise) such that the generator of the message identifier can guarantee the uniqueness of the left-hand side within the scope of that domain.
Examples: UID:19960401T080045Z-4000F192713-0052@example.com
propertyNameProperty, valueProperty, valueTypeProperty
Constructor and Description |
---|
UniqueIdentifier() |
UniqueIdentifier(UniqueIdentifier source) |
Modifier and Type | Method and Description |
---|---|
static UniqueIdentifier |
parse(java.lang.String propertyContent) |
compareTo, copyInto, copyValue, equals, errors, getConverter, getNonStandard, getParent, getPropertyValueString, getUnknownValue, getValue, getValueType, hashCode, name, nonStandardParameter, parseContent, propertyNameProperty, propertyType, setConverter, setConverterByClass, setNonStandard, setParent, setPropertyName, setValue, setValueType, setValueType, setValueType, toContent, toString, valueContent, valueProperty, valueTypeProperty, withNonStandard, withNonStandard, withNonStandard, withPropertyName, withValue, withValueType, withValueType
childrenUnmodifiable, copyIntoCallback, orderer, setContentLineGenerator
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
childrenUnmodifiable
public UniqueIdentifier(UniqueIdentifier source)
public UniqueIdentifier()
public static UniqueIdentifier parse(java.lang.String propertyContent)