aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/healthmarketscience/jackcess/complex/ComplexValueForeignKey.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/complex/ComplexValueForeignKey.java')
-rw-r--r--src/java/com/healthmarketscience/jackcess/complex/ComplexValueForeignKey.java14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/complex/ComplexValueForeignKey.java b/src/java/com/healthmarketscience/jackcess/complex/ComplexValueForeignKey.java
index 1b651cd..aeff8c9 100644
--- a/src/java/com/healthmarketscience/jackcess/complex/ComplexValueForeignKey.java
+++ b/src/java/com/healthmarketscience/jackcess/complex/ComplexValueForeignKey.java
@@ -95,11 +95,9 @@ public abstract class ComplexValueForeignKey extends Number
}
@Override
- public String toString()
- {
+ public String toString() {
return String.valueOf(get());
- }
-
+ }
public abstract int get();
@@ -138,6 +136,14 @@ public abstract class ComplexValueForeignKey extends Number
Date timeStamp, Integer flags)
throws IOException;
+ public abstract Attachment addEncodedAttachment(byte[] encodedData)
+ throws IOException;
+
+ public abstract Attachment addEncodedAttachment(
+ String url, String name, String type, byte[] encodedData,
+ Date timeStamp, Integer flags)
+ throws IOException;
+
public abstract Attachment updateAttachment(Attachment attachment)
throws IOException;