public class OneTermDevList extends java.util.AbstractList<OneTermDev> implements OneTermDevListIfc<OneTermDev>
OneTermBaseList.OneTermBase
Constructor and Description |
---|
OneTermDevList(OneTermDevListIfc<? extends OneTermDev> src) |
Modifier and Type | Method and Description |
---|---|
OneTermDev |
get(int index) |
Bus[] |
getBus() |
Bus |
getBus(int ndx) |
OneTermDev |
getByID(java.lang.String id) |
OneTermDev |
getByKey(int key) |
java.util.Set<ColumnMeta> |
getColTypes() |
<R> R |
getColumnData(ColumnMeta col) |
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) |
float[] |
getP() |
float |
getP(int ndx) |
float[] |
getQ() |
float |
getQ(int ndx) |
boolean[] |
isInService() |
boolean |
isInService(int ndx) |
boolean |
objEquals(int ndx,
java.lang.Object obj) |
int |
objHash(int ndx) |
void |
setBus(Bus[] b) |
void |
setBus(int ndx,
Bus b) |
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 |
setP(float[] p) |
void |
setP(int ndx,
float p) |
void |
setQ(float[] q) |
void |
setQ(int ndx,
float q) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
getBusIndexes
CalcListHash, getIndexes, getIndexesFromIDs, getIndexesFromKeys, reset, toArray
public OneTermDevList(OneTermDevListIfc<? extends OneTermDev> src)
public int getKey(int ndx)
getKey
in interface BaseList<OneTermDev>
public int[] getKeys()
getKeys
in interface BaseList<OneTermDev>
public java.lang.String getID(int ndx) throws PAModelException
getID
in interface BaseList<OneTermDev>
PAModelException
public java.lang.String[] getID() throws PAModelException
BaseList
getID
in interface BaseList<OneTermDev>
PAModelException
public void setID(java.lang.String[] id) throws PAModelException
BaseList
setID
in interface BaseList<OneTermDev>
PAModelException
public void setID(int ndx, java.lang.String id) throws PAModelException
setID
in interface BaseList<OneTermDev>
PAModelException
public java.lang.String getName(int ndx) throws PAModelException
getName
in interface BaseList<OneTermDev>
PAModelException
public void setName(int ndx, java.lang.String name) throws PAModelException
setName
in interface BaseList<OneTermDev>
PAModelException
public java.lang.String[] getName() throws PAModelException
BaseList
getName
in interface BaseList<OneTermDev>
PAModelException
public void setName(java.lang.String[] name) throws PAModelException
BaseList
setName
in interface BaseList<OneTermDev>
PAModelException
public OneTermDev getByKey(int key)
getByKey
in interface BaseList<OneTermDev>
public ListMetaType getListMeta()
getListMeta
in interface BaseList<OneTermDev>
public int getIndex(int ndx)
getIndex
in interface BaseList<OneTermDev>
public Bus getBus(int ndx) throws PAModelException
getBus
in interface OneTermBaseList<OneTermDev>
PAModelException
public void setBus(int ndx, Bus b) throws PAModelException
setBus
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public Bus[] getBus() throws PAModelException
getBus
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public void setBus(Bus[] b) throws PAModelException
setBus
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public float getP(int ndx) throws PAModelException
getP
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public void setP(int ndx, float p) throws PAModelException
setP
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public float[] getP() throws PAModelException
getP
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public void setP(float[] p) throws PAModelException
setP
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public float getQ(int ndx) throws PAModelException
getQ
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public void setQ(int ndx, float q) throws PAModelException
setQ
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public float[] getQ() throws PAModelException
getQ
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public void setQ(float[] q) throws PAModelException
setQ
in interface OneTermDevListIfc<OneTermDev>
PAModelException
public boolean isInService(int ndx) throws PAModelException
isInService
in interface InServiceList<OneTermDev>
PAModelException
public void setInService(int ndx, boolean state) throws PAModelException
setInService
in interface InServiceList<OneTermDev>
PAModelException
public boolean[] isInService() throws PAModelException
isInService
in interface InServiceList<OneTermDev>
PAModelException
public void setInService(boolean[] state) throws PAModelException
setInService
in interface InServiceList<OneTermDev>
PAModelException
public OneTermDev get(int index)
get
in interface java.util.List<OneTermDev>
get
in class java.util.AbstractList<OneTermDev>
public int size()
size
in interface java.util.Collection<OneTermDev>
size
in interface java.util.List<OneTermDev>
size
in class java.util.AbstractCollection<OneTermDev>
public OneTermDev getByID(java.lang.String id) throws PAModelException
getByID
in interface BaseList<OneTermDev>
PAModelException
public boolean objEquals(int ndx, java.lang.Object obj)
objEquals
in interface BaseList<OneTermDev>
public int objHash(int ndx)
objHash
in interface BaseList<OneTermDev>
public java.util.Set<ColumnMeta> getColTypes()
getColTypes
in interface BaseList<OneTermDev>
public <R> R getColumnData(ColumnMeta col) throws PAModelException
getColumnData
in interface BaseList<OneTermDev>
PAModelException