com.natpryce.makeiteasy
Class PropertyValue<T,V>

java.lang.Object
  extended by com.natpryce.makeiteasy.PropertyValue<T,V>
Type Parameters:
T - the type of object that has the property
V - the type of the value of the property

public class PropertyValue<T,V>
extends Object

The value of a property.


Constructor Summary
PropertyValue(Property<T,V> property, Donor<? extends V> valueDonor)
           
 
Method Summary
 Property<T,V> property()
          The property
 V value()
          The property's value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyValue

public PropertyValue(Property<T,V> property,
                     Donor<? extends V> valueDonor)
Method Detail

property

public Property<T,V> property()
The property


value

public V value()
The property's value



Copyright © 2010. All Rights Reserved.