|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.api.settings.SettingValue<T>
public class SettingValue<T>
All possible value types are stored in JCR.
| Constructor Summary | |
|---|---|
SettingValue(T value)
Creates a setting value object with a specified value type. |
|
| Method Summary | |
|---|---|
static SettingValue<Boolean> |
create(Boolean value)
Creates a setting value object of the Boolean type. |
static SettingValue<Double> |
create(Double value)
Creates a setting value object of the Double type. |
static SettingValue<Long> |
create(Long value)
Creates a setting value object of the Long type. |
static SettingValue<String> |
create(String value)
Creates a setting value object of the String type. |
T |
getValue()
Gets the value of the setting object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SettingValue(T value)
value - The value type.| Method Detail |
|---|
public T getValue()
public static SettingValue<String> create(String value)
value - The String value.
public static SettingValue<Long> create(Long value)
value - The Long value.
public static SettingValue<Double> create(Double value)
value - The Double value.
public static SettingValue<Boolean> create(Boolean value)
value - The Boolean value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||