|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rocketsoftware.mvapi.utility.MVDynArray
public class MVDynArray
Models a Multivalued dynamic array.
Constructor Summary | |
---|---|
MVDynArray()
|
|
MVDynArray(java.lang.String array)
|
Method Summary | |
---|---|
java.lang.String |
insert(int attrNum,
int valNum,
int subValNum,
java.lang.String subValue)
Inserts a sub value into a dynamic array. |
java.lang.String |
insert(int attrNum,
int valNum,
java.lang.String value)
Inserts a value into a dynamic array. |
java.lang.String |
insert(int attrNum,
java.lang.String attribute)
Inserts an attribute into a dynamic array. |
int |
MVIndex(int start,
char c)
Returns an index into dynamic array after specified number of delimiters. |
java.lang.String |
replace(int attrNum,
int valNum,
int subValNum,
java.lang.String subValue)
Replaces a sub value in a dynamic array. |
java.lang.String |
replace(int attrNum,
int valNum,
java.lang.String value)
Replaces a value in a dynamic array. |
java.lang.String |
replace(int attrNum,
java.lang.String attribute)
Replaces an attribute in a dynamic array. |
void |
setArray(java.lang.String array)
Sets the dynamic array to the provided array string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MVDynArray(java.lang.String array)
public MVDynArray()
Method Detail |
---|
public void setArray(java.lang.String array)
array
- A String with embedded MV system delimiters AM, VM, SVM representing a dynamic array.public java.lang.String insert(int attrNum, int valNum, int subValNum, java.lang.String subValue)
attrNum
- 1-relative index of the attribute containing the value containing the subvalue to insertvalNum
- 1-relative index of the value containg the subvalue to insertsubValNum
- 1-relative index of the subvalue to insert
public java.lang.String insert(int attrNum, int valNum, java.lang.String value)
attrNum
- 1-relative index of the attribute containing the value containing the subvalue to insertvalNum
- 1-relative index of the value containg the subvalue to insert
public java.lang.String insert(int attrNum, java.lang.String attribute)
attrNum
- 1-relative index of the attribute containing the value containing the subvalue to insert
public java.lang.String replace(int attrNum, int valNum, int subValNum, java.lang.String subValue)
attrNum
- 1-relative index of the attribute containing the value containing the sub value to replacevalNum
- 1-relative index of the value containing the subvalue to replacesubValNum
- 1-relative index of the sub value to replace
public java.lang.String replace(int attrNum, int valNum, java.lang.String value)
attrNum
- 1-relative index of the attribute containing the value containing the subvalue to replacevalNum
- 1-relative index of the value containg the subvalue to replace
public java.lang.String replace(int attrNum, java.lang.String attribute)
attrNum
- 1-relative index of the attribute containing the value containing the subvalue to replace
public int MVIndex(int start, char c)
c
- character
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |