[Biojava-l] Annotation
mark.schreiber at novartis.com
mark.schreiber at novartis.com
Wed Nov 23 08:45:37 EST 2005
OK, that explains it.
EMPTY_ANNOTATION is a place holder to avoid getting a null pointer when
you ask for the Annotation. It will not let you add properties as it would
no longer be EMPTY. Best to not use this unless you don't plan to do
anything with the Annotation.
- Mark
"Christian Köberle" <koeberle at mpiib-berlin.mpg.de>
Sent by: biojava-l-bounces at portal.open-bio.org
11/22/2005 09:35 PM
To: "Christian Köberle" <koeberle at mpiib-berlin.mpg.de>
cc: biojava-l at biojava.org, (bcc: Mark Schreiber/GP/Novartis)
Subject: Re: [Biojava-l] Annotation
Christian Köberle wrote:
> Hi,
>
> I have a problem with Annotation. If I try to add a new Property to an
> Annotation I get a ChangeVetoException. What can I do?
>
Problem is solved:
The Problem was: I have initializide my Object with EMPTY_ANNOTATION.
Now I use new SimpleAnnotation()
--
Christian Köberle
Max Planck Institute for Infection Biology
Department: Immunology
Schumannstr. 21/22
10117 Berlin
Tel: +49 30 28 460 562
e-mail: koeberle at mpiib-berlin.mpg.de
_______________________________________________
Biojava-l mailing list - Biojava-l at biojava.org
http://biojava.org/mailman/listinfo/biojava-l
More information about the Biojava-l
mailing list