public interface PropertyManager
| Modifier and Type | Method and Description |
|---|---|
void |
clear(DialogObjectConstant dialogObject,
Property<?> property)
Clear the specified property of the specified dialog object.
|
void |
clearAll()
Clears all properties managed by this property manager.
|
void |
clearAll(DialogObjectConstant dialogConstant)
Clear all properties belonging to the specified dialog object.
|
<T> T |
getProperty(DialogObjectConstant dialogObject,
Property<T> property)
Get the specified property value.
|
boolean |
isPropertySet(DialogObjectConstant dialogObject,
Property<?> property)
Test if a property is set.
|
String |
listProperties()
List all properties managed by this property manager.
|
String |
listProperties(DialogObjectConstant dialogObject)
List all managed properties for the specified dialog object.
|
<T> void |
setProperty(DialogObjectConstant dialogObject,
Property<T> property,
T value)
Set the specified property.
|
<T> void setProperty(DialogObjectConstant dialogObject, Property<T> property, T value)
T - the property value typedialogObject - the dialog object whose property to set.property - the property to set.value - the property value.<T> T getProperty(DialogObjectConstant dialogObject, Property<T> property)
isPropertySet(DialogObjectConstant, Property) to
test if a property is set.T - the property value type.dialogObject - the dialog object whose property to get.property - the property to get.ClassCastException - if the actual property type does not match the
expected property value type.void clearAll()
void clearAll(DialogObjectConstant dialogConstant)
dialogConstant - the dialog object whose properties to clear.void clear(DialogObjectConstant dialogObject, Property<?> property)
dialogObject - the dialog object whose property to clear.property - the property to clear.String listProperties(DialogObjectConstant dialogObject)
dialogObject - the dialog object whose properties to get.String listProperties()
boolean isPropertySet(DialogObjectConstant dialogObject, Property<?> property)
dialogObject - the dialog object that possibly has the property set.property - the propertytrue if the property is set, otherwise
false.Copyright © 2006–2020 Esito AS. All rights reserved.