/*-
* ============LICENSE_START=======================================================
- * OPENECOMP - MSO
+ * ONAP - SO
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ================================================================================
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
}
/**
- * @param versionStr the versionStr to set
+ * @param schemaVersion the versionStr to set
*/
public void setSchemaVersion(String schemaVersion) {
this.schemaVersion = schemaVersion;
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));