summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-07-27 19:01:20 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-07-27 19:01:20 +0000
commitd6d8f800c0fdbff51816ceb195791f497b7cf955 (patch)
treefcef80d6606d6ae06f991293affc184e81f874db /src/test/java
parenta2a953a955aca41f52c41822dd6adb8190e07c48 (diff)
Added more BigDecimal tests.
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/com/amazon/carbonado/stored/WithBigDecimalPk.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/test/java/com/amazon/carbonado/stored/WithBigDecimalPk.java b/src/test/java/com/amazon/carbonado/stored/WithBigDecimalPk.java
new file mode 100644
index 0000000..30ee64e
--- /dev/null
+++ b/src/test/java/com/amazon/carbonado/stored/WithBigDecimalPk.java
@@ -0,0 +1,37 @@
+/*
+ * Copyright 2008 Amazon Technologies, Inc. or its affiliates.
+ * Amazon, Amazon.com and Carbonado are trademarks or registered trademarks
+ * of Amazon Technologies, Inc. or its affiliates. All rights reserved.
+ *
+ * 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 com.amazon.carbonado.stored;
+
+import java.math.BigDecimal;
+
+import com.amazon.carbonado.*;
+
+/**
+ *
+ *
+ * @author Brian S O'Neill
+ */
+@PrimaryKey("id")
+public interface WithBigDecimalPk extends Storable {
+ BigDecimal getId();
+ void setId(BigDecimal number);
+
+ String getData();
+ void setData(String str);
+}