EMlab-generation Documentation  1.0
Documentation of the EMLab-Generation model.
IntermittentResourceProfile.java
1 package emlab.gen.domain.technology;
2 
3 import org.neo4j.graphdb.Direction;
4 import org.springframework.data.neo4j.annotation.NodeEntity;
5 import org.springframework.data.neo4j.annotation.RelatedTo;
6 
8 
9 @NodeEntity
11 
12  @RelatedTo(type = "INTERMITTENT_TECHNOLOGY", elementClass = PowerGeneratingTechnology.class, direction = Direction.OUTGOING)
13  PowerGeneratingTechnology intermittentTechnology;
14 
15  @RelatedTo(type = "INTERMITTENT_PRODUCTION_NODE", elementClass = PowerGridNode.class, direction = Direction.INCOMING)
16  PowerGridNode intermittentProductionNode;
17 
18  public PowerGridNode getIntermittentProductionNode() {
19  return intermittentProductionNode;
20  }
21 
22  public void setIntermittentProductionNode(
23  PowerGridNode intermittentProductionNode) {
24  this.intermittentProductionNode = intermittentProductionNode;
25  }
26 
27  public PowerGeneratingTechnology getIntermittentTechnology() {
28  return intermittentTechnology;
29  }
30 
31  public void setIntermittentTechnology(PowerGeneratingTechnology intermittentTechnology) {
32  this.intermittentTechnology = intermittentTechnology;
33  }
34 
35 }