|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.parameters.SCHArguments
public class SCHArguments
A Scheherazade-specific vector of objects that are to be interpeted as arguments by an SCHParameterSet
Field Summary | |
---|---|
static SCHArguments |
EMPTY
|
Constructor Summary | |
---|---|
SCHArguments()
Constructor with no arguments. |
|
SCHArguments(java.lang.Object argument0)
Constructor with one argument. |
|
SCHArguments(java.lang.Object argument0,
java.lang.Object argument1)
Constructor with two arguments. |
|
SCHArguments(java.lang.Object argument0,
java.lang.Object argument1,
java.lang.Object argument2)
Constructor with three arguments. |
|
SCHArguments(java.lang.Object argument0,
java.lang.Object argument1,
java.lang.Object argument2,
java.lang.Object argument3)
Constructor with four arguments. |
Method Summary | |
---|---|
void |
addArg(java.lang.Object argument)
|
void |
append(SCHArguments other)
|
void |
checkArgType(java.lang.Object argument)
Filter the kinds of objects that can go into an SCHArguments to avoid comparatively confusing DBCORE bad-argument errors later on |
boolean |
containsID(GenericScheherID target)
Determines if the arguments inlcude a particular GenericScheherID. |
java.util.Enumeration |
elements()
Returns an enumeration of the arguments |
java.lang.Object |
get(int index)
Returns a particular argument. |
java.util.Vector |
getVectorCopy()
Get a copy of the elements in the ArgumentVector as a Vector. |
void |
insertArg(int index,
java.lang.Object argument)
Insert an argument. |
SCHArguments |
makeClone()
|
void |
remove(int index)
Remove an argument. |
void |
removeFirstElements(int elementsToRemove)
Shift the vector, removing elements at the front. |
java.lang.StringBuffer |
render()
Render the argument vector to a StringBuffer. |
java.lang.StringBuffer |
render(int startIndex)
Render the argument vector to a StringBuffer starting at a certain element. |
void |
replaceArg(int index,
java.lang.Object argument)
Replace an argument. |
int |
size()
Return the number of arguments |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SCHArguments EMPTY
Constructor Detail |
---|
public SCHArguments()
public SCHArguments(java.lang.Object argument0) throws Scheherexception
Scheherexception
public SCHArguments(java.lang.Object argument0, java.lang.Object argument1) throws Scheherexception
Scheherexception
public SCHArguments(java.lang.Object argument0, java.lang.Object argument1, java.lang.Object argument2) throws Scheherexception
Scheherexception
public SCHArguments(java.lang.Object argument0, java.lang.Object argument1, java.lang.Object argument2, java.lang.Object argument3) throws Scheherexception
Scheherexception
Method Detail |
---|
public void checkArgType(java.lang.Object argument) throws Scheherexception
Scheherexception
public void addArg(java.lang.Object argument) throws Scheherexception
Scheherexception
public void append(SCHArguments other) throws Scheherexception
Scheherexception
public SCHArguments makeClone() throws Scheherexception
makeClone
in interface CloneableObject
Scheherexception
public void removeFirstElements(int elementsToRemove) throws Scheherexception
Scheherexception
public java.util.Vector getVectorCopy()
public java.util.Enumeration elements()
public void insertArg(int index, java.lang.Object argument) throws Scheherexception
Scheherexception
public void remove(int index) throws Scheherexception
Scheherexception
public void replaceArg(int index, java.lang.Object argument) throws Scheherexception
Scheherexception
public java.lang.Object get(int index) throws Scheherexception
Scheherexception
public java.lang.StringBuffer render() throws Scheherexception
render
in interface RenderableObject
Scheherexception
public java.lang.StringBuffer render(int startIndex) throws Scheherexception
Scheherexception
public int size()
public boolean containsID(GenericScheherID target) throws Scheherexception
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |