|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pcube.apps.engage.common.BWControllerArray
public class BWControllerArray
The array of bandwidth controlers. Bandwidth controllers in the array can be
modified so that the bandwidth accumulated by them will also be acumulated in
the total bandwidth controller.
BWController,
DeprecatedPackageData,
Serialized Form| Field Summary | |
|---|---|
static int |
DEFAULT_DOWNSTREAM_BWC_IDX
default up stream and down stream BWC index * |
static String |
DEFAULT_DOWNSTREAM_BWC_NAME
|
static int |
DEFAULT_UPSTREAM_BWC_IDX
|
static String |
DEFAULT_UPSTREAM_BWC_NAME
|
| Constructor Summary | |
|---|---|
BWControllerArray()
BWControllerArray Constructor. |
|
| Method Summary | |
|---|---|
int |
addNewBWController()
Adds an aggregated BWController. |
BWController |
addNewBWController(int index)
Adds an aggregated BWController in a specific index in the BWController array. |
Object |
clone()
Producing an identical object to this object. |
boolean |
contains(BWController item)
Checks if a certain BWController exists in this list. |
boolean |
contains(String bwcName)
Checks if an BWController with bears the specific name exists in this list. |
BWController |
findByName(String name)
find the BWC that has the specified name. |
void |
fromStream(BufferedReader in,
Formatter f)
Method fromStream |
BWController |
getAt(int index)
Gets the BWController this list has in a specific index. |
int |
getIndexOfItem(String name)
Gets the index of the BWController in this list which has the specific name. |
int |
getSize()
Gets the size of this list. |
com.pcube.apps.engage.foundations.VetoableCollectionChangeListener |
getVetoChangeListener()
|
boolean |
isBWCAdded(int bwcIndex)
Checks if the BWController in a specific index in the BWController array was added. |
Iterator |
iterator()
|
Iterator |
iterator(int direction)
|
ListIterator |
listIterator()
|
ListIterator |
listIterator(int direction)
|
void |
remove(int index)
Removes the BWController from a specific index in this list. |
void |
setValueFrom(BWControllerArray other)
Method setValueFrom |
void |
setVetoChangeListener(com.pcube.apps.engage.foundations.VetoableCollectionChangeListener vetoChangeListener)
Only a single listener is currently supported. |
void |
toStream(PrintStream out,
Formatter f)
Method toStream |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_DOWNSTREAM_BWC_IDX
public static final int DEFAULT_UPSTREAM_BWC_IDX
public static final String DEFAULT_DOWNSTREAM_BWC_NAME
public static final String DEFAULT_UPSTREAM_BWC_NAME
| Constructor Detail |
|---|
public BWControllerArray()
| Method Detail |
|---|
public Object clone()
clone in class Objectpublic boolean contains(BWController item)
item - the queried BWController
public boolean contains(String bwcName)
bwcName - the desired BWController's name
public void fromStream(BufferedReader in,
Formatter f)
throws ImportExportException
Formattable
fromStream in interface FormattableImportExportExceptionFormattable.fromStream(java.io.BufferedReader,
com.pcube.apps.engage.common.Formatter)
public BWController getAt(int index)
throws ItemNotFoundException
index - - the index of the desired BWController
ItemNotFoundExceptionpublic int getIndexOfItem(String name)
item - the desired BWController's name
public BWController findByName(String name)
name -
public int getSize()
public void setValueFrom(BWControllerArray other)
throws PropertyVetoException
other -
PropertyVetoException
public void toStream(PrintStream out,
Formatter f)
Formattable
toStream in interface FormattableFormattable.toStream(java.io.PrintStream,
com.pcube.apps.engage.common.Formatter)
public int addNewBWController()
throws com.pcube.apps.engage.foundations.CollectionVetoException
ItemNotFoundException - if there are no BWControllers left to add
com.pcube.apps.engage.foundations.CollectionVetoException
public BWController addNewBWController(int index)
throws com.pcube.apps.engage.foundations.CollectionVetoException
index - the added BWController index in the BWController array
ItemNotFoundException - if the index is out of bound
IllegalArgumentException - if the BWController in the index was already added
com.pcube.apps.engage.foundations.CollectionVetoException
public void remove(int index)
throws com.pcube.apps.engage.foundations.CollectionVetoException
index - the removed BWController's index in this list
ItemNotFoundException - if this list has no BWController with the desired values
com.pcube.apps.engage.foundations.CollectionVetoExceptionpublic boolean isBWCAdded(int bwcIndex)
bwcIndex - index of the BWController to check
ItemNotFoundException - if the index is out of boundpublic Iterator iterator()
public Iterator iterator(int direction)
public ListIterator listIterator(int direction)
direction -
public ListIterator listIterator()
public com.pcube.apps.engage.foundations.VetoableCollectionChangeListener getVetoChangeListener()
public void setVetoChangeListener(com.pcube.apps.engage.foundations.VetoableCollectionChangeListener vetoChangeListener)
vetoChangeListener - The vetoChangeListener to set.
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||