de.smartics.properties.api.core.annotations
Annotation Type PropertyMetaDataMethod


@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface PropertyMetaDataMethod

Declares a method to return meta data instead of a property value.

Per default methods with a name ending with PropertyDescriptor or PropertyKey return the de.smartics.properties.api.core.domain.PropertyDescriptor or de.smartics.properties.api.core.PropertyKey instead of the property value. If this naming convention should not be used, this annotation allows to explicitly specify the property whose meta data is requested.


Required Element Summary
 String value
          The name of the property the annotated method returns meta data for.
 

Element Detail

value

public abstract String value
The name of the property the annotated method returns meta data for. The type of meta data is determined by the return type of the method.



Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.