1 16 package org.objectweb.petals.component.common.wsdl; 17 18 import javax.jbi.messaging.MessageExchange.Role; 19 import javax.wsdl.extensions.ExtensibilityElement; 20 import javax.xml.namespace.QName ; 21 22 import java.io.Serializable ; 23 import java.net.URI ; 24 25 public class JbiEndpoint implements ExtensibilityElement, Serializable { 26 27 30 private static final long serialVersionUID = -3118867357618475968L; 31 32 protected Boolean required; 33 protected QName elementType; 34 35 protected Role role; 36 protected URI defaultMep; 37 protected QName defaultOperation; 38 39 42 public QName getElementType() { 43 return elementType; 44 } 45 48 public void setElementType(QName elementType) { 49 this.elementType = elementType; 50 } 51 54 public Boolean getRequired() { 55 return required; 56 } 57 60 public void setRequired(Boolean required) { 61 this.required = required; 62 } 63 public Role getRole() { 64 return role; 65 } 66 public void setRole(Role role) { 67 this.role = role; 68 } 69 72 public URI getDefaultMep() { 73 return defaultMep; 74 } 75 78 public void setDefaultMep(URI defaultMep) { 79 this.defaultMep = defaultMep; 80 } 81 82 85 public QName getDefaultOperation() { 86 return defaultOperation; 87 } 88 91 public void setDefaultOperation(QName defaultOperation) { 92 this.defaultOperation = defaultOperation; 93 } 94 95 public String toString() { 96 return "JbiEndpoint[" + 97 "required=" + required + ", " + 98 "elementType=" + elementType + ", " + 99 "role=" + role + ", " + 100 "defaultMep=" + defaultMep + "," + 101 "defaultOperation=" + defaultOperation + "]"; 102 } 103 104 } 105 | Popular Tags |