Catalog alignment
[sdc.git] / common-be / src / main / java / org / openecomp / sdc / be / datatypes / enums / OriginTypeEnum.java
index c7c576d..4839401 100644 (file)
@@ -33,12 +33,14 @@ public enum OriginTypeEnum {
     private String displayValue;
     private String instanceType;
     private ComponentTypeEnum componentType;
+       private boolean isAtomicType;
 
     OriginTypeEnum(String value, String displayValue, String instanceType, ComponentTypeEnum componentType, boolean isAtomicType) {
         this.value = value;
         this.displayValue = displayValue;
         this.instanceType = instanceType;
         this.componentType = componentType;
+               this.isAtomicType = isAtomicType;
     }
 
     public String getValue() {
@@ -57,6 +59,10 @@ public enum OriginTypeEnum {
         return componentType;
     }
 
+       public boolean isAtomicType() {
+               return isAtomicType;
+       }
+
     public static OriginTypeEnum findByValue(String value) {
         OriginTypeEnum ret = null;
         for (OriginTypeEnum curr : OriginTypeEnum.values()) {
@@ -67,4 +73,5 @@ public enum OriginTypeEnum {
         }
         return ret;
     }
+
 }