(ObjectGraphNode<T> node)
| 38 | public T value; |
| 39 | |
| 40 | public StateValue(ObjectGraphNode<T> node) { |
| 41 | this.node = node; |
| 42 | this.type = this.node.type; |
| 43 | // if (node.name.equals("Z")) { |
| 44 | // System.out.println("Z >>>> "+ String.valueOf(node.getCurrentValue())); |
| 45 | // System.out.println(String.valueOf(copyObject(node.getCurrentValue()))); |
| 46 | // } |
| 47 | value = copyObject(this.node.getCurrentValue()); |
| 48 | // System.out.print(node.parent != null ? node.parent.name + "." : ""); |
| 49 | // System.out.print(node.name); |
| 50 | // System.out.print("=="); |
| 51 | // System.out.println(value == null ? "NULL" : value.getClass().toString()); |
| 52 | } |
| 53 | |
| 54 | public void mergeValue(StateValue<T> previous) { |
| 55 | // Do nothing -- this is here in case it is necessary to implement partial changes |
nothing calls this directly
no test coverage detected