1 package org.objectweb.celtix.bus.ws.addressing; 2 3 4 import org.objectweb.celtix.ws.addressing.AddressingProperties; 5 import org.objectweb.celtix.ws.addressing.AttributedURIType; 6 import org.objectweb.celtix.ws.addressing.EndpointReferenceType; 7 import org.objectweb.celtix.ws.addressing.RelatesToType; 8 9 10 13 public class AddressingPropertiesImpl implements AddressingProperties { 14 private AttributedURIType to; 15 private AttributedURIType messageID; 16 private EndpointReferenceType replyTo; 17 private EndpointReferenceType faultTo; 18 private RelatesToType relatesTo; 19 private AttributedURIType action; 20 private String namespaceURI; 21 22 25 public AddressingPropertiesImpl() { 26 this(Names.WSA_NAMESPACE_NAME); 27 } 28 29 34 public AddressingPropertiesImpl(String uri) { 35 namespaceURI = uri; 36 } 37 38 42 public AttributedURIType getTo() { 43 return to; 44 } 45 46 50 public void setTo(AttributedURIType iri) { 51 to = iri; 52 } 53 54 58 public AttributedURIType getMessageID() { 59 return messageID; 60 } 61 62 66 public void setMessageID(AttributedURIType iri) { 67 messageID = iri; 68 } 69 70 74 public EndpointReferenceType getReplyTo() { 75 return replyTo; 76 } 77 78 82 public void setReplyTo(EndpointReferenceType ref) { 83 replyTo = ref; 84 } 85 86 90 public EndpointReferenceType getFaultTo() { 91 return faultTo; 92 } 93 94 98 public void setFaultTo(EndpointReferenceType ref) { 99 faultTo = ref; 100 } 101 102 103 107 public RelatesToType getRelatesTo() { 108 return relatesTo; 109 } 110 111 115 public void setRelatesTo(RelatesToType rel) { 116 relatesTo = rel; 117 } 118 119 123 public AttributedURIType getAction() { 124 return action; 125 } 126 127 131 public void setAction(AttributedURIType iri) { 132 action = iri; 133 } 134 135 138 public String getNamespaceURI() { 139 return namespaceURI; 140 } 141 142 149 public void exposeAs(String uri) { 150 namespaceURI = uri; 151 } 152 } 153 | Popular Tags |