Ignore:
Timestamp:
Jun 6, 2014, 7:26:21 AM (10 years ago)
Author:
casties
Branch:
default
Message:

save text quote from Annotator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/neo4j/AnnotationStore.java

    r75 r76  
    520520            annot.setBodyText((String) annotNode.getProperty("bodyText", null));
    521521            annot.setBodyUri((String) annotNode.getProperty("bodyUri", null));
     522            annot.setQuote((String) annotNode.getProperty("quote", null));
    522523            /*
    523524             * get annotation target and resource from relation
     
    701702            if (bodyUri != null) {
    702703                annotNode.setProperty("bodyUri", bodyUri);
     704            }
     705           
     706            /*
     707             * the annotation quote
     708             */
     709            String quote = annot.getQuote();
     710            if (quote != null) {
     711                annotNode.setProperty("quote", quote);
    703712            }
    704713               
Note: See TracChangeset for help on using the changeset viewer.