public class ACBranchList extends java.util.AbstractList<ACBranch> implements ACBranchListIfc<ACBranch>
TwoTermBaseList.TwoTermBase| Constructor and Description |
|---|
ACBranchList(ACBranchListIfc<? extends ACBranch> src) |
| Modifier and Type | Method and Description |
|---|---|
ACBranch |
get(int index) |
ACBranchListIfc<? extends ACBranch> |
getBaseList()
return the unwrapped version of the list
|
float[] |
getBmag() |
float |
getBmag(int ndx) |
ACBranch |
getByID(java.lang.String id) |
ACBranch |
getByKey(int key) |
java.util.Set<ColumnMeta> |
getColTypes() |
<R> R |
getColumnData(ColumnMeta col) |
float[] |
getFromBchg() |
float |
getFromBchg(int ndx) |
Bus[] |
getFromBus() |
Bus |
getFromBus(int ndx) |
float[] |
getFromP() |
float |
getFromP(int ndx) |
float[] |
getFromQ() |
float |
getFromQ(int ndx) |
float[] |
getFromTap() |
float |
getFromTap(int ndx) |
float[] |
getGmag() |
float |
getGmag(int ndx) |
java.lang.String[] |
getID()
return array of string object ID's
|
java.lang.String |
getID(int ndx) |
int |
getIndex(int ndx) |
int |
getKey(int ndx) |
int[] |
getKeys() |
ListMetaType |
getListMeta() |
float[] |
getLTRating() |
float |
getLTRating(int ndx) |
java.lang.String[] |
getName()
name of object
|
java.lang.String |
getName(int ndx) |
float[] |
getR() |
float |
getR(int ndx) |
float[] |
getShift() |
float |
getShift(int ndx) |
float[] |
getToBchg() |
float |
getToBchg(int ndx) |
Bus[] |
getToBus() |
Bus |
getToBus(int ndx) |
float[] |
getToP() |
float |
getToP(int ndx) |
float[] |
getToQ() |
float |
getToQ(int ndx) |
float[] |
getToTap() |
float |
getToTap(int ndx) |
float[] |
getX() |
float |
getX(int ndx) |
boolean[] |
isInService() |
boolean |
isInService(int ndx) |
boolean |
objEquals(int ndx,
java.lang.Object obj) |
int |
objHash(int ndx) |
void |
setBmag(float[] b) |
void |
setBmag(int ndx,
float b) |
void |
setFromBchg(float[] b) |
void |
setFromBchg(int ndx,
float b) |
void |
setFromBus(Bus[] b) |
void |
setFromBus(int ndx,
Bus b) |
void |
setFromP(float[] mw) |
void |
setFromP(int ndx,
float mw) |
void |
setFromQ(float[] mvar) |
void |
setFromQ(int ndx,
float mvar) |
void |
setFromTap(float[] a) |
void |
setFromTap(int ndx,
float a) |
void |
setGmag(float[] g) |
void |
setGmag(int ndx,
float g) |
void |
setID(int ndx,
java.lang.String id) |
void |
setID(java.lang.String[] id)
set unique object ID PAModelException
|
void |
setInService(boolean[] state) |
void |
setInService(int ndx,
boolean state) |
void |
setLTRating(float[] mva) |
void |
setLTRating(int ndx,
float mva) |
void |
setName(int ndx,
java.lang.String name) |
void |
setName(java.lang.String[] name)
set name of object
|
void |
setR(float[] r) |
void |
setR(int ndx,
float r) |
void |
setShift(float[] sdeg) |
void |
setShift(int ndx,
float sdeg) |
void |
setToBchg(float[] b) |
void |
setToBchg(int ndx,
float b) |
void |
setToBus(Bus[] b) |
void |
setToBus(int ndx,
Bus b) |
void |
setToP(float[] mw) |
void |
setToP(int ndx,
float mw) |
void |
setToQ(float[] mvar) |
void |
setToQ(int ndx,
float mvar) |
void |
setToTap(float[] a) |
void |
setToTap(int ndx,
float a) |
void |
setX(float[] x) |
void |
setX(int ndx,
float x) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringgetFromBusIndexes, getToBusIndexesCalcListHash, getIndexes, getIndexesFromIDs, getIndexesFromKeys, reset, toArraypublic ACBranchList(ACBranchListIfc<? extends ACBranch> src)
public Bus getFromBus(int ndx) throws PAModelException
getFromBus in interface TwoTermBaseList<ACBranch>PAModelExceptionpublic void setFromBus(int ndx,
Bus b)
throws PAModelException
setFromBus in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic Bus[] getFromBus() throws PAModelException
getFromBus in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setFromBus(Bus[] b) throws PAModelException
setFromBus in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic Bus getToBus(int ndx) throws PAModelException
getToBus in interface TwoTermBaseList<ACBranch>PAModelExceptionpublic void setToBus(int ndx,
Bus b)
throws PAModelException
setToBus in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic Bus[] getToBus() throws PAModelException
getToBus in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setToBus(Bus[] b) throws PAModelException
setToBus in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic boolean isInService(int ndx)
throws PAModelException
isInService in interface InServiceList<ACBranch>PAModelExceptionpublic void setInService(int ndx,
boolean state)
throws PAModelException
setInService in interface InServiceList<ACBranch>PAModelExceptionpublic boolean[] isInService()
throws PAModelException
isInService in interface InServiceList<ACBranch>PAModelExceptionpublic void setInService(boolean[] state)
throws PAModelException
setInService in interface InServiceList<ACBranch>PAModelExceptionpublic float getFromP(int ndx)
throws PAModelException
getFromP in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setFromP(int ndx,
float mw)
throws PAModelException
setFromP in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic float[] getFromP()
throws PAModelException
getFromP in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setFromP(float[] mw)
throws PAModelException
setFromP in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic float getFromQ(int ndx)
throws PAModelException
getFromQ in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setFromQ(int ndx,
float mvar)
throws PAModelException
setFromQ in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic float[] getFromQ()
throws PAModelException
getFromQ in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setFromQ(float[] mvar)
throws PAModelException
setFromQ in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic float getToP(int ndx)
throws PAModelException
getToP in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setToP(int ndx,
float mw)
throws PAModelException
setToP in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic float[] getToP()
throws PAModelException
getToP in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setToP(float[] mw)
throws PAModelException
setToP in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic float getToQ(int ndx)
throws PAModelException
getToQ in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setToQ(int ndx,
float mvar)
throws PAModelException
setToQ in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic float[] getToQ()
throws PAModelException
getToQ in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic void setToQ(float[] mvar)
throws PAModelException
setToQ in interface TwoTermDevListIfc<ACBranch>PAModelExceptionpublic java.lang.String getID(int ndx)
throws PAModelException
getID in interface BaseList<ACBranch>PAModelExceptionpublic java.lang.String[] getID()
throws PAModelException
BaseListgetID in interface BaseList<ACBranch>PAModelExceptionpublic void setID(java.lang.String[] id)
throws PAModelException
BaseListsetID in interface BaseList<ACBranch>PAModelExceptionpublic void setID(int ndx,
java.lang.String id)
throws PAModelException
setID in interface BaseList<ACBranch>PAModelExceptionpublic java.lang.String getName(int ndx)
throws PAModelException
getName in interface BaseList<ACBranch>PAModelExceptionpublic void setName(int ndx,
java.lang.String name)
throws PAModelException
setName in interface BaseList<ACBranch>PAModelExceptionpublic java.lang.String[] getName()
throws PAModelException
BaseListgetName in interface BaseList<ACBranch>PAModelExceptionpublic void setName(java.lang.String[] name)
throws PAModelException
BaseListsetName in interface BaseList<ACBranch>PAModelExceptionpublic ListMetaType getListMeta()
getListMeta in interface BaseList<ACBranch>public float getR(int ndx)
throws PAModelException
getR in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setR(int ndx,
float r)
throws PAModelException
setR in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getR()
throws PAModelException
getR in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setR(float[] r)
throws PAModelException
setR in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float getX(int ndx)
throws PAModelException
getX in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setX(int ndx,
float x)
throws PAModelException
setX in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getX()
throws PAModelException
getX in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setX(float[] x)
throws PAModelException
setX in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float getFromTap(int ndx)
throws PAModelException
getFromTap in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setFromTap(int ndx,
float a)
throws PAModelException
setFromTap in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getFromTap()
throws PAModelException
getFromTap in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setFromTap(float[] a)
throws PAModelException
setFromTap in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float getToTap(int ndx)
throws PAModelException
getToTap in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setToTap(int ndx,
float a)
throws PAModelException
setToTap in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getToTap()
throws PAModelException
getToTap in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setToTap(float[] a)
throws PAModelException
setToTap in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float getGmag(int ndx)
throws PAModelException
getGmag in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setGmag(int ndx,
float g)
throws PAModelException
setGmag in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getGmag()
throws PAModelException
getGmag in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setGmag(float[] g)
throws PAModelException
setGmag in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float getBmag(int ndx)
throws PAModelException
getBmag in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setBmag(int ndx,
float b)
throws PAModelException
setBmag in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getBmag()
throws PAModelException
getBmag in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setBmag(float[] b)
throws PAModelException
setBmag in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float getFromBchg(int ndx)
throws PAModelException
getFromBchg in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setFromBchg(int ndx,
float b)
throws PAModelException
setFromBchg in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getFromBchg()
throws PAModelException
getFromBchg in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setFromBchg(float[] b)
throws PAModelException
setFromBchg in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float getToBchg(int ndx)
throws PAModelException
getToBchg in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setToBchg(int ndx,
float b)
throws PAModelException
setToBchg in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getToBchg()
throws PAModelException
getToBchg in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setToBchg(float[] b)
throws PAModelException
setToBchg in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float getShift(int ndx)
throws PAModelException
getShift in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setShift(int ndx,
float sdeg)
throws PAModelException
setShift in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getShift()
throws PAModelException
getShift in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setShift(float[] sdeg)
throws PAModelException
setShift in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic ACBranch get(int index)
public int size()
public float getLTRating(int ndx)
throws PAModelException
getLTRating in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic float[] getLTRating()
throws PAModelException
getLTRating in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setLTRating(int ndx,
float mva)
throws PAModelException
setLTRating in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic void setLTRating(float[] mva)
throws PAModelException
setLTRating in interface ACBranchListIfc<ACBranch>PAModelExceptionpublic ACBranch getByID(java.lang.String id) throws PAModelException
getByID in interface BaseList<ACBranch>PAModelExceptionpublic boolean objEquals(int ndx,
java.lang.Object obj)
public java.util.Set<ColumnMeta> getColTypes()
getColTypes in interface BaseList<ACBranch>public ACBranchListIfc<? extends ACBranch> getBaseList()
public <R> R getColumnData(ColumnMeta col) throws PAModelException
getColumnData in interface BaseList<ACBranch>PAModelException