org.databene.commons.mutator
Class AnyMutator
java.lang.Object
org.databene.commons.mutator.AnyMutator
- All Implemented Interfaces:
- Mutator
public class AnyMutator
- extends java.lang.Object
- implements Mutator
Mutator implementation for graphs of any object types.
Created: 31.01.2008 20:15:11
- Since:
- 0.3.0
- Author:
- Volker Bergmann
|
Constructor Summary |
AnyMutator(java.lang.String path)
|
AnyMutator(java.lang.String path,
boolean strict)
|
|
Method Summary |
static
|
setValue(C target,
java.lang.String path,
V value)
|
static
|
setValue(C target,
java.lang.String path,
V value,
boolean strict)
|
void |
setValue(java.lang.Object target,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnyMutator
public AnyMutator(java.lang.String path)
AnyMutator
public AnyMutator(java.lang.String path,
boolean strict)
setValue
public void setValue(java.lang.Object target,
java.lang.Object value)
throws UpdateFailedException
- Specified by:
setValue in interface Mutator
- Throws:
UpdateFailedException
setValue
public static <C,V> void setValue(C target,
java.lang.String path,
V value)
setValue
public static <C,V> void setValue(C target,
java.lang.String path,
V value,
boolean strict)
Copyright © 2010. All Rights Reserved.