1 package org.objectweb.petals.tools.petalsadmin.utils; 2 3 import java.util.Set ; 4 import java.util.TreeSet ; 5 6 import javax.management.ObjectName ; 7 8 13 public class JBIEntity { 14 15 18 public static final String BINDING_COMPONENT = "Binding component"; 19 20 23 public static final String SERVICE_ENGINE = "Service engine"; 24 25 28 public static final String SERVICE_ASSEMBLY = "Service assembly"; 29 30 33 private String name; 34 35 38 private String state; 39 40 43 private String description; 44 45 48 private ObjectName objectName; 49 50 53 private Set <String > serviceUnits = new TreeSet <String >(); 54 55 58 private String type; 59 60 public String getName() { 61 return name; 62 } 63 64 public void setName(String name) { 65 this.name = name; 66 } 67 68 public String getState() { 69 return state; 70 } 71 72 public void setState(String state) { 73 this.state = state; 74 } 75 76 public String getDescription() { 77 return description; 78 } 79 80 public void setDescription(String description) { 81 this.description = description; 82 } 83 84 public ObjectName getObjectName() { 85 return objectName; 86 } 87 88 public void setObjectName(ObjectName objectName) { 89 this.objectName = objectName; 90 } 91 92 public String getType() { 93 return type; 94 } 95 96 public void setType(String type) { 97 this.type = type; 98 } 99 100 public Set <String > getServiceUnits() { 101 return serviceUnits; 102 } 103 104 public void setServiceUnits(Set <String > serviceUnits) { 105 this.serviceUnits = serviceUnits; 106 } 107 108 } 109 | Popular Tags |