@@ -0,0 +1,1466 @@
+package org.pdxfinder.dao;%0A%0Aimport org.neo4j.ogm.annotation.*;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0A%0A/*%0A * Created by csaba on 16/11/2017.%0A */%0A@RelationshipEntity(type=%22MAPPED_TO%22)%0Apublic class SampleToOntologyRelationShip %7B%0A%0A    @GraphId%0A    private Long relationshipId;%0A%0A    @Property%0A    private String type;%0A%0A    @Property%0A    private String justification;%0A%0A    @StartNode%0A    private Sample sample;%0A%0A    @EndNode%0A    private OntologyTerm ontologyTerm;%0A%0A    public SampleToOntologyRelationShip() %7B%0A    %7D%0A%0A    @Autowired%0A    public SampleToOntologyRelationShip(String type, String justification, Sample sample, OntologyTerm ontologyTerm) %7B%0A        this.type = type;%0A        this.justification = justification;%0A        this.sample = sample;%0A        this.ontologyTerm = ontologyTerm;%0A    %7D%0A%0A%0A    public String getType() %7B%0A        return type;%0A    %7D%0A%0A    public void setType(String type) %7B%0A        this.type = type;%0A    %7D%0A%0A    public String getJustification() %7B%0A        return justification;%0A    %7D%0A%0A    public void setJustification(String justification) %7B%0A        this.justification = justification;%0A    %7D%0A%0A    public Sample getSample() %7B%0A        return sample;%0A    %7D%0A%0A    public void setSample(Sample sample) %7B%0A        this.sample = sample;%0A    %7D%0A%0A    public OntologyTerm getOntologyTerm() %7B%0A        return ontologyTerm;%0A    %7D%0A%0A    public void setOntologyTerm(OntologyTerm ontologyTerm) %7B%0A        this.ontologyTerm = ontologyTerm;%0A    %7D%0A%7D%0A

Create general ontology relationship