1 package org.openecomp.sdc.asdctool.enums;
3 public enum SchemaZipFileEnum {
5 DATA("data", "data-types", "dataTypes", "data_types", new String[]{}),
6 GROUPS("groups", "group-types", "groupTypes", "group_types", new String[]{"data.yml"}),
7 POLICIES("policies", "policy-types", "policyTypes","policy_types", new String[]{"data.yml"}),
8 RELATIONSHIPS("relationships","relationship-types","relationshipTypes", "relationship_types", new String[]{"capabilities.yml", "data.yml", "interfaces.yml"}),
9 ARTIFACTS("artifacts", "artifact-types", "artifactTypes", "artifact_types", new String[]{"data.yml"}),
10 CAPABILITIES("capabilities", "capability-types", "capabilityTypes", "capability_types" ,new String[]{"data.yml"}),
11 INTERFACES("interfaces", "interface-lifecycle-types", "interfaceLifecycleTypes", "interface_types", new String[]{"data.yml"});
13 private String fileName;
14 private String sourceFolderName;
15 private String sourceFileName;
16 private String collectionTitle;
17 private String[] importFileList;
19 private SchemaZipFileEnum(String fileName, String sourceFolderName, String sourceFileName, String collectionTitle,
20 String[] importFileList) {
21 this.fileName = fileName;
22 this.sourceFolderName = sourceFolderName;
23 this.sourceFileName = sourceFileName;
24 this.collectionTitle = collectionTitle;
25 this.importFileList = importFileList;
28 public String getFileName() {
32 public void setFileName(String fileName) {
33 this.fileName = fileName;
36 public String getSourceFolderName() {
37 return sourceFolderName;
40 public void setSourceFolderName(String sourceFolderName) {
41 this.sourceFolderName = sourceFolderName;
44 public String getSourceFileName() {
45 return sourceFileName;
48 public void setSourceFileName(String sourceFileName) {
49 this.sourceFileName = sourceFileName;
52 public String getCollectionTitle() {
53 return collectionTitle;
56 public void setCollectionTitle(String collectionTitle) {
57 this.collectionTitle = collectionTitle;
60 public String[] getImportFileList() {
61 return importFileList;
64 public void setImportFileList(String[] importFileList) {
65 this.importFileList = importFileList;