T
- Value type, same as in ValueEngineer
public interface PropertyProviding<T>
Modifier and Type | Interface and Description |
---|---|
static class |
PropertyProviding.UnsupportedPropertyException
Exception to be thrown in case of an unknown property was requested.
|
Modifier and Type | Field and Description |
---|---|
static ValueEngineerAspectType<PropertyProviding<?>> |
TYPE
Aspect for
ValueEngineer s providing means to provide properties. |
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(T value,
String name)
Provide a value for the property having the given name.
|
static final ValueEngineerAspectType<PropertyProviding<?>> TYPE
ValueEngineer
s providing means to provide properties.Object getProperty(T value, String name) throws PropertyProviding.UnsupportedPropertyException
value
- The value to base the property determination on.name
- The name of the property.PropertyProviding.UnsupportedPropertyException
- If there is no such property.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500