org.axonframework.common.property
Interface Property<T>

Type Parameters:
T - The type of object defining this property
All Known Implementing Classes:
MethodAccessedProperty

public interface Property<T>

Interface describing a mechanism that can read a predefined property from a given instance.

Since:
2.0
Author:
Maxim Fedorov, Allard Buijze

Method Summary
<V> V
getValue(T target)
          Returns the value of the property on given target.
 

Method Detail

getValue

<V> V getValue(T target)
Returns the value of the property on given target.

Type Parameters:
V - The type of value expected
Parameters:
target - The instance to get the property value from
Returns:
the property value on target


Copyright © 2010-2016. All Rights Reserved.