The Annotation class models a single annotation for a message, ie. it has an entr name, a value, an owner and associated data. The Annotation object doesn't register itself or maintain pointers to other objects - it's a simple value.
Constructs a new Annotation with the given name, value, and owner.
Constructs an empty Annotation.
Returns the annotation's entry name, as set by setEntryName().
Returns the annotation's owner ID, as set by setOwnerId().
Records that the entry name of this annotation is name. Annotation does not enforce validity.
Records that the user id owning this annotation is id. The initial value is 0, corresponding to a shared annotation.
Records that the value of this annotation is v. The initial value is an empty string.
Returns the annotation's value, as set by setValue().
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.