Where notes are coming from?

View: New views
2 Messages — Rating Filter:   Alert me  

Where notes are coming from?

by george waldon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Simple question, I am using a ChangeForwarder.Retyper to forward note changes. When I receive a ChangeEvent with the ChangeType Note.VALUE, how do I find out the RichFeature the change is coming from? What is the intended design?

Thanks,
George
_______________________________________________
Biojava-l mailing list  -  Biojava-l@...
http://lists.open-bio.org/mailman/listinfo/biojava-l

Re: Where notes are coming from?

by Richard Holland-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good question - I don't think you can, as the relationship is  
unidirectional (it wasn't intended for notes to be passed around  
independent of their features). In the case of ChangeForwarders  
listening only for notes, this causes a bit of a problem - but I think  
you will also get a Change event against the Feature itself to say a  
note has been added, in which case you might be able to write logic to  
associate the two Change events to work out what's going on.

On 16 Aug 2009, at 17:27, George Waldon wrote:

> Hi,
>
> Simple question, I am using a ChangeForwarder.Retyper to forward  
> note changes. When I receive a ChangeEvent with the ChangeType  
> Note.VALUE, how do I find out the RichFeature the change is coming  
> from? What is the intended design?
>
> Thanks,
> George
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l@...
> http://lists.open-bio.org/mailman/listinfo/biojava-l

--
Richard Holland, BSc MBCS
Operations and Delivery Director, Eagle Genomics Ltd
T: +44 (0)1223 654481 ext 3 | E: holland@...
http://www.eaglegenomics.com/

_______________________________________________
Biojava-l mailing list  -  Biojava-l@...
http://lists.open-bio.org/mailman/listinfo/biojava-l