Switch to side-by-side view

--- a
+++ b/src/main/java/net/timbusproject/iermtoowl/Risk.java
@@ -0,0 +1,164 @@
+package net.timbusproject.iermtoowl;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+
+/**
+ * Created by miguel on 24-06-2014.
+ */
+@XmlRootElement(name="risk")
+@XmlAccessorType(XmlAccessType.FIELD)
+public class Risk {
+
+    private String id;
+    private String name;
+    private String likelihood;
+    private String potentialLoss;
+    private String strategicImpact;
+    private String customerImpact;
+    private String legalImpact;
+    private double maxRecoveryTime;
+    private double minRecoveryTime;
+    private String occurInResource;
+    private String occurInBusinessActivity;
+    private String riskCategory;
+
+    private Resource occurInResourceInstance;
+
+
+
+
+    public Risk(String id, String name, String likelihood, String potentialLoss, String strategicImpact
+            , String customerImpact, String legalImpact, double maxRecoveryTime, double minRecoveryTime
+            , String occurInResource, String occurInBusinessActivity, String riskCategory) {
+        this.customerImpact = customerImpact;
+        this.id = id;
+        this.legalImpact = legalImpact;
+        this.likelihood = likelihood;
+        this.maxRecoveryTime = maxRecoveryTime;
+        this.minRecoveryTime = minRecoveryTime;
+        this.potentialLoss = potentialLoss;
+        this.occurInBusinessActivity = occurInBusinessActivity;
+        this.occurInResource = occurInResource;
+        this.name = name;
+        this.strategicImpact = strategicImpact;
+        this.riskCategory = riskCategory;
+    }
+
+    public Risk(String id) {
+        this.id = id;
+    }
+
+    public Risk() {
+    }
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getLikelihood() {
+        return likelihood;
+    }
+
+    public void setLikelihood(String likelihood) {
+        this.likelihood = likelihood;
+    }
+
+    public String getPotentialLoss() {
+        return potentialLoss;
+    }
+
+    public void setPotentialLoss(String potentialLoss) {
+        this.potentialLoss = potentialLoss;
+    }
+
+    public String getStrategicImpact() {
+        return strategicImpact;
+    }
+
+    public void setStrategicImpact(String strategicImpact) {
+        this.strategicImpact = strategicImpact;
+    }
+
+    public String getCustomerImpact() {
+        return customerImpact;
+    }
+
+    public void setCustomerImpact(String customerImpact) {
+        this.customerImpact = customerImpact;
+    }
+
+    public String getLegalImpact() {
+        return legalImpact;
+    }
+
+    public void setLegalImpact(String legalImpact) {
+        this.legalImpact = legalImpact;
+    }
+
+    public double getMaxRecoveryTime() {
+        return maxRecoveryTime;
+    }
+
+    public void setMaxRecoveryTime(double maxRecoveryTime) {
+        this.maxRecoveryTime = maxRecoveryTime;
+    }
+
+    public double getMinRecoveryTime() {
+        return minRecoveryTime;
+    }
+
+    public void setMinRecoveryTime(double minRecoveryTime) {
+        this.minRecoveryTime = minRecoveryTime;
+    }
+
+    public String getOccurInResource() {
+        return occurInResource;
+    }
+
+    public void setOccurInResource(String occurInResource) {
+        this.occurInResource = occurInResource;
+    }
+
+    public String getOccurInBusinessActivity() {
+        return occurInBusinessActivity;
+    }
+
+    public void setOccurInBusinessActivity(String occurInBusinessActivity) {
+        this.occurInBusinessActivity = occurInBusinessActivity;
+    }
+
+    public String getRiskCategory() {
+        return riskCategory;
+    }
+
+    public void setRiskCategory(String riskCategory) {
+        this.riskCategory = riskCategory;
+    }
+
+    public Resource getOccurInResourceInstance() {
+        return occurInResourceInstance;
+    }
+
+    public void setOccurInResourceInstance(Resource occurInResourceInstance) {
+        this.occurInResourceInstance = occurInResourceInstance;
+    }
+
+    @Override
+    public String toString() {
+        return super.toString();
+    }
+}