/*
* Copyright (C) 2008 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
* Created on 22. October 2008 by Joerg Schaible
*/
/**
* @author Joe Walnes
*/
package com.thoughtworks.acceptance.objects;
public class Original extends StandardObject {
String originalValue;
public Original() {
}
public Original(String originalValue) {
this.originalValue = originalValue;
}
private Object writeReplace() {
return new Replaced(originalValue.toUpperCase());
}
}