-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathGroup.java
More file actions
134 lines (109 loc) · 2.65 KB
/
Group.java
File metadata and controls
134 lines (109 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
package com.powerdata.openpa;
/*
* Copyright (c) 2016, PowerData Corporation, Incremental Systems Corporation
* All rights reserved.
* Licensed under the BSD-3 Clause License.
* See full license at https://powerdata.github.io/openpa/LICENSE.md
*/
import java.util.List;
import com.powerdata.openpa.impl.SuperList;
public class Group extends AbstractBaseObject implements PALists
{
protected GroupListIfc<? extends Group> _list;
SuperList _slist = new SuperList(this);
public Group(GroupListIfc<? extends Group> list, int ndx)
{
super(list, ndx);
_list = list;
}
@Override
public BusList getBuses() throws PAModelException
{
return _list.getBuses(_ndx);
}
@Override
public SwitchList getSwitches() throws PAModelException
{
return _list.getSwitches(_ndx);
}
@Override
public LineList getLines() throws PAModelException
{
return _list.getLines(_ndx);
}
@Override
public SeriesReacList getSeriesReactors() throws PAModelException
{
return _list.getSeriesReactors(_ndx);
}
@Override
public SeriesCapList getSeriesCapacitors() throws PAModelException
{
return _list.getSeriesCapacitors(_ndx);
}
@Override
public TransformerList getTransformers() throws PAModelException
{
return _list.getTransformers(_ndx);
}
@Override
public PhaseShifterList getPhaseShifters() throws PAModelException
{
return _list.getPhaseShifters(_ndx);
}
@Override
public TwoTermDCLineList getTwoTermDCLines() throws PAModelException
{
return _list.getTwoTermDCLines(_ndx);
}
@Override
public GenList getGenerators() throws PAModelException
{
return _list.getGenerators(_ndx);
}
@Override
public LoadList getLoads() throws PAModelException
{
return _list.getLoads(_ndx);
}
@Override
public ShuntReacList getShuntReactors() throws PAModelException
{
return _list.getShuntReactors(_ndx);
}
@Override
public ShuntCapList getShuntCapacitors() throws PAModelException
{
return _list.getShuntCapacitors(_ndx);
}
@Override
public SVCList getSVCs() throws PAModelException
{
return _list.getSVCs(_ndx);
}
@Override
public List<OneTermDevList> getOneTermDevices() throws PAModelException
{
return _slist.getOneTermDevs();
}
@Override
public List<TwoTermDevList> getTwoTermDevices() throws PAModelException
{
return _slist.getTwoTermDevs();
}
@Override
public List<ACBranchList> getACBranches() throws PAModelException
{
return _slist.getACBranches();
}
@Override
public List<FixedShuntList> getFixedShunts() throws PAModelException
{
return _slist.getFixedShunts();
}
@Override
public SteamTurbineList getSteamTurbines() throws PAModelException
{
throw new PAModelException("Not yet implemented");
}
}