EMlab-generation Documentation  1.0
Documentation of the EMLab-Generation model.
PowerGeneratingTechnologyTarget.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 
24 
25 
30 @NodeEntity
32 
36  @RelatedTo(type="TARGET_TECHNOLOGY", elementClass=PowerGeneratingTechnology.class, direction=Direction.OUTGOING)
37  PowerGeneratingTechnology powerGeneratingTechnology;
38 
43  @RelatedTo(type = "TARGET_TREND", elementClass = TimeSeriesImpl.class, direction = Direction.OUTGOING)
44  TimeSeriesImpl trend;
45 
46  public TimeSeriesImpl getTrend() {
47  return trend;
48  }
49 
50  public void setTrend(TimeSeriesImpl trend) {
51  this.trend = trend;
52  }
53 
54  public PowerGeneratingTechnology getPowerGeneratingTechnology() {
55  return powerGeneratingTechnology;
56  }
57 
58  public void setPowerGeneratingTechnology(
59  PowerGeneratingTechnology powerGeneratingTechnology) {
60  this.powerGeneratingTechnology = powerGeneratingTechnology;
61  }
62 
63 }