public class TwoTermDevList extends java.util.AbstractList<TwoTermDev> implements TwoTermDevListIfc<TwoTermDev>
TwoTermBaseList.TwoTermBase| Constructor and Description |
|---|
TwoTermDevList(TwoTermDevListIfc<? extends TwoTermDev> src) |
| Modifier and Type | Method and Description |
|---|---|
TwoTermDev |
get(int index) |
TwoTermDev |
getByID(java.lang.String id) |
TwoTermDev |
getByKey(int key) |
java.util.Set<ColumnMeta> |
getColTypes() |
<R> R |
getColumnData(ColumnMeta col) |
Bus[] |
getFromBus() |
Bus |
getFromBus(int ndx) |
float[] |
getFromP() |
float |
getFromP(int ndx) |
float[] |
getFromQ() |
float |
getFromQ(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() |
java.lang.String[] |
getName()
name of object
|
java.lang.String |
getName(int ndx) |
Bus[] |
getToBus() |
Bus |
getToBus(int ndx) |
float[] |
getToP() |
float |
getToP(int ndx) |
float[] |
getToQ() |
float |
getToQ(int ndx) |
boolean[] |
isInService() |
boolean |
isInService(int ndx) |
boolean |
objEquals(int ndx,
java.lang.Object obj) |
int |
objHash(int ndx) |
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 |
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 |
setName(int ndx,
java.lang.String name) |
void |
setName(java.lang.String[] name)
set name of object
|
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) |
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 TwoTermDevList(TwoTermDevListIfc<? extends TwoTermDev> src)
public int getKey(int ndx)
getKey in interface BaseList<TwoTermDev>public int[] getKeys()
getKeys in interface BaseList<TwoTermDev>public java.lang.String getID(int ndx)
throws PAModelException
getID in interface BaseList<TwoTermDev>PAModelExceptionpublic java.lang.String[] getID()
throws PAModelException
BaseListgetID in interface BaseList<TwoTermDev>PAModelExceptionpublic void setID(java.lang.String[] id)
throws PAModelException
BaseListsetID in interface BaseList<TwoTermDev>PAModelExceptionpublic void setID(int ndx,
java.lang.String id)
throws PAModelException
setID in interface BaseList<TwoTermDev>PAModelExceptionpublic java.lang.String getName(int ndx)
throws PAModelException
getName in interface BaseList<TwoTermDev>PAModelExceptionpublic void setName(int ndx,
java.lang.String name)
throws PAModelException
setName in interface BaseList<TwoTermDev>PAModelExceptionpublic java.lang.String[] getName()
throws PAModelException
BaseListgetName in interface BaseList<TwoTermDev>PAModelExceptionpublic void setName(java.lang.String[] name)
throws PAModelException
BaseListsetName in interface BaseList<TwoTermDev>PAModelExceptionpublic TwoTermDev getByKey(int key)
getByKey in interface BaseList<TwoTermDev>public ListMetaType getListMeta()
getListMeta in interface BaseList<TwoTermDev>public int getIndex(int ndx)
getIndex in interface BaseList<TwoTermDev>public Bus getFromBus(int ndx) throws PAModelException
getFromBus in interface TwoTermBaseList<TwoTermDev>PAModelExceptionpublic void setFromBus(int ndx,
Bus b)
throws PAModelException
setFromBus in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic Bus[] getFromBus() throws PAModelException
getFromBus in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setFromBus(Bus[] b) throws PAModelException
setFromBus in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic Bus getToBus(int ndx) throws PAModelException
getToBus in interface TwoTermBaseList<TwoTermDev>PAModelExceptionpublic void setToBus(int ndx,
Bus b)
throws PAModelException
setToBus in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic Bus[] getToBus() throws PAModelException
getToBus in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setToBus(Bus[] b) throws PAModelException
setToBus in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic boolean isInService(int ndx)
throws PAModelException
isInService in interface InServiceList<TwoTermDev>PAModelExceptionpublic void setInService(int ndx,
boolean state)
throws PAModelException
setInService in interface InServiceList<TwoTermDev>PAModelExceptionpublic boolean[] isInService()
throws PAModelException
isInService in interface InServiceList<TwoTermDev>PAModelExceptionpublic void setInService(boolean[] state)
throws PAModelException
setInService in interface InServiceList<TwoTermDev>PAModelExceptionpublic float getFromP(int ndx)
throws PAModelException
getFromP in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setFromP(int ndx,
float mw)
throws PAModelException
setFromP in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic float[] getFromP()
throws PAModelException
getFromP in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setFromP(float[] mw)
throws PAModelException
setFromP in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic float getFromQ(int ndx)
throws PAModelException
getFromQ in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setFromQ(int ndx,
float mvar)
throws PAModelException
setFromQ in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic float[] getFromQ()
throws PAModelException
getFromQ in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setFromQ(float[] mvar)
throws PAModelException
setFromQ in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic float getToP(int ndx)
throws PAModelException
getToP in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setToP(int ndx,
float mw)
throws PAModelException
setToP in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic float[] getToP()
throws PAModelException
getToP in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setToP(float[] mw)
throws PAModelException
setToP in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic float getToQ(int ndx)
throws PAModelException
getToQ in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setToQ(int ndx,
float mvar)
throws PAModelException
setToQ in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic float[] getToQ()
throws PAModelException
getToQ in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic void setToQ(float[] mvar)
throws PAModelException
setToQ in interface TwoTermDevListIfc<TwoTermDev>PAModelExceptionpublic TwoTermDev get(int index)
get in interface java.util.List<TwoTermDev>get in class java.util.AbstractList<TwoTermDev>public int size()
size in interface java.util.Collection<TwoTermDev>size in interface java.util.List<TwoTermDev>size in class java.util.AbstractCollection<TwoTermDev>public TwoTermDev getByID(java.lang.String id) throws PAModelException
getByID in interface BaseList<TwoTermDev>PAModelExceptionpublic boolean objEquals(int ndx,
java.lang.Object obj)
objEquals in interface BaseList<TwoTermDev>public int objHash(int ndx)
objHash in interface BaseList<TwoTermDev>public java.util.Set<ColumnMeta> getColTypes()
getColTypes in interface BaseList<TwoTermDev>public <R> R getColumnData(ColumnMeta col) throws PAModelException
getColumnData in interface BaseList<TwoTermDev>PAModelException