|
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.policy.ProtocolRedirectIndexNameArray
public class ProtocolRedirectIndexNameArray
An array containing the logical name for the index of the redirectable Protocols' redirect strings.
| Method Summary | |
|---|---|
int |
add(java.lang.String name)
Adds a new index name. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
add a vetoable change listener: veto redirect set deletion |
java.lang.Object |
clone()
|
boolean |
contains(java.lang.String name)
Check is a certain name is assigned to an index. |
void |
fromStream(java.io.BufferedReader in,
Formatter f)
Method fromStream |
int |
getIndex(java.lang.String redirectIndexName)
Gets the index number the name is assigned to. |
java.lang.String[] |
getRedirectIndexNames()
Gets the names of the indeices in this ProtocolRedirectIndexNameArray. |
int |
getSize()
Gets the number of index names defined in the array. |
java.beans.VetoableChangeSupport |
getVetoableRemoveNotification()
|
int |
remove(java.lang.String name)
Removes the assignment of a certain name to an index. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
remove a votable change listener: veto notification deletion |
void |
set(java.lang.String name,
int index)
Sets an index name. |
void |
toStream(java.io.PrintStream out,
Formatter f)
Method toStream |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener - public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener - public java.beans.VetoableChangeSupport getVetoableRemoveNotification()
public int add(java.lang.String name)
throws DuplicateItemException,
ItemNotFoundException,
java.lang.IllegalArgumentException
name - the new index name
DuplicateItemException - if such a name is pre-assigned
ItemNotFoundException - if there are no indices free
java.lang.IllegalArgumentException - if the name is an empty Stringpublic java.lang.Object clone()
clone in class java.lang.ObjectObject.clone()public boolean contains(java.lang.String name)
name - the queried name
public void fromStream(java.io.BufferedReader in,
Formatter f)
throws ImportExportException
Formattable
fromStream in interface FormattableImportExportExceptionFormattable.fromStream(java.io.BufferedReader,
com.pcube.apps.engage.common.Formatter)public int getIndex(java.lang.String redirectIndexName)
redirectIndexName - the queried index name
public java.lang.String[] getRedirectIndexNames()
public int getSize()
public int remove(java.lang.String name)
throws ItemNotFoundException,
java.lang.IllegalArgumentException
name - the name assigned to a certain index
ItemNotFoundException - if the name is not assigned to any index
java.lang.IllegalArgumentException - if the name is assigned to an index used by a certain
ServiceElement
public void set(java.lang.String name,
int index)
throws DuplicateItemException,
ItemNotFoundException,
java.lang.IllegalArgumentException
name - the new index nameindex - the desired index
DuplicateItemException - if such a name is pre-assigned
ItemNotFoundException - if there is no such index (index out of bound)
java.lang.IllegalArgumentException - if the name is an empty String
public void toStream(java.io.PrintStream out,
Formatter f)
Formattable
toStream in interface FormattableFormattable.toStream(java.io.PrintStream,
com.pcube.apps.engage.common.Formatter)
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||