@ProviderType public interface TypedProperties extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperty(String name)
Determines whether this object contains the specified property name.
|
Boolean |
getBooleanProperty(String name)
Gets the
Boolean for the specified property name. |
Integer |
getIntegerProperty(String name)
Gets the
Integer value for the specified property name. |
Long |
getLongProperty(String name)
Gets the
Long value for the specified property name. |
Object |
getObjectProperty(String name)
Gets the object containing for the specified property name.
|
String |
getProperty(String name)
Gets the
String value for the specified property name. |
Set<String> |
propertyNames()
Gets the property names for this object.
|
Object |
remove(String key)
Removes the mapping for a key from this property container if it is present
|
Boolean |
setBooleanProperty(String name,
Boolean value)
Sets the
Boolean value for the specified property name. |
Integer |
setIntegerProperty(String name,
Integer value)
Sets the
Integer value for the specified property name. |
Long |
setLongProperty(String name,
Long value)
Sets the
Long value for the specified property name. |
Object |
setObjectProperty(String name,
Object value)
Sets the object for the specified property name.
|
Object |
setProperty(String name,
String value)
Sets the
String value for the specified property name. |
Map<String,Object> |
toUnmodifiableMap()
Gets a
Map object of all the properties. |
String getProperty(String name)
String value for the specified property name.name - the name of the propertyObject setProperty(String name, String value)
String value for the specified property name.name - the name of the propertyvalue - the value to set for the name propertyInteger getIntegerProperty(String name)
Integer value for the specified property name.name - the name of the propertynullInteger setIntegerProperty(String name, Integer value)
Integer value for the specified property name.name - the name of the propertyvalue - the value to set for the name propertynullLong getLongProperty(String name)
Long value for the specified property name.name - the name of the propertynullLong setLongProperty(String name, Long value)
Long value for the specified property name.name - the name of the propertyvalue - the value to set for the name propertynullBoolean getBooleanProperty(String name)
Boolean for the specified property name.name - the name of the propertyBoolean setBooleanProperty(String name, Boolean value)
Boolean value for the specified property name.name - the name of the propertyvalue - the boolean value to set for the name propertynullboolean containsProperty(String name)
name - the name of the property to search fortrue if the property is present, false otherwiseSet<String> propertyNames()
Object getObjectProperty(String name)
name - the name of the propertyObject setObjectProperty(String name, Object value)
name - the name of the propertyvalue - the value to setnullMap<String,Object> toUnmodifiableMap()
Map object of all the properties.Copyright 2019-2025 Solace Corporation. All rights reserved.