16 package emlab.gen.domain.technology;
18 import org.springframework.data.neo4j.annotation.NodeEntity;
19 import org.springframework.data.neo4j.annotation.RelatedTo;
20 import org.neo4j.graphdb.Direction;
27 @RelatedTo(type =
"SUBSTANCE", elementClass =
Substance.class, direction = Direction.OUTGOING)
30 public double getShare() {
34 public void setShare(
double share) {
42 public void setSubstance(
Substance substance) {
43 this.substance = substance;
46 public String toString(){
47 return this.substance +
": "+ this.share;