[MSO-8] Update the maven dependency
[so.git] / mso-catalog-db / src / main / java / org / openecomp / mso / db / catalog / beans / VfModule.java
index 505b3bb..a551ef8 100644 (file)
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -28,7 +28,7 @@ import java.text.DateFormat;
 import org.openecomp.mso.db.catalog.utils.MavenLikeVersioning;
 
 public class VfModule extends MavenLikeVersioning {
-       
+
        private int id;
        private Integer vnfResourceId;
        private String type;
@@ -40,35 +40,40 @@ public class VfModule extends MavenLikeVersioning {
        private Integer volEnvironmentId;
        private String description;
        private String asdcUuid;
-    private Timestamp created;  
+    private Timestamp created;
     private String modelInvariantUuid;
     private String modelVersion;
-    
+       private String modelCustomizationUuid = null;
+       private Integer minInstances;
+       private Integer maxInstances;
+       private Integer initialCount;
+       private String label;
+
     public VfModule() {
                super();
        }
-       
+
        public int getId(){
                return this.id;
        }
        public void setId(int id) {
                this.id = id;
        }
-       
+
        public Integer getVnfResourceId() {
                return this.vnfResourceId;
        }
        public void setVnfResourceId(Integer vnfResourceId) {
                this.vnfResourceId = vnfResourceId;
        }
-       
+
        public String getModelName() {
                return this.modelName;
        }
        public void setModelName(String modelName) {
                this.modelName = modelName;
        }
-               
+
        public String getType() {
                return type;
        }
@@ -90,14 +95,14 @@ public class VfModule extends MavenLikeVersioning {
                        return true;
                }
        }
-       
+
        public Integer getTemplateId() {
                return this.templateId;
        }
        public void setTemplateId(Integer templateId) {
                this.templateId = templateId;
        }
-       
+
        public Integer getEnvironmentId() {
                return this.environmentId;
        }
@@ -111,21 +116,21 @@ public class VfModule extends MavenLikeVersioning {
        public void setVolTemplateId(Integer volTemplateId) {
                this.volTemplateId = volTemplateId;
        }
-       
+
        public Integer getVolEnvironmentId() {
                return this.volEnvironmentId;
        }
        public void setVolEnvironmentId(Integer volEnvironmentId) {
                this.volEnvironmentId = volEnvironmentId;
        }
-       
+
        public String getDescription() {
                return this.description;
        }
        public void setDescription(String description) {
                this.description = description;
        }
-       
+
        public String getAsdcUuid() {
                return asdcUuid;
        }
@@ -133,7 +138,7 @@ public class VfModule extends MavenLikeVersioning {
        public void setAsdcUuid(String asdcUuidp) {
                this.asdcUuid = asdcUuidp;
        }
-    
+
        public Timestamp getCreated() {
                return created;
        }
@@ -147,19 +152,49 @@ public class VfModule extends MavenLikeVersioning {
        public void setModelInvariantUuid(String modelInvariantUuid) {
                this.modelInvariantUuid = modelInvariantUuid;
        }
-       
-       
+
+
        public String getModelVersion() {
                return this.modelVersion;
        }
        public void setModelVersion(String modelVersion) {
                this.modelVersion = modelVersion;
        }
-       
-    @Override
+       public String getModelCustomizationUuid() {
+               return this.modelCustomizationUuid;
+       }
+       public void setModelCustomizationUuid(String modelCustomizationUuid) {
+               this.modelCustomizationUuid = modelCustomizationUuid;
+       }
+       public Integer getMinInstances() {
+               return this.minInstances;
+       }
+       public void setMinInstances(Integer minInstances) {
+               this.minInstances = minInstances;
+       }
+       public Integer getMaxInstances() {
+               return this.maxInstances;
+       }
+       public void setMaxInstances(Integer maxInstances) {
+               this.maxInstances = maxInstances;
+       }
+       public Integer getInitialCount() {
+               return this.initialCount;
+       }
+       public void setInitialCount(Integer initialCount) {
+               this.initialCount = initialCount;
+       }
+       public String getLabel() {
+               return this.label;
+       }
+       public void setLabel(String label) {
+               this.label = label;
+       }
+
+       @Override
        public String toString () {
        StringBuffer buf = new StringBuffer();
-       
+
        buf.append("VF=");
        buf.append(this.type);
        buf.append(",modelName=");
@@ -184,12 +219,22 @@ public class VfModule extends MavenLikeVersioning {
        buf.append(asdcUuid);
        buf.append(",modelVersion=");
        buf.append(this.modelVersion);
-       
+       buf.append(",modelCustomizationUuid=");
+       buf.append(this.modelCustomizationUuid);
+       buf.append(",minInstances=");
+       buf.append(this.minInstances);
+       buf.append(",maxInstances=");
+       buf.append(this.maxInstances);
+       buf.append(",initialCount=");
+       buf.append(this.initialCount);
+       buf.append(",label=");
+       buf.append(this.label);
+
         if (this.created != null) {
                 buf.append (",created=");
                 buf.append (DateFormat.getInstance().format(this.created));
          }
        return buf.toString();
     }
-       
+
 }