public interface PropertyProcessing
Modifier and Type | Interface and Description |
---|---|
static class |
PropertyProcessing.InvalidValueException
Exception indicating that the value given is not valid for the targeted property.
|
static class |
PropertyProcessing.NoSuchPropertyException
Exception indicating that the requested propery is not available.
|
Modifier and Type | Field and Description |
---|---|
static AspectType<PropertyProcessing> |
TYPE
Aspect defining property processing objects.
|
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(String name)
Get the value for the property having the given
name . |
boolean |
setProperty(String name,
Object value)
Set the value for the property having the given
name . |
static final AspectType<PropertyProcessing> TYPE
@Nullable Object getProperty(String name) throws PropertyProcessing.NoSuchPropertyException
name
.name
- The property name.PropertyProcessing.NoSuchPropertyException
- If there is no property with the given name
.boolean setProperty(String name, Object value) throws PropertyProcessing.NoSuchPropertyException, PropertyProcessing.InvalidValueException
name
.name
- The property name.value
- The value to be stored.true
, if the property was set.PropertyProcessing.NoSuchPropertyException
- If there is no property with the given name
.PropertyProcessing.InvalidValueException
- If the value is inappropriate for the targeted property.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210