blob: 01a9bd013b457dfb76d6afd72d33cf1a93106a31 [file] [log] [blame]
/*
* Copyright (c) 1998, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// Oracle - initial API and implementation from Oracle TopLink
package org.eclipse.persistence.testing.tests.queries;
import java.math.*;
public class TestClass1 {
public String test1;
public String test2;
public BigDecimal pkey;
public TestClass1() {
super();
}
public BigDecimal getPkey() {
return pkey;
}
public String getTest1() {
return test1;
}
public String getTest2() {
return test2;
}
public void setPkey(BigDecimal thekey) {
pkey = thekey;
}
public void setTest1(String theFirstField) {
test1 = theFirstField;
}
public void setTest2(String theFirstField) {
test2 = theFirstField;
}
public static org.eclipse.persistence.tools.schemaframework.TableDefinition tableDefinition() {
org.eclipse.persistence.tools.schemaframework.TableDefinition definition = new org.eclipse.persistence.tools.schemaframework.TableDefinition();
definition.setName("TESTTABLE1");
definition.addIdentityField("PKEY", BigDecimal.class, 15);
definition.addField("FIRST_", String.class, 40);
definition.addField("SECOND_", String.class, 40);
return definition;
}
}