org.unitils.inject.util
Class ValueToRestore
java.lang.Object
org.unitils.inject.util.ValueToRestore
public class ValueToRestore
- extends java.lang.Object
Class for holding values that need to be restored after a test was performed. It also contains information
on how and where the value needs to be restored.
- Author:
- Filip Neven, Tim Ducheyne
|
Constructor Summary |
ValueToRestore(java.lang.Class<?> targetClass,
java.lang.String property,
java.lang.Class<?> fieldType,
PropertyAccess propertyAccess,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueToRestore
public ValueToRestore(java.lang.Class<?> targetClass,
java.lang.String property,
java.lang.Class<?> fieldType,
PropertyAccess propertyAccess,
java.lang.Object value)
getTargetClass
public java.lang.Class<?> getTargetClass()
getProperty
public java.lang.String getProperty()
getFieldType
public java.lang.Class<?> getFieldType()
getPropertyAccessType
public PropertyAccess getPropertyAccessType()
getValue
public java.lang.Object getValue()
Copyright © 2009. All Rights Reserved.