diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-01 09:10:42 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-01 09:10:42 +0000 |
commit | 67b6605775cecd7b769991cf922ed6109f6c0d8c (patch) | |
tree | 227aef7197553468eecaeef5f3aa19a51429f06a /Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/profileproperties/IntegerProfileProperty.java | |
parent | 7ada2b5aa5978e21d30b98735e19959e755bc37e (diff) | |
download | pdf-over-67b6605775cecd7b769991cf922ed6109f6c0d8c.tar.gz pdf-over-67b6605775cecd7b769991cf922ed6109f6c0d8c.tar.bz2 pdf-over-67b6605775cecd7b769991cf922ed6109f6c0d8c.zip |
PDF Signator Schnittstelle mit EUML2 in Eclipse für Codegenerierung
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12240 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/profileproperties/IntegerProfileProperty.java')
-rw-r--r-- | Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/profileproperties/IntegerProfileProperty.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/profileproperties/IntegerProfileProperty.java b/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/profileproperties/IntegerProfileProperty.java new file mode 100644 index 00000000..7bb91226 --- /dev/null +++ b/Spezifikation/PDFSignator Schnittstelle/src/at/asit/pdfover/pdfsignator/profileproperties/IntegerProfileProperty.java @@ -0,0 +1,31 @@ +package at.asit.pdfover.pdfsignator.profileproperties; + +import at.asit.pdfover.pdfsignator.InvalidPropertyTypeException; +import at.asit.pdfover.pdfsignator.InvalidPropertyValueException; + +public class IntegerProfileProperty extends ProfileProperty { + + /** + * Integer value of property + */ + protected Integer ivalue = null; + + /** + * Sets the integer value of the Property + * @param value The integer value + * @throws InvalidPropertyValueException + * @throws InvalidPropertyTypeException + */ + public void SetValue(int value) throws InvalidPropertyValueException, InvalidPropertyTypeException { + this.SetTextValue(Integer.toString(value)); + this.ivalue = value; + } + + /** + * Gets the integer value + * @return the integer value of the property + */ + public Integer GetValue() { + return this.ivalue; + } +} |