/* * Copyright (c) 2014-2016 Red Hat, Inc. and/or its affiliates. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Cheng Fang - Initial API and implementation */ package org.jberet.samples.wildfly.deserialization; import java.io.Serializable; public final class Data1 implements Serializable { private static final long serialVersionUID = 1L; String value; public Data1(final String value) { this.value = value; } public String getValue() { return value; } public void setValue(final String value) { this.value = value; } @Override public String toString() { final StringBuilder sb = new StringBuilder("Data1{"); sb.append("value='").append(value).append('\''); sb.append('}'); return sb.toString(); } }