public class MFString extends MField
Constructor and Description |
---|
MFString()
Default constructor.
|
MFString(int size,
java.lang.String[] s)
Construct an MFString field.
|
MFString(java.lang.String[] s)
Construct an MFString field.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(ConstSFString s)
Add a new element at the end of the list.
|
void |
addValue(SFString s)
Add a new element at the end of the list.
|
void |
addValue(java.lang.String s)
Add a new element at the end of the list.
|
void |
clear()
Removes all fields from the MField.
|
void |
delete(int index)
Deletes a field from the MField.
|
java.lang.String |
get1Value(int index)
Retrieves a specific SFString element in an MFString and
returns it as a String.
|
int |
getSize()
Number of elements contained in the MField.
|
void |
getValue(java.lang.String[] s)
Retrieves the value of an MFString field.
|
void |
insertValue(int index,
ConstSFString s)
Insert a new element at the specified position.
|
void |
insertValue(int index,
SFString s)
Insert a new element at the specified position.
|
void |
insertValue(int index,
java.lang.String s)
Insert a new element at the specified position.
|
void |
set1Value(int index,
ConstSFString s)
Set a specified element in the field.
|
void |
set1Value(int index,
SFString s)
Set a specified element in the field.
|
void |
set1Value(int index,
java.lang.String s)
Set a specified element in the field.
|
void |
setValue(ConstMFString s)
Set the value of the field.
|
void |
setValue(int size,
java.lang.String[] s)
Set the value of the field.
|
void |
setValue(MFString s)
Set the value of the field.
|
void |
setValue(java.lang.String[] s)
Set the value of the field.
|
public MFString()
public MFString(int size, java.lang.String[] s)
size
- Number of Strings passed in.s
- Arrays of strings.public MFString(java.lang.String[] s)
s
- Arrays of strings.public int getSize()
MField
public void clear()
MField
public void delete(int index)
MField
public void getValue(java.lang.String[] s)
s
- Array of strings to be returned.public java.lang.String get1Value(int index)
index
- Position of desired SFStringpublic void setValue(java.lang.String[] s)
s
- New value for field.public void setValue(int size, java.lang.String[] s)
size
- Size of new value for field.s
- New value for field.public void setValue(MFString s)
s
- New value for field.public void setValue(ConstMFString s)
s
- New value for field.public void set1Value(int index, java.lang.String s)
index
- Position of element to update.s
- New value for element.public void set1Value(int index, ConstSFString s)
index
- Position of element to update.s
- New value for element.public void set1Value(int index, SFString s)
index
- Position of element to update.s
- New value for element.public void addValue(java.lang.String s)
s
- Element to add.public void addValue(ConstSFString s)
s
- Element to add.public void addValue(SFString s)
s
- Element to add.public void insertValue(int index, java.lang.String s)
index
- Position to insert new element at.s
- Value to insert.public void insertValue(int index, ConstSFString s)
index
- Position to insert new element at.s
- Value to insert.public void insertValue(int index, SFString s)
index
- Position to insert new element at.s
- Value to insert.