You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2010/06/13 00:45:43 UTC
svn commit: r954144 [5/9] - in /cayenne/main/trunk:
build-tools/cayenne-test-utilities/src/main/java/org/apache/cayenne/test/
build-tools/cayenne-test-utilities/src/main/java/org/apache/cayenne/test/jdbc/
build-tools/cayenne-test-utilities/src/main/jav...
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/PaintingInfo.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/PaintingInfo.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/PaintingInfo.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/PaintingInfo.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,24 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+
+package org.apache.cayenne.testdo.testmap;
+
+public class PaintingInfo extends org.apache.cayenne.testdo.testmap.auto._PaintingInfo {
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/PrimitivesTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/PrimitivesTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/PrimitivesTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/PrimitivesTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,25 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.testmap;
+
+import org.apache.cayenne.testdo.testmap.auto._PrimitivesTestEntity;
+
+public class PrimitivesTestEntity extends _PrimitivesTestEntity {
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ROArtist.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ROArtist.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ROArtist.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ROArtist.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,24 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+
+package org.apache.cayenne.testdo.testmap;
+
+public class ROArtist extends org.apache.cayenne.testdo.testmap.auto._ROArtist {
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ROPainting.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ROPainting.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ROPainting.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ROPainting.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,24 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+
+package org.apache.cayenne.testdo.testmap;
+
+public class ROPainting extends org.apache.cayenne.testdo.testmap.auto._ROPainting {
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/RWCompoundPainting.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/RWCompoundPainting.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/RWCompoundPainting.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/RWCompoundPainting.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,24 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+
+package org.apache.cayenne.testdo.testmap;
+
+public class RWCompoundPainting extends org.apache.cayenne.testdo.testmap.auto._RWCompoundPainting {
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ReturnTypesMap1.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ReturnTypesMap1.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ReturnTypesMap1.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ReturnTypesMap1.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,7 @@
+package org.apache.cayenne.testdo.testmap;
+
+import org.apache.cayenne.testdo.testmap.auto._ReturnTypesMap1;
+
+public class ReturnTypesMap1 extends _ReturnTypesMap1 {
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ReturnTypesMap2.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ReturnTypesMap2.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ReturnTypesMap2.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/ReturnTypesMap2.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,7 @@
+package org.apache.cayenne.testdo.testmap;
+
+import org.apache.cayenne.testdo.testmap.auto._ReturnTypesMap2;
+
+public class ReturnTypesMap2 extends _ReturnTypesMap2 {
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SerializableEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SerializableEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SerializableEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SerializableEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.testmap;
+
+import org.apache.cayenne.testdo.testmap.auto._SerializableEntity;
+
+public class SerializableEntity extends _SerializableEntity {
+
+}
+
+
+
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SmallintTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SmallintTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SmallintTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SmallintTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.testmap;
+
+import org.apache.cayenne.testdo.testmap.auto._SmallintTestEntity;
+
+public class SmallintTestEntity extends _SmallintTestEntity {
+
+}
+
+
+
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/StringET1.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/StringET1.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/StringET1.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/StringET1.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,35 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.testmap;
+
+/**
+ * A test extended type.
+ */
+public class StringET1 {
+
+ protected String string;
+
+ public StringET1(String string) {
+ this.string = string;
+ }
+
+ public String getString() {
+ return string;
+ }
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/StringET1ExtendedType.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/StringET1ExtendedType.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/StringET1ExtendedType.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/StringET1ExtendedType.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,58 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.testmap;
+
+import java.sql.CallableStatement;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+
+import org.apache.cayenne.access.types.ExtendedType;
+
+public class StringET1ExtendedType implements ExtendedType {
+
+ public String getClassName() {
+ return StringET1.class.getName();
+ }
+
+ public Object materializeObject(ResultSet rs, int index, int type) throws Exception {
+ String string = rs.getString(index);
+ return string != null ? new StringET1(string) : null;
+ }
+
+ public Object materializeObject(CallableStatement rs, int index, int type)
+ throws Exception {
+ String string = rs.getString(index);
+ return string != null ? new StringET1(string) : null;
+ }
+
+ public void setJdbcObject(
+ PreparedStatement statement,
+ Object value,
+ int pos,
+ int type,
+ int precision) throws Exception {
+
+ if (value instanceof StringET1) {
+ statement.setString(pos, ((StringET1) value).getString());
+ }
+ else {
+ statement.setNull(pos, type);
+ }
+ }
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SubPainting.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SubPainting.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SubPainting.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/SubPainting.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,24 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+
+package org.apache.cayenne.testdo.testmap;
+
+public class SubPainting extends org.apache.cayenne.testdo.testmap.auto._SubPainting {
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/Testmap.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/Testmap.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/Testmap.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/Testmap.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,36 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.testmap;
+
+import org.apache.cayenne.testdo.testmap.auto._Testmap;
+
+public class Testmap extends _Testmap {
+
+ private static Testmap instance;
+
+ private Testmap() {}
+
+ public static Testmap getInstance() {
+ if(instance == null) {
+ instance = new Testmap();
+ }
+
+ return instance;
+ }
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/TinyintTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/TinyintTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/TinyintTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/TinyintTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,28 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.testmap;
+
+import org.apache.cayenne.testdo.testmap.auto._TinyintTestEntity;
+
+public class TinyintTestEntity extends _TinyintTestEntity {
+
+}
+
+
+
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/UuidTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/UuidTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/UuidTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/UuidTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,25 @@
+/*****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ****************************************************************/
+package org.apache.cayenne.testdo.testmap;
+
+import org.apache.cayenne.testdo.testmap.auto._UuidTestEntity;
+
+public class UuidTestEntity extends _UuidTestEntity {
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArraysEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArraysEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArraysEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArraysEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,49 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _ArraysEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ArraysEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String BYTE_ARRAY_PROPERTY = "byteArray";
+ public static final String BYTE_WRAPPER_ARRAY_PROPERTY = "byteWrapperArray";
+ public static final String CHAR_ARRAY_PROPERTY = "charArray";
+ public static final String CHAR_WRAPPER_ARRAY_PROPERTY = "charWrapperArray";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setByteArray(byte[] byteArray) {
+ writeProperty("byteArray", byteArray);
+ }
+ public byte[] getByteArray() {
+ return (byte[])readProperty("byteArray");
+ }
+
+
+ public void setByteWrapperArray(Byte[] byteWrapperArray) {
+ writeProperty("byteWrapperArray", byteWrapperArray);
+ }
+ public Byte[] getByteWrapperArray() {
+ return (Byte[])readProperty("byteWrapperArray");
+ }
+
+
+ public void setCharArray(char[] charArray) {
+ writeProperty("charArray", charArray);
+ }
+ public char[] getCharArray() {
+ return (char[])readProperty("charArray");
+ }
+
+
+ public void setCharWrapperArray(Character[] charWrapperArray) {
+ writeProperty("charWrapperArray", charWrapperArray);
+ }
+ public Character[] getCharWrapperArray() {
+ return (Character[])readProperty("charWrapperArray");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtGroup.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtGroup.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtGroup.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtGroup.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,56 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _ArtGroup was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ArtGroup extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String NAME_PROPERTY = "name";
+ public static final String ARTIST_ARRAY_PROPERTY = "artistArray";
+ public static final String CHILD_GROUPS_ARRAY_PROPERTY = "childGroupsArray";
+ public static final String TO_PARENT_GROUP_PROPERTY = "toParentGroup";
+
+ public static final String GROUP_ID_PK_COLUMN = "GROUP_ID";
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+
+ public void addToArtistArray(org.apache.cayenne.testdo.testmap.Artist obj) {
+ addToManyTarget("artistArray", obj, true);
+ }
+ public void removeFromArtistArray(org.apache.cayenne.testdo.testmap.Artist obj) {
+ removeToManyTarget("artistArray", obj, true);
+ }
+ public java.util.List getArtistArray() {
+ return (java.util.List)readProperty("artistArray");
+ }
+
+
+ public void addToChildGroupsArray(org.apache.cayenne.testdo.testmap.ArtGroup obj) {
+ addToManyTarget("childGroupsArray", obj, true);
+ }
+ public void removeFromChildGroupsArray(org.apache.cayenne.testdo.testmap.ArtGroup obj) {
+ removeToManyTarget("childGroupsArray", obj, true);
+ }
+ public java.util.List getChildGroupsArray() {
+ return (java.util.List)readProperty("childGroupsArray");
+ }
+
+
+ public void setToParentGroup(org.apache.cayenne.testdo.testmap.ArtGroup toParentGroup) {
+ setToOneTarget("toParentGroup", toParentGroup, true);
+ }
+
+ public org.apache.cayenne.testdo.testmap.ArtGroup getToParentGroup() {
+ return (org.apache.cayenne.testdo.testmap.ArtGroup)readProperty("toParentGroup");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Artist.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Artist.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Artist.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Artist.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,77 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+import java.util.Date;
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.testmap.ArtGroup;
+import org.apache.cayenne.testdo.testmap.ArtistExhibit;
+import org.apache.cayenne.testdo.testmap.Painting;
+
+/**
+ * Class _Artist was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _Artist extends CayenneDataObject {
+
+ public static final String ARTIST_NAME_PROPERTY = "artistName";
+ public static final String DATE_OF_BIRTH_PROPERTY = "dateOfBirth";
+ public static final String ARTIST_EXHIBIT_ARRAY_PROPERTY = "artistExhibitArray";
+ public static final String GROUP_ARRAY_PROPERTY = "groupArray";
+ public static final String PAINTING_ARRAY_PROPERTY = "paintingArray";
+
+ public static final String ARTIST_ID_PK_COLUMN = "ARTIST_ID";
+
+ public void setArtistName(String artistName) {
+ writeProperty("artistName", artistName);
+ }
+ public String getArtistName() {
+ return (String)readProperty("artistName");
+ }
+
+ public void setDateOfBirth(Date dateOfBirth) {
+ writeProperty("dateOfBirth", dateOfBirth);
+ }
+ public Date getDateOfBirth() {
+ return (Date)readProperty("dateOfBirth");
+ }
+
+ public void addToArtistExhibitArray(ArtistExhibit obj) {
+ addToManyTarget("artistExhibitArray", obj, true);
+ }
+ public void removeFromArtistExhibitArray(ArtistExhibit obj) {
+ removeToManyTarget("artistExhibitArray", obj, true);
+ }
+ @SuppressWarnings("unchecked")
+ public List<ArtistExhibit> getArtistExhibitArray() {
+ return (List<ArtistExhibit>)readProperty("artistExhibitArray");
+ }
+
+
+ public void addToGroupArray(ArtGroup obj) {
+ addToManyTarget("groupArray", obj, true);
+ }
+ public void removeFromGroupArray(ArtGroup obj) {
+ removeToManyTarget("groupArray", obj, true);
+ }
+ @SuppressWarnings("unchecked")
+ public List<ArtGroup> getGroupArray() {
+ return (List<ArtGroup>)readProperty("groupArray");
+ }
+
+
+ public void addToPaintingArray(Painting obj) {
+ addToManyTarget("paintingArray", obj, true);
+ }
+ public void removeFromPaintingArray(Painting obj) {
+ removeToManyTarget("paintingArray", obj, true);
+ }
+ @SuppressWarnings("unchecked")
+ public List<Painting> getPaintingArray() {
+ return (List<Painting>)readProperty("paintingArray");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtistCallbackTest.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtistCallbackTest.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtistCallbackTest.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtistCallbackTest.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,30 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _ArtistCallbackTest was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ArtistCallbackTest extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String ARTIST_NAME_PROPERTY = "artistName";
+ public static final String DATE_OF_BIRTH_PROPERTY = "dateOfBirth";
+
+
+ public void setArtistName(String artistName) {
+ writeProperty("artistName", artistName);
+ }
+ public String getArtistName() {
+ return (String)readProperty("artistName");
+ }
+
+
+ public void setDateOfBirth(java.util.Date dateOfBirth) {
+ writeProperty("dateOfBirth", dateOfBirth);
+ }
+ public java.util.Date getDateOfBirth() {
+ return (java.util.Date)readProperty("dateOfBirth");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtistExhibit.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtistExhibit.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtistExhibit.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ArtistExhibit.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,34 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _ArtistExhibit was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ArtistExhibit extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String TO_ARTIST_PROPERTY = "toArtist";
+ public static final String TO_EXHIBIT_PROPERTY = "toExhibit";
+
+ public static final String ARTIST_ID_PK_COLUMN = "ARTIST_ID";
+ public static final String EXHIBIT_ID_PK_COLUMN = "EXHIBIT_ID";
+
+ public void setToArtist(org.apache.cayenne.testdo.testmap.Artist toArtist) {
+ setToOneTarget("toArtist", toArtist, true);
+ }
+
+ public org.apache.cayenne.testdo.testmap.Artist getToArtist() {
+ return (org.apache.cayenne.testdo.testmap.Artist)readProperty("toArtist");
+ }
+
+
+ public void setToExhibit(org.apache.cayenne.testdo.testmap.Exhibit toExhibit) {
+ setToOneTarget("toExhibit", toExhibit, true);
+ }
+
+ public org.apache.cayenne.testdo.testmap.Exhibit getToExhibit() {
+ return (org.apache.cayenne.testdo.testmap.Exhibit)readProperty("toExhibit");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BigDecimalEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BigDecimalEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BigDecimalEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BigDecimalEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,22 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _BigDecimalEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BigDecimalEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String BIG_DECIMAL_FIELD_PROPERTY = "bigDecimalField";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setBigDecimalField(java.math.BigDecimal bigDecimalField) {
+ writeProperty("bigDecimalField", bigDecimalField);
+ }
+ public java.math.BigDecimal getBigDecimalField() {
+ return (java.math.BigDecimal)readProperty("bigDecimalField");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BigIntegerEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BigIntegerEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BigIntegerEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BigIntegerEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,22 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _BigIntegerEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BigIntegerEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String BIG_INTEGER_FIELD_PROPERTY = "bigIntegerField";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setBigIntegerField(java.math.BigInteger bigIntegerField) {
+ writeProperty("bigIntegerField", bigIntegerField);
+ }
+ public java.math.BigInteger getBigIntegerField() {
+ return (java.math.BigInteger)readProperty("bigIntegerField");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BinaryPKTest1.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BinaryPKTest1.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BinaryPKTest1.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BinaryPKTest1.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,34 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _BinaryPKTest1 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BinaryPKTest1 extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String NAME_PROPERTY = "name";
+ public static final String BINARY_PKDETAILS_PROPERTY = "binaryPKDetails";
+
+ public static final String BIN_ID_PK_COLUMN = "BIN_ID";
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+
+ public void addToBinaryPKDetails(org.apache.cayenne.testdo.testmap.BinaryPKTest2 obj) {
+ addToManyTarget("binaryPKDetails", obj, true);
+ }
+ public void removeFromBinaryPKDetails(org.apache.cayenne.testdo.testmap.BinaryPKTest2 obj) {
+ removeToManyTarget("binaryPKDetails", obj, true);
+ }
+ public java.util.List getBinaryPKDetails() {
+ return (java.util.List)readProperty("binaryPKDetails");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BinaryPKTest2.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BinaryPKTest2.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BinaryPKTest2.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BinaryPKTest2.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,32 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _BinaryPKTest2 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BinaryPKTest2 extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String DETAIL_NAME_PROPERTY = "detailName";
+ public static final String TO_BINARY_PKMASTER_PROPERTY = "toBinaryPKMaster";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setDetailName(String detailName) {
+ writeProperty("detailName", detailName);
+ }
+ public String getDetailName() {
+ return (String)readProperty("detailName");
+ }
+
+
+ public void setToBinaryPKMaster(org.apache.cayenne.testdo.testmap.BinaryPKTest1 toBinaryPKMaster) {
+ setToOneTarget("toBinaryPKMaster", toBinaryPKMaster, true);
+ }
+
+ public org.apache.cayenne.testdo.testmap.BinaryPKTest1 getToBinaryPKMaster() {
+ return (org.apache.cayenne.testdo.testmap.BinaryPKTest1)readProperty("toBinaryPKMaster");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BitNumberTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BitNumberTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BitNumberTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BitNumberTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,22 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _BitNumberTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BitNumberTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String BIT_COLUMN_PROPERTY = "bitColumn";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setBitColumn(Integer bitColumn) {
+ writeProperty("bitColumn", bitColumn);
+ }
+ public Integer getBitColumn() {
+ return (Integer)readProperty("bitColumn");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BitTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BitTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BitTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BitTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,22 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _BitTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BitTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String BIT_COLUMN_PROPERTY = "bitColumn";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setBitColumn(Boolean bitColumn) {
+ writeProperty("bitColumn", bitColumn);
+ }
+ public Boolean getBitColumn() {
+ return (Boolean)readProperty("bitColumn");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BlobTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BlobTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BlobTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BlobTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,22 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _BlobTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BlobTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String BLOB_COL_PROPERTY = "blobCol";
+
+ public static final String BLOB_TEST_ID_PK_COLUMN = "BLOB_TEST_ID";
+
+ public void setBlobCol(byte[] blobCol) {
+ writeProperty("blobCol", blobCol);
+ }
+ public byte[] getBlobCol() {
+ return (byte[])readProperty("blobCol");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BooleanTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BooleanTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BooleanTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_BooleanTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,22 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _BooleanTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _BooleanTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String BOOLEAN_COLUMN_PROPERTY = "booleanColumn";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setBooleanColumn(Boolean booleanColumn) {
+ writeProperty("booleanColumn", booleanColumn);
+ }
+ public Boolean getBooleanColumn() {
+ return (Boolean)readProperty("booleanColumn");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CalendarEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CalendarEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CalendarEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CalendarEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,22 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _CalendarEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _CalendarEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String CALENDAR_FIELD_PROPERTY = "calendarField";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setCalendarField(java.util.Calendar calendarField) {
+ writeProperty("calendarField", calendarField);
+ }
+ public java.util.Calendar getCalendarField() {
+ return (java.util.Calendar)readProperty("calendarField");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharFkTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharFkTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharFkTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharFkTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,32 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _CharFkTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _CharFkTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String NAME_PROPERTY = "name";
+ public static final String TO_CHAR_PK_PROPERTY = "toCharPK";
+
+ public static final String PK_PK_COLUMN = "PK";
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+
+ public void setToCharPK(org.apache.cayenne.testdo.testmap.CharPkTestEntity toCharPK) {
+ setToOneTarget("toCharPK", toCharPK, true);
+ }
+
+ public org.apache.cayenne.testdo.testmap.CharPkTestEntity getToCharPK() {
+ return (org.apache.cayenne.testdo.testmap.CharPkTestEntity)readProperty("toCharPK");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharPkTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharPkTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharPkTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharPkTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,43 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _CharPkTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _CharPkTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String OTHER_COL_PROPERTY = "otherCol";
+ public static final String PK_COL_PROPERTY = "pkCol";
+ public static final String CHAR_FKS_PROPERTY = "charFKs";
+
+ public static final String PK_COL_PK_COLUMN = "PK_COL";
+
+ public void setOtherCol(String otherCol) {
+ writeProperty("otherCol", otherCol);
+ }
+ public String getOtherCol() {
+ return (String)readProperty("otherCol");
+ }
+
+
+ public void setPkCol(String pkCol) {
+ writeProperty("pkCol", pkCol);
+ }
+ public String getPkCol() {
+ return (String)readProperty("pkCol");
+ }
+
+
+ public void addToCharFKs(org.apache.cayenne.testdo.testmap.CharFkTestEntity obj) {
+ addToManyTarget("charFKs", obj, true);
+ }
+ public void removeFromCharFKs(org.apache.cayenne.testdo.testmap.CharFkTestEntity obj) {
+ removeToManyTarget("charFKs", obj, true);
+ }
+ public java.util.List getCharFKs() {
+ return (java.util.List)readProperty("charFKs");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharacterEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharacterEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharacterEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CharacterEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,22 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _CharacterEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _CharacterEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String CHARACTER_FIELD_PROPERTY = "characterField";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setCharacterField(Character characterField) {
+ writeProperty("characterField", characterField);
+ }
+ public Character getCharacterField() {
+ return (Character)readProperty("characterField");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ClobTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ClobTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ClobTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ClobTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,40 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+import java.util.List;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.testmap.ClobTestRelation;
+
+/**
+ * Class _ClobTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ClobTestEntity extends CayenneDataObject {
+
+ public static final String CLOB_COL_PROPERTY = "clobCol";
+ public static final String CLOB_VALUE_PROPERTY = "clobValue";
+
+ public static final String CLOB_TEST_ID_PK_COLUMN = "CLOB_TEST_ID";
+
+ public void setClobCol(String clobCol) {
+ writeProperty("clobCol", clobCol);
+ }
+ public String getClobCol() {
+ return (String)readProperty("clobCol");
+ }
+
+ public void addToClobValue(ClobTestRelation obj) {
+ addToManyTarget("clobValue", obj, true);
+ }
+ public void removeFromClobValue(ClobTestRelation obj) {
+ removeToManyTarget("clobValue", obj, true);
+ }
+ @SuppressWarnings("unchecked")
+ public List<ClobTestRelation> getClobValue() {
+ return (List<ClobTestRelation>)readProperty("clobValue");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ClobTestRelation.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ClobTestRelation.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ClobTestRelation.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ClobTestRelation.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,43 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.testmap.ClobTestEntity;
+
+/**
+ * Class _ClobTestRelation was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ClobTestRelation extends CayenneDataObject {
+
+ public static final String ID_PROPERTY = "id";
+ public static final String VALUE_PROPERTY = "value";
+ public static final String CLOB_ID_PROPERTY = "clobId";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setId(Integer id) {
+ writeProperty("id", id);
+ }
+ public Integer getId() {
+ return (Integer)readProperty("id");
+ }
+
+ public void setValue(Integer value) {
+ writeProperty("value", value);
+ }
+ public Integer getValue() {
+ return (Integer)readProperty("value");
+ }
+
+ public void setClobId(ClobTestEntity clobId) {
+ setToOneTarget("clobId", clobId, true);
+ }
+
+ public ClobTestEntity getClobId() {
+ return (ClobTestEntity)readProperty("clobId");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundFkTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundFkTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundFkTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundFkTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,32 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _CompoundFkTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _CompoundFkTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String NAME_PROPERTY = "name";
+ public static final String TO_COMPOUND_PK_PROPERTY = "toCompoundPk";
+
+ public static final String PKEY_PK_COLUMN = "PKEY";
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+
+ public void setToCompoundPk(org.apache.cayenne.testdo.testmap.CompoundPkTestEntity toCompoundPk) {
+ setToOneTarget("toCompoundPk", toCompoundPk, true);
+ }
+
+ public org.apache.cayenne.testdo.testmap.CompoundPkTestEntity getToCompoundPk() {
+ return (org.apache.cayenne.testdo.testmap.CompoundPkTestEntity)readProperty("toCompoundPk");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundPainting.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundPainting.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundPainting.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundPainting.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,91 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+import java.math.BigDecimal;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.testmap.Artist;
+import org.apache.cayenne.testdo.testmap.Gallery;
+import org.apache.cayenne.testdo.testmap.PaintingInfo;
+
+/**
+ * Class _CompoundPainting was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _CompoundPainting extends CayenneDataObject {
+
+ public static final String ARTIST_NAME_PROPERTY = "artistName";
+ public static final String ESTIMATED_PRICE_PROPERTY = "estimatedPrice";
+ public static final String GALLERY_NAME_PROPERTY = "galleryName";
+ public static final String PAINTING_TITLE_PROPERTY = "paintingTitle";
+ public static final String TEXT_REVIEW_PROPERTY = "textReview";
+ public static final String TO_ARTIST_PROPERTY = "toArtist";
+ public static final String TO_GALLERY_PROPERTY = "toGallery";
+ public static final String TO_PAINTING_INFO_PROPERTY = "toPaintingInfo";
+
+ public static final String PAINTING_ID_PK_COLUMN = "PAINTING_ID";
+
+ public void setArtistName(String artistName) {
+ writeProperty("artistName", artistName);
+ }
+ public String getArtistName() {
+ return (String)readProperty("artistName");
+ }
+
+ public void setEstimatedPrice(BigDecimal estimatedPrice) {
+ writeProperty("estimatedPrice", estimatedPrice);
+ }
+ public BigDecimal getEstimatedPrice() {
+ return (BigDecimal)readProperty("estimatedPrice");
+ }
+
+ public void setGalleryName(String galleryName) {
+ writeProperty("galleryName", galleryName);
+ }
+ public String getGalleryName() {
+ return (String)readProperty("galleryName");
+ }
+
+ public void setPaintingTitle(String paintingTitle) {
+ writeProperty("paintingTitle", paintingTitle);
+ }
+ public String getPaintingTitle() {
+ return (String)readProperty("paintingTitle");
+ }
+
+ public void setTextReview(String textReview) {
+ writeProperty("textReview", textReview);
+ }
+ public String getTextReview() {
+ return (String)readProperty("textReview");
+ }
+
+ public void setToArtist(Artist toArtist) {
+ setToOneTarget("toArtist", toArtist, true);
+ }
+
+ public Artist getToArtist() {
+ return (Artist)readProperty("toArtist");
+ }
+
+
+ public void setToGallery(Gallery toGallery) {
+ setToOneTarget("toGallery", toGallery, true);
+ }
+
+ public Gallery getToGallery() {
+ return (Gallery)readProperty("toGallery");
+ }
+
+
+ public void setToPaintingInfo(PaintingInfo toPaintingInfo) {
+ setToOneTarget("toPaintingInfo", toPaintingInfo, true);
+ }
+
+ public PaintingInfo getToPaintingInfo() {
+ return (PaintingInfo)readProperty("toPaintingInfo");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundPkTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundPkTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundPkTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_CompoundPkTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,53 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _CompoundPkTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _CompoundPkTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String KEY1_PROPERTY = "key1";
+ public static final String KEY2_PROPERTY = "key2";
+ public static final String NAME_PROPERTY = "name";
+ public static final String COMPOUND_FK_ARRAY_PROPERTY = "compoundFkArray";
+
+ public static final String KEY1_PK_COLUMN = "KEY1";
+ public static final String KEY2_PK_COLUMN = "KEY2";
+
+ public void setKey1(String key1) {
+ writeProperty("key1", key1);
+ }
+ public String getKey1() {
+ return (String)readProperty("key1");
+ }
+
+
+ public void setKey2(String key2) {
+ writeProperty("key2", key2);
+ }
+ public String getKey2() {
+ return (String)readProperty("key2");
+ }
+
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+
+ public void addToCompoundFkArray(org.apache.cayenne.testdo.testmap.CompoundFkTestEntity obj) {
+ addToManyTarget("compoundFkArray", obj, true);
+ }
+ public void removeFromCompoundFkArray(org.apache.cayenne.testdo.testmap.CompoundFkTestEntity obj) {
+ removeToManyTarget("compoundFkArray", obj, true);
+ }
+ public java.util.List getCompoundFkArray() {
+ return (java.util.List)readProperty("compoundFkArray");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DateTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DateTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DateTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DateTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,40 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _DateTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _DateTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String DATE_COLUMN_PROPERTY = "dateColumn";
+ public static final String TIME_COLUMN_PROPERTY = "timeColumn";
+ public static final String TIMESTAMP_COLUMN_PROPERTY = "timestampColumn";
+
+ public static final String DATE_TEST_ID_PK_COLUMN = "DATE_TEST_ID";
+
+ public void setDateColumn(java.util.Date dateColumn) {
+ writeProperty("dateColumn", dateColumn);
+ }
+ public java.util.Date getDateColumn() {
+ return (java.util.Date)readProperty("dateColumn");
+ }
+
+
+ public void setTimeColumn(java.util.Date timeColumn) {
+ writeProperty("timeColumn", timeColumn);
+ }
+ public java.util.Date getTimeColumn() {
+ return (java.util.Date)readProperty("timeColumn");
+ }
+
+
+ public void setTimestampColumn(java.util.Date timestampColumn) {
+ writeProperty("timestampColumn", timestampColumn);
+ }
+ public java.util.Date getTimestampColumn() {
+ return (java.util.Date)readProperty("timestampColumn");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DecimalPKTest1.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DecimalPKTest1.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DecimalPKTest1.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DecimalPKTest1.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,31 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _DecimalPKTest1 was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _DecimalPKTest1 extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String DECIMAL_PK_PROPERTY = "decimalPK";
+ public static final String NAME_PROPERTY = "name";
+
+ public static final String DECIMAL_PK_PK_COLUMN = "DECIMAL_PK";
+
+ public void setDecimalPK(Double decimalPK) {
+ writeProperty("decimalPK", decimalPK);
+ }
+ public Double getDecimalPK() {
+ return (Double)readProperty("decimalPK");
+ }
+
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DecimalPKTestEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DecimalPKTestEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DecimalPKTestEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_DecimalPKTestEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,31 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _DecimalPKTestEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _DecimalPKTestEntity extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String DECIMAL_PK_PROPERTY = "decimalPK";
+ public static final String NAME_PROPERTY = "name";
+
+ public static final String DECIMAL_PK_PK_COLUMN = "DECIMAL_PK";
+
+ public void setDecimalPK(java.math.BigDecimal decimalPK) {
+ writeProperty("decimalPK", decimalPK);
+ }
+ public java.math.BigDecimal getDecimalPK() {
+ return (java.math.BigDecimal)readProperty("decimalPK");
+ }
+
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_EnumEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_EnumEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_EnumEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_EnumEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,25 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.testmap.Enum1;
+
+/**
+ * Class _EnumEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _EnumEntity extends CayenneDataObject {
+
+ public static final String ENUM_ATTRIBUTE_PROPERTY = "enumAttribute";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setEnumAttribute(Enum1 enumAttribute) {
+ writeProperty("enumAttribute", enumAttribute);
+ }
+ public Enum1 getEnumAttribute() {
+ return (Enum1)readProperty("enumAttribute");
+ }
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Exhibit.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Exhibit.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Exhibit.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Exhibit.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,53 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _Exhibit was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _Exhibit extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String CLOSING_DATE_PROPERTY = "closingDate";
+ public static final String OPENING_DATE_PROPERTY = "openingDate";
+ public static final String ARTIST_EXHIBIT_ARRAY_PROPERTY = "artistExhibitArray";
+ public static final String TO_GALLERY_PROPERTY = "toGallery";
+
+ public static final String EXHIBIT_ID_PK_COLUMN = "EXHIBIT_ID";
+
+ public void setClosingDate(java.util.Date closingDate) {
+ writeProperty("closingDate", closingDate);
+ }
+ public java.util.Date getClosingDate() {
+ return (java.util.Date)readProperty("closingDate");
+ }
+
+
+ public void setOpeningDate(java.util.Date openingDate) {
+ writeProperty("openingDate", openingDate);
+ }
+ public java.util.Date getOpeningDate() {
+ return (java.util.Date)readProperty("openingDate");
+ }
+
+
+ public void addToArtistExhibitArray(org.apache.cayenne.testdo.testmap.ArtistExhibit obj) {
+ addToManyTarget("artistExhibitArray", obj, true);
+ }
+ public void removeFromArtistExhibitArray(org.apache.cayenne.testdo.testmap.ArtistExhibit obj) {
+ removeToManyTarget("artistExhibitArray", obj, true);
+ }
+ public java.util.List getArtistExhibitArray() {
+ return (java.util.List)readProperty("artistExhibitArray");
+ }
+
+
+ public void setToGallery(org.apache.cayenne.testdo.testmap.Gallery toGallery) {
+ setToOneTarget("toGallery", toGallery, true);
+ }
+
+ public org.apache.cayenne.testdo.testmap.Gallery getToGallery() {
+ return (org.apache.cayenne.testdo.testmap.Gallery)readProperty("toGallery");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ExtendedTypeEntity.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ExtendedTypeEntity.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ExtendedTypeEntity.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_ExtendedTypeEntity.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,25 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+import org.apache.cayenne.CayenneDataObject;
+import org.apache.cayenne.testdo.testmap.StringET1;
+
+/**
+ * Class _ExtendedTypeEntity was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _ExtendedTypeEntity extends CayenneDataObject {
+
+ public static final String NAME_PROPERTY = "name";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setName(StringET1 name) {
+ writeProperty("name", name);
+ }
+ public StringET1 getName() {
+ return (StringET1)readProperty("name");
+ }
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Gallery.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Gallery.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Gallery.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_Gallery.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,46 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _Gallery was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _Gallery extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String GALLERY_NAME_PROPERTY = "galleryName";
+ public static final String EXHIBIT_ARRAY_PROPERTY = "exhibitArray";
+ public static final String PAINTING_ARRAY_PROPERTY = "paintingArray";
+
+ public static final String GALLERY_ID_PK_COLUMN = "GALLERY_ID";
+
+ public void setGalleryName(String galleryName) {
+ writeProperty("galleryName", galleryName);
+ }
+ public String getGalleryName() {
+ return (String)readProperty("galleryName");
+ }
+
+
+ public void addToExhibitArray(org.apache.cayenne.testdo.testmap.Exhibit obj) {
+ addToManyTarget("exhibitArray", obj, true);
+ }
+ public void removeFromExhibitArray(org.apache.cayenne.testdo.testmap.Exhibit obj) {
+ removeToManyTarget("exhibitArray", obj, true);
+ }
+ public java.util.List getExhibitArray() {
+ return (java.util.List)readProperty("exhibitArray");
+ }
+
+
+ public void addToPaintingArray(org.apache.cayenne.testdo.testmap.Painting obj) {
+ addToManyTarget("paintingArray", obj, true);
+ }
+ public void removeFromPaintingArray(org.apache.cayenne.testdo.testmap.Painting obj) {
+ removeToManyTarget("paintingArray", obj, true);
+ }
+ public java.util.List getPaintingArray() {
+ return (java.util.List)readProperty("paintingArray");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_GeneratedColumnCompKey.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_GeneratedColumnCompKey.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_GeneratedColumnCompKey.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_GeneratedColumnCompKey.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,34 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _GeneratedColumnCompKey was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _GeneratedColumnCompKey extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String NAME_PROPERTY = "name";
+ public static final String TO_MASTER_PROPERTY = "toMaster";
+
+ public static final String AUTO_PK_PK_COLUMN = "AUTO_PK";
+ public static final String GENERATED_COLUMN_PK_COLUMN = "GENERATED_COLUMN";
+ public static final String PROPAGATED_PK_PK_COLUMN = "PROPAGATED_PK";
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+
+ public void setToMaster(org.apache.cayenne.testdo.testmap.GeneratedColumnCompMaster toMaster) {
+ setToOneTarget("toMaster", toMaster, true);
+ }
+
+ public org.apache.cayenne.testdo.testmap.GeneratedColumnCompMaster getToMaster() {
+ return (org.apache.cayenne.testdo.testmap.GeneratedColumnCompMaster)readProperty("toMaster");
+ }
+
+
+}
Added: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_GeneratedColumnCompMaster.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_GeneratedColumnCompMaster.java?rev=954144&view=auto
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_GeneratedColumnCompMaster.java (added)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo/testmap/auto/_GeneratedColumnCompMaster.java Sat Jun 12 22:45:31 2010
@@ -0,0 +1,34 @@
+package org.apache.cayenne.testdo.testmap.auto;
+
+/** Class _GeneratedColumnCompMaster was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public abstract class _GeneratedColumnCompMaster extends org.apache.cayenne.CayenneDataObject {
+
+ public static final String NAME_PROPERTY = "name";
+ public static final String TO_DETAIL_PROPERTY = "toDetail";
+
+ public static final String ID_PK_COLUMN = "ID";
+
+ public void setName(String name) {
+ writeProperty("name", name);
+ }
+ public String getName() {
+ return (String)readProperty("name");
+ }
+
+
+ public void addToToDetail(org.apache.cayenne.testdo.testmap.GeneratedColumnCompKey obj) {
+ addToManyTarget("toDetail", obj, true);
+ }
+ public void removeFromToDetail(org.apache.cayenne.testdo.testmap.GeneratedColumnCompKey obj) {
+ removeToManyTarget("toDetail", obj, true);
+ }
+ public java.util.List getToDetail() {
+ return (java.util.List)readProperty("toDetail");
+ }
+
+
+}