EMlab-generation Documentation  1.0
Documentation of the EMLab-Generation model.
PowerGeneratingTechnologyTargetFulfillment.java
1 /*******************************************************************************
2  * Copyright 2012 the original author or authors.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  ******************************************************************************/
16 package emlab.gen.domain.policy;
17 
18 import org.neo4j.graphdb.Direction;
19 import org.springframework.data.neo4j.annotation.NodeEntity;
20 import org.springframework.data.neo4j.annotation.RelatedTo;
21 
25 
26 
31 @NodeEntity
33 
37  @RelatedTo(type = "TARGETFULFILLMENT_TECHNOLOGY", elementClass = PowerGeneratingTechnology.class, direction = Direction.OUTGOING)
38  PowerGeneratingTechnology powerGeneratingTechnology;
39 
44  @RelatedTo(type = "TARGETFULFILLMENT_TREND", elementClass = TimeSeriesImpl.class, direction = Direction.OUTGOING)
45  TimeSeriesImpl trend;
46 
47  @RelatedTo(type = "INVESTOR_NODE", elementClass = PowerGridNode.class, direction = Direction.OUTGOING)
48  private PowerGridNode specificPowerGridNode;
49 
50  public PowerGeneratingTechnology getPowerGeneratingTechnology() {
51  return powerGeneratingTechnology;
52  }
53 
54  public void setPowerGeneratingTechnology(
55  PowerGeneratingTechnology powerGeneratingTechnology) {
56  this.powerGeneratingTechnology = powerGeneratingTechnology;
57  }
58 
59  public TimeSeriesImpl getTrend() {
60  return trend;
61  }
62 
63  public void setTrend(TimeSeriesImpl trend) {
64  this.trend = trend;
65  }
66 
67  public PowerGridNode getSpecificPowerGridNode() {
68  return specificPowerGridNode;
69  }
70 
71  public void setSpecificPowerGridNode(PowerGridNode specificPowerGridNode) {
72  this.specificPowerGridNode = specificPowerGridNode;
73  }
74 
75 }