public static interface PropertiesAccessorMixin.PropertiesMutatorMixin extends Keys.MutableValues<String,String>
Keys.MutableKeys<K,V>, Keys.MutableValues<K,V>
Modifier and Type | Method and Description |
---|---|
default String |
put(Enum<?> aKey,
String aValue)
Adds the given element related to the given key.
|
default String |
put(Property aProperty)
Puts the key/value-pair from the provided
Property . |
default String |
putBoolean(Enum<?> aKey,
Boolean aValue)
Sets the
Boolean value for the property referred to by the
key. |
default String |
putBoolean(String aKey,
Boolean aValue)
Sets the
Boolean value for the property referred to by the
key. |
default String |
putByte(Enum<?> aKey,
Byte aValue)
Sets the
Byte value for the property referred to by the key. |
default String |
putByte(String aKey,
Byte aValue)
Sets the
Byte value for the property referred to by the key. |
default String |
putDouble(Enum<?> aKey,
Double aValue)
Sets the
Double value for the property referred to by the
key. |
default String |
putDouble(String aKey,
Double aValue)
Sets the
Double value for the property referred to by the
key. |
default String |
putFloat(Enum<?> aKey,
Float aValue)
Sets the
Float value for the property referred to by the key. |
default String |
putFloat(String aKey,
Float aValue)
Sets the
Float value for the property referred to by the key. |
default String |
putInteger(Enum<?> aKey,
Integer aValue)
Sets the
Integer value for the property referred to by the
key. |
default String |
putInteger(String aKey,
Integer aValue)
Sets the
Integer value for the property referred to by the
key. |
default String |
putLong(Enum<?> aKey,
Long aValue)
Sets the
Long value for the property referred to by the key. |
default String |
putLong(String aKey,
Long aValue)
Sets the
Long value for the property referred to by the key. |
default String |
putShort(Enum<?> aKey,
Short aValue)
Sets the
Short value for the property referred to by the key. |
default String |
putShort(String aKey,
Short aValue)
Sets the
Short value for the property referred to by the key. |
put
delete
containsKey, containsValue, get, keySet, use, values
default String put(Property aProperty)
Property
.aProperty
- The property's key/value to be inserted.default String put(Enum<?> aKey, String aValue)
Enum.toString()
method is used on the enumeration to resolve the enumeration to a
{link String} key.aKey
- The key for which to add the element.aValue
- The value to be related with the given key.default String putInteger(Enum<?> aKey, Integer aValue)
Integer
value for the property referred to by the
key. As property keys and values are of type String
, the
Integer
value is converted accordingly.
As the key passed is an enumeration, the Enum.toString()
method is used on the enumeration to resolve the enumeration to a
{link String} key.default String putShort(Enum<?> aKey, Short aValue)
Short
value for the property referred to by the key.
As property keys and values are of type String
, the
Short
value is converted accordingly.
As the key passed is an enumeration, the Enum.toString()
method is used on the enumeration to resolve the enumeration to a
{link String} key.default String putByte(Enum<?> aKey, Byte aValue)
Byte
value for the property referred to by the key.
As property keys and values are of type String
, the
Byte
value is converted accordingly.
As the key passed is an enumeration, the Enum.toString()
method is used on the enumeration to resolve the enumeration to a
{link String} key.default String putDouble(Enum<?> aKey, Double aValue)
Double
value for the property referred to by the
key. As property keys and values are of type String
, the
Double
value is converted accordingly.
As the key passed is an enumeration, the Enum.toString()
method is used on the enumeration to resolve the enumeration to a
{link String} key.default String putFloat(Enum<?> aKey, Float aValue)
Float
value for the property referred to by the key.
As property keys and values are of type String
, the
Float
value is converted accordingly.
As the key passed is an enumeration, the Enum.toString()
method is used on the enumeration to resolve the enumeration to a
{link String} key.default String putBoolean(Enum<?> aKey, Boolean aValue)
Boolean
value for the property referred to by the
key. As property keys and values are of type String
, the
Boolean
value is converted accordingly.
As the key passed is an enumeration, the Enum.toString()
method is used on the enumeration to resolve the enumeration to a
{link String} key.default String putLong(Enum<?> aKey, Long aValue)
Long
value for the property referred to by the key.
As property keys and values are of type String
, the
Long
value is converted accordingly.
As the key passed is an enumeration, the Enum.toString()
method is used on the enumeration to resolve the enumeration to a
{link String} key.Copyright © 2018. All rights reserved.