Merge "Reorder modifiers"
[so.git] / mso-catalog-db / src / main / java / org / openecomp / mso / db / catalog / beans / ModelRecipe.java
index 4af501a..4ba35f7 100644 (file)
@@ -1,6 +1,6 @@
 /*-
  * ============LICENSE_START=======================================================
- * OPENECOMP - MSO
+ * ONAP - SO
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
@@ -31,13 +31,13 @@ public class ModelRecipe extends MavenLikeVersioning implements Serializable {
        
        private int id;
        private Integer modelId;
-       private String action;
-       private String schemaVersion;
-       private String description;
-       private String orchestrationUri;
-       private String modelParamXSD;
+       private String action = null;
+       private String schemaVersion = null;
+       private String description = null;
+       private String orchestrationUri = null;
+       private String modelParamXSD = null;
        private Integer recipeTimeout;
-       private Timestamp created;
+       private Timestamp created = null;
 
        /**
         * @return the id
@@ -89,7 +89,7 @@ public class ModelRecipe extends MavenLikeVersioning implements Serializable {
        }
 
        /**
-        * @param versionStr the versionStr to set
+        * @param schemaVersion the versionStr to set
         */
        public void setSchemaVersion(String schemaVersion) {
                this.schemaVersion = schemaVersion;
@@ -169,12 +169,12 @@ public class ModelRecipe extends MavenLikeVersioning implements Serializable {
        public String toString() {
                StringBuilder sb = new StringBuilder();
                sb.append("ModelRecipe: ");
-               sb.append("modelId=" + modelId.toString());
-               sb.append(",action=" + action);
-               sb.append(",schemaVersion=" + schemaVersion);
-               sb.append(",orchestrationUri=" + orchestrationUri);
-               sb.append(",modelParamXSD=" + modelParamXSD);
-               sb.append(",recipeTimeout=" + recipeTimeout.toString());
+               sb.append("modelId=").append(modelId);
+               sb.append(",action=").append(action);
+               sb.append(",schemaVersion=").append(schemaVersion);
+               sb.append(",orchestrationUri=").append(orchestrationUri);
+               sb.append(",modelParamXSD=").append(modelParamXSD);
+               sb.append(",recipeTimeout=").append(recipeTimeout);
         if (created != null) {
                sb.append (",created=");
                sb.append (DateFormat.getInstance().format(created));