summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-08-07 14:52:00 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-08-07 14:52:00 +0000
commit94bf81d31e74a209d60f2fd4f1f20448770bf1a0 (patch)
treeee0a3ebc6e659360cbf822bf428034c33527ce39 /trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
parentef8b65e36085eb8d113620cb91ae1f0b2695eea2 (diff)
downloadpdf-over-94bf81d31e74a209d60f2fd4f1f20448770bf1a0.tar.gz
pdf-over-94bf81d31e74a209d60f2fd4f1f20448770bf1a0.tar.bz2
pdf-over-94bf81d31e74a209d60f2fd4f1f20448770bf1a0.zip
Refactoring
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12276 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java')
-rw-r--r--trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java117
1 files changed, 117 insertions, 0 deletions
diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
new file mode 100644
index 00000000..3fa9c7ce
--- /dev/null
+++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
@@ -0,0 +1,117 @@
+package at.asit.pdfover.signator;
+
+/**
+ * The Signature Parameter
+ */
+public abstract class SignatureParameter {
+
+ /**
+ * The Signature Position
+ * @uml.property name="signaturePosition"
+ * @uml.associationEnd
+ */
+ protected SignaturePosition signaturePosition = null;
+
+ /**
+ * The signature Device
+ */
+ protected String keyIdentifier = null;
+
+ /**
+ * The input document
+ * @uml.property name="documentSource"
+ * @uml.associationEnd
+ */
+ protected DocumentSource documentSource = null;
+
+ /**
+ * holds the collimating mark
+ * @uml.property name="collimark"
+ * @uml.associationEnd
+ */
+ protected Emblem emblem;
+
+ /**
+ * Getter of the property <tt>signaturePosition</tt>
+ * @return Returns the signaturePosition.
+ */
+ public SignaturePosition getSignaturePosition() {
+ return this.signaturePosition;
+ }
+
+ /**
+ * Setter of the property <tt>signaturePosition</tt>
+ * @param signaturePosition The signaturePosition to set.
+ */
+ public void setSignaturePosition(SignaturePosition signaturePosition) {
+ this.signaturePosition = signaturePosition;
+ }
+
+ /**
+ * Getter of the property <tt>keyIdentifier</tt>
+ * @return Returns the keyIdentifier.
+ */
+ public String getKeyIdentifier() {
+ return this.keyIdentifier;
+ }
+
+ /**
+ * Setter of the property <tt>keyIdentifier</tt>
+ * @param keyIdentifier The keyIdentifier to set.
+ */
+ public void setKeyIdentifier(String keyIdentifier) {
+ this.keyIdentifier = keyIdentifier;
+ }
+
+ /**
+ * Getter of the property <tt>documentSource</tt>
+ * @return Returns the documentSource.
+ */
+ public DocumentSource getInputDocument() {
+ return this.documentSource;
+ }
+
+ /**
+ * Setter of the property <tt>documentSource</tt>
+ * @param inputDocument The documentSource to set.
+ */
+ public void setInputDocument(DocumentSource inputDocument) {
+ this.documentSource = inputDocument;
+ }
+
+ /**
+ * Gets the Dimension to display the Placeholder
+ * @return the placeholder dimensions
+ */
+ public abstract SignatureDimension getPlaceholderDimension();
+
+ /**
+ * Gets the Emblem
+ * @return the Emblem
+ */
+ public Emblem getEmblem() {
+ return this.emblem;
+ }
+
+ /**
+ * Sets the Emblem
+ * @param emblem The new Emblem
+ */
+ public void setEmblem(Emblem emblem) {
+ this.emblem = emblem;
+ }
+
+ /**
+ * Sets generic properties
+ * @param key
+ * @param value
+ */
+ public abstract void setProperty(String key, String value);
+
+ /**
+ * Gets generic properties
+ * @param key
+ * @return associated value
+ */
+ public abstract String getProperty(String key);
+}