diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:49:01 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:49:01 +0000 |
commit | 3f5eda3adbea29aa8ad2cca5d300cef3f3a444a5 (patch) | |
tree | bf4948a55beed5a9ab64bc59caa1898703ce5e2b /pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/FloatProfileProperty.java | |
parent | 93d4e1db036224b937fc03fdb3ef0ea7bbaa25a2 (diff) | |
download | mocca-3f5eda3adbea29aa8ad2cca5d300cef3f3a444a5.tar.gz mocca-3f5eda3adbea29aa8ad2cca5d300cef3f3a444a5.tar.bz2 mocca-3f5eda3adbea29aa8ad2cca5d300cef3f3a444a5.zip |
Added Maven project for PDF-OVER 4.0 (Includes Spezification Diagramms)
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@2 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/FloatProfileProperty.java')
-rw-r--r-- | pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/FloatProfileProperty.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/FloatProfileProperty.java b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/FloatProfileProperty.java new file mode 100644 index 00000000..51c4089e --- /dev/null +++ b/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/FloatProfileProperty.java @@ -0,0 +1,30 @@ +package at.asit.pdfover.pdfsignator.profileproperties; + +import at.asit.pdfover.pdfsignator.InvalidPropertyTypeException; +import at.asit.pdfover.pdfsignator.InvalidPropertyValueException; + +public class FloatProfileProperty extends ProfileProperty { + /** + * Float value of property + */ + protected Float fvalue = null; + + /** + * Sets the float value of the Property + * @param value The float value + * @throws InvalidPropertyValueException + * @throws InvalidPropertyTypeException + */ + public void SetValue(float value) throws InvalidPropertyValueException, InvalidPropertyTypeException { + this.SetTextValue(Float.toString(value)); + this.fvalue = value; + } + + /** + * Gets the float value + * @return the float value of the property + */ + public Float GetValue() { + return this.fvalue; + } +} |