summaryrefslogtreecommitdiffstats
path: root/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces')
-rw-r--r--sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/DataTypes.java37
-rw-r--r--sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/GetSetOnly.java27
-rw-r--r--sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/ListTypes.java27
-rw-r--r--sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/Primitives.java55
-rw-r--r--sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/SimpleNesting.java29
5 files changed, 175 insertions, 0 deletions
diff --git a/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/DataTypes.java b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/DataTypes.java
new file mode 100644
index 0000000000..3549fb0ead
--- /dev/null
+++ b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/DataTypes.java
@@ -0,0 +1,37 @@
+/**
+ *
+ * Copyright 2005 BEA Systems Inc.
+ * Copyright 2005 International Business Machines Corporation
+ *
+ * Licensed 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.tuscany.sdo.proxy.interfaces;
+
+import java.util.Date;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface DataTypes {
+ String getString();
+
+ void setString(String value);
+
+ byte[] getBytes();
+
+ void setBytes(byte[] value);
+
+ Date getDate();
+
+ void setDate(Date value);
+}
diff --git a/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/GetSetOnly.java b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/GetSetOnly.java
new file mode 100644
index 0000000000..da846c4938
--- /dev/null
+++ b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/GetSetOnly.java
@@ -0,0 +1,27 @@
+/**
+ *
+ * Copyright 2005 BEA Systems Inc.
+ * Copyright 2005 International Business Machines Corporation
+ *
+ * Licensed 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.tuscany.sdo.proxy.interfaces;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface GetSetOnly {
+ int getReadOnly();
+
+ void setWriteOnly(int value);
+}
diff --git a/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/ListTypes.java b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/ListTypes.java
new file mode 100644
index 0000000000..ea19f7ea36
--- /dev/null
+++ b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/ListTypes.java
@@ -0,0 +1,27 @@
+/**
+ *
+ * Copyright 2005 BEA Systems Inc.
+ * Copyright 2005 International Business Machines Corporation
+ *
+ * Licensed 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.tuscany.sdo.proxy.interfaces;
+
+import java.util.List;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface ListTypes {
+ List<Boolean> getBooleans();
+}
diff --git a/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/Primitives.java b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/Primitives.java
new file mode 100644
index 0000000000..257076c4a1
--- /dev/null
+++ b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/Primitives.java
@@ -0,0 +1,55 @@
+/**
+ *
+ * Copyright 2005 BEA Systems Inc.
+ * Copyright 2005 International Business Machines Corporation
+ *
+ * Licensed 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.tuscany.sdo.proxy.interfaces;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface Primitives {
+ boolean isBoolean();
+
+ void setBoolean(boolean value);
+
+ char getCharacter();
+
+ void setCharacter(char value);
+
+ byte getByte();
+
+ void setByte(byte value);
+
+ int getInt();
+
+ void setInt(int value);
+
+ short getShort();
+
+ void setShort(short value);
+
+ long getLong();
+
+ void setLong(long value);
+
+ float getFloat();
+
+ void setFloat(float value);
+
+ double getDouble();
+
+ void setDouble(double value);
+}
diff --git a/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/SimpleNesting.java b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/SimpleNesting.java
new file mode 100644
index 0000000000..c5db66fe64
--- /dev/null
+++ b/sandbox/jboynes/sdoproxy/src/test/java/org/apache/tuscany/sdo/proxy/interfaces/SimpleNesting.java
@@ -0,0 +1,29 @@
+/**
+ *
+ * Copyright 2005 BEA Systems Inc.
+ * Copyright 2005 International Business Machines Corporation
+ *
+ * Licensed 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.tuscany.sdo.proxy.interfaces;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface SimpleNesting {
+ Primitives getPrimitives();
+ void setPrimitives(Primitives primitives);
+
+ DataTypes getDataTypes();
+ void setDataTypes(DataTypes dataTypes);
+}