Replaced all tabs with spaces in java and pom.xml
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / bpmn / servicedecomposition / bbobjects / SegmentationAssignment.java
index a299f1e..c8136b2 100644 (file)
 package org.onap.so.bpmn.servicedecomposition.bbobjects;
 
 import java.io.Serializable;
-
 import com.fasterxml.jackson.annotation.JsonProperty;
 import com.fasterxml.jackson.annotation.JsonRootName;
 import org.apache.commons.lang3.builder.EqualsBuilder;
 import org.apache.commons.lang3.builder.HashCodeBuilder;
 import org.onap.so.bpmn.servicedecomposition.ShallowCopy;
-
 import javax.persistence.Id;
 
 @JsonRootName("segmentation-assignment")
-public class SegmentationAssignment implements Serializable, ShallowCopy<SegmentationAssignment>{
+public class SegmentationAssignment implements Serializable, ShallowCopy<SegmentationAssignment> {
 
-       private static final long serialVersionUID = 5751570091375657521L;
+    private static final long serialVersionUID = 5751570091375657521L;
 
-       @Id
-       @JsonProperty("segmentation-id")
+    @Id
+    @JsonProperty("segmentation-id")
     private String segmentationId;
 
-       public String getSegmentationId() {
-               return segmentationId;
-       }
-       public void setSegmentationId(String segmentationId) {
-               this.segmentationId = segmentationId;
-       }
-       @Override
-       public boolean equals(final Object other) {
-               if (!(other instanceof SegmentationAssignment)) {
-                       return false;
-               }
-               SegmentationAssignment castOther = (SegmentationAssignment) other;
-               return new EqualsBuilder().append(segmentationId, castOther.segmentationId).isEquals();
-       }
-       @Override
-       public int hashCode() {
-               return new HashCodeBuilder().append(segmentationId).toHashCode();
-       }
+    public String getSegmentationId() {
+        return segmentationId;
+    }
+
+    public void setSegmentationId(String segmentationId) {
+        this.segmentationId = segmentationId;
+    }
+
+    @Override
+    public boolean equals(final Object other) {
+        if (!(other instanceof SegmentationAssignment)) {
+            return false;
+        }
+        SegmentationAssignment castOther = (SegmentationAssignment) other;
+        return new EqualsBuilder().append(segmentationId, castOther.segmentationId).isEquals();
+    }
+
+    @Override
+    public int hashCode() {
+        return new HashCodeBuilder().append(segmentationId).toHashCode();
+    }
 }