<groupId>org.onap.sdc.jtosca</groupId>
        <artifactId>jtosca</artifactId>
-       <version>1.3.3-SNAPSHOT</version>
+       <version>1.3.4-SNAPSHOT</version>
         <name>sdc-jtosca</name>
        <properties>
 
 
                                ", metaData=" + metaData +
                                '}';
        }
+       
+       public int compareTo(Group other){
+               if(this.equals(other))
+                       return 0;
+               return this.getName().compareTo(other.getName()) == 0 ? this.getType().compareTo(other.getType()) : this.getName().compareTo(other.getName());
+       }
 }
 
 /*python
 
     private ArrayList<NodeTemplate> nodeTemplates;
     private ArrayList<Output> outputs;
        private ArrayList<Policy> policies;
+       private ArrayList<Group> groups;
     private ConcurrentHashMap<String,Object> nestedToscaTplsWithTopology;
     private ArrayList<TopologyTemplate> nestedToscaTemplatesWithTopology;
     private ToscaGraph graph;
                 this.nodeTemplates = _nodeTemplates();
                 this.outputs = _outputs();
                 this.policies = _policies();
+                this.groups = _groups();
 //                _handleNestedToscaTemplatesWithTopology();
                                _handleNestedToscaTemplatesWithTopology(topologyTemplate);
                 graph = new ToscaGraph(nodeTemplates);
        private ArrayList<Policy> _policies() {
                return topologyTemplate.getPolicies();
        }
+       
+       private ArrayList<Group> _groups() {
+               return topologyTemplate.getGroups();
+       }
 
        /**
         * This method is used to get consolidated custom definitions from all imports
                return policies;
        }
        
+       public ArrayList<Group> getGroups() {
+               return groups;
+       }
+       
        public ArrayList<NodeTemplate> getNodeTemplates() {
                return nodeTemplates;
        }