Commit 5227f816 authored by Alessio Carenini's avatar Alessio Carenini
Browse files

Added "name" attribute

parent df7f42f9
...@@ -52,6 +52,8 @@ public class Choreography { ...@@ -52,6 +52,8 @@ public class Choreography {
private String id; private String id;
private String name;
private String tenant; private String tenant;
private List<ServiceGroup> serviceGroups; private List<ServiceGroup> serviceGroups;
...@@ -96,6 +98,14 @@ public class Choreography { ...@@ -96,6 +98,14 @@ public class Choreography {
this.status = status; this.status = status;
} }
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public static Choreography create_new(String xml) throws JAXBException{ public static Choreography create_new(String xml) throws JAXBException{
JAXBContext context = JAXBContext.newInstance(Choreography.class); JAXBContext context = JAXBContext.newInstance(Choreography.class);
Unmarshaller unmarshaller = context.createUnmarshaller(); Unmarshaller unmarshaller = context.createUnmarshaller();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment