Initial OpenECOMP SDC commit
[sdc.git] / catalog-fe / src / main / java / org / openecomp / sdc / fe / impl / ImportMetadata.java
diff --git a/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/ImportMetadata.java b/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/ImportMetadata.java
new file mode 100644 (file)
index 0000000..0d0aa7b
--- /dev/null
@@ -0,0 +1,80 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * SDC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.sdc.fe.impl;
+
+public class ImportMetadata {
+
+       private String name;
+       private long size;
+       private String mime;
+       private String creator;
+       private String md5Checksum;
+
+       public ImportMetadata(String name, long size, String mime, String creator, String md5Checksum) {
+               super();
+               this.name = name;
+               this.size = size;
+               this.mime = mime;
+               this.creator = creator;
+               this.md5Checksum = md5Checksum;
+       }
+
+       public String getName() {
+               return name;
+       }
+
+       public void setName(String name) {
+               this.name = name;
+       }
+
+       public long getSize() {
+               return size;
+       }
+
+       public void setSize(long size) {
+               this.size = size;
+       }
+
+       public String getMime() {
+               return mime;
+       }
+
+       public void setMime(String mime) {
+               this.mime = mime;
+       }
+
+       public String getCreator() {
+               return creator;
+       }
+
+       public void setCreator(String creator) {
+               this.creator = creator;
+       }
+
+       public String getMd5Checksum() {
+               return md5Checksum;
+       }
+
+       public void setMd5Checksum(String md5Checksum) {
+               this.md5Checksum = md5Checksum;
+       }
+
+}