public class StringSetting extends AbstractSetting<java.lang.String>
String value.isNew, time, value| Constructor and Description |
|---|
StringSetting(java.lang.String value)
Constructs a new
StringSetting with the given value |
| Modifier and Type | Method and Description |
|---|---|
StringSetting |
copy()
Clone the current object.
|
boolean |
equals(java.lang.Object other) |
boolean |
equalVal(java.lang.String otherVal)
Check if the value of this Setting object is equal to the given value.
|
StringSetting |
getNullInstance()
Returns a setting whose value is null.
|
void |
visit(SettingVisitor visitor)
Enable usage of the visitor pattern.
|
public StringSetting(java.lang.String value)
StringSetting with the given valuevalue - The setting valuepublic boolean equalVal(java.lang.String otherVal)
SettingotherVal - the other valuepublic StringSetting copy()
Settingpublic void visit(SettingVisitor visitor)
Settingvisitor - the visitorpublic StringSetting getNullInstance()
SettingSetting.getValue()public boolean equals(java.lang.Object other)
equals in class AbstractSetting<java.lang.String>