ComparableExt<Field>public class StringFieldExt extends StringField
StringField class for handling any strings.
This class is only for presentation purposes.
Memory container with fields of type StringFieldExt should not be written to ISF file
and it should not be read from ISF file, since it can generate ISF parser errors.| Constructor | Description |
|---|---|
StringFieldExt() |
Creates an empty field with empty string.
|
StringFieldExt(java.lang.String value) |
Creates new
StringField with given value. |
| Modifier and Type | Method | Description |
|---|---|---|
Field |
duplicate() |
Duplicates this field
|
void |
set(java.lang.String string) |
Changes the value of
StringFieldExt. |
isGenerated, setGeneratedcompareTo, isSimilarTo, isUnknown, setUnknownpublic StringFieldExt()
public StringFieldExt(java.lang.String value)
StringField with given value.
Any string is accepted here (besides null).value - new string to be setjava.lang.NullPointerException - when string value is nullset(String)public void set(java.lang.String string)
StringFieldExt.
When set is done field's value is known (result of isUnknown() is KNOWN).
In this method any String value is accepted, except null.set in class StringFieldstring - new value to be setjava.lang.NullPointerException - when string value is nullpublic Field duplicate()
duplicate in class StringFieldStringFieldExt object with the same value