aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/aai/sa/rest/BulkOperation.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/onap/aai/sa/rest/BulkOperation.java')
-rw-r--r--src/main/java/org/onap/aai/sa/rest/BulkOperation.java52
1 files changed, 25 insertions, 27 deletions
diff --git a/src/main/java/org/onap/aai/sa/rest/BulkOperation.java b/src/main/java/org/onap/aai/sa/rest/BulkOperation.java
index 41325e5..1490f97 100644
--- a/src/main/java/org/onap/aai/sa/rest/BulkOperation.java
+++ b/src/main/java/org/onap/aai/sa/rest/BulkOperation.java
@@ -21,41 +21,39 @@
package org.onap.aai.sa.rest;
/**
- * This class represents a single instance of an operation to be performed
- * as part of a bulk request.
+ * This class represents a single instance of an operation to be performed as part of a bulk request.
*/
public class BulkOperation {
- /**
- * Contains meta data to be passed to the document store for it
- * to perform the operation.
- */
- private BulkMetaData metaData;
+ /**
+ * Contains meta data to be passed to the document store for it to perform the operation.
+ */
+ private BulkMetaData metaData;
- /**
- * Contains the contents of the document to be acted on.
- */
- private Document document;
+ /**
+ * Contains the contents of the document to be acted on.
+ */
+ private Document document;
- public void setMetaData(BulkMetaData metaData) {
- this.metaData = metaData;
- }
+ public void setMetaData(BulkMetaData metaData) {
+ this.metaData = metaData;
+ }
- public BulkMetaData getMetaData() {
- return metaData;
- }
+ public BulkMetaData getMetaData() {
+ return metaData;
+ }
- public Document getDocument() {
- return document;
- }
+ public Document getDocument() {
+ return document;
+ }
- public void setDocument(Document document) {
- this.document = document;
- }
+ public void setDocument(Document document) {
+ this.document = document;
+ }
- @Override
- public String toString() {
- return "Operation: [" + metaData.toString() + ", " + document + "]";
- }
+ @Override
+ public String toString() {
+ return "Operation: [" + metaData.toString() + ", " + document + "]";
+ }
}