C - The type of the component.V_ARRAY - The type of the property default value array.public class PropertyAttributeHelper<C,V_ARRAY> extends Object
| Constructor and Description |
|---|
PropertyAttributeHelper(ComponentContextImpl<C> componentContext,
org.everit.osgi.ecm.metadata.PropertyAttributeMetadata<V_ARRAY> attributeMetadata)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyValue(Object newValue)
Calls the setter of the property if it is available and the omponent is not failed.
|
org.everit.osgi.ecm.metadata.PropertyAttributeMetadata<V_ARRAY> |
getAttributeMetadata() |
public PropertyAttributeHelper(ComponentContextImpl<C> componentContext, org.everit.osgi.ecm.metadata.PropertyAttributeMetadata<V_ARRAY> attributeMetadata)
componentContext - Context of the component that the property belongs to.attributeMetadata - The metadata of the attribute.public void applyValue(Object newValue)
newValue - The new value of the property that is passed to the setter.public org.everit.osgi.ecm.metadata.PropertyAttributeMetadata<V_ARRAY> getAttributeMetadata()
Copyright © 2011–2015 Everit Kft.. All rights reserved.