aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java')
-rw-r--r--moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java26
1 files changed, 15 insertions, 11 deletions
diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java
index 7a25a97..4099d89 100644
--- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java
+++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java
@@ -21,7 +21,6 @@
* that you distribute must include a readable copy of the "NOTICE" text file.
*/
-
package at.gv.egovernment.moa.spss.api.impl;
import at.gv.egovernment.moa.spss.api.common.Content;
@@ -30,15 +29,16 @@ import at.gv.egovernment.moa.spss.api.xmlsign.DataObjectInfo;
/**
* Default implementation of <code>DataObjectInfo</code>.
- *
+ *
* @author Fatemeh Philippi
* @version $Id$
*/
public class DataObjectInfoImpl implements DataObjectInfo {
/** The signature structure type. */
private String stucture;
- /** Whether a reference will be placed in the signature itself or in the
- * manifest */
+ /**
+ * Whether a reference will be placed in the signature itself or in the manifest
+ */
private boolean childOfManifest;
/** The data object to be signed. */
private Content dataObject;
@@ -47,13 +47,14 @@ public class DataObjectInfoImpl implements DataObjectInfo {
/**
* Sets the signature structure type.
- *
+ *
* @param structure The signature structure type.
*/
public void setStructure(String structure) {
this.stucture = structure;
}
+ @Override
public String getStructure() {
return stucture;
}
@@ -61,41 +62,44 @@ public class DataObjectInfoImpl implements DataObjectInfo {
/**
* Sets whether a reference will be placed in the signature itself or in the
* manifest.
- *
- * @param childOfManifest Whether to put the reference in the signature of
- * in the manifest.
+ *
+ * @param childOfManifest Whether to put the reference in the signature of in
+ * the manifest.
*/
public void setChildOfManifest(boolean childOfManifest) {
this.childOfManifest = childOfManifest;
}
+ @Override
public boolean isChildOfManifest() {
return childOfManifest;
}
/**
* Sets the data object to be signed.
- *
+ *
* @param dataObject The data object to be signed.
*/
public void setDataObject(Content dataObject) {
this.dataObject = dataObject;
}
+ @Override
public Content getDataObject() {
return dataObject;
}
/**
* Sets additional information for the transformations.
- *
+ *
* @param profile The profile containing additional information for the
- * transformations.
+ * transformations.
*/
public void setCreateTransformsInfoProfile(CreateTransformsInfoProfile profile) {
this.createTransformsInfoProfile = profile;
}
+ @Override
public CreateTransformsInfoProfile getCreateTransformsInfoProfile() {
return createTransformsInfoProfile;
}