1 57 58 package org.apache.wsif.wsdl.extensions.jms; 59 60 import java.io.Serializable ; 61 62 import javax.wsdl.extensions.ExtensibilityElement; 63 import javax.xml.namespace.QName ; 64 65 72 public class JMSProperty implements ExtensibilityElement, Serializable { 73 74 private static final long serialVersionUID = 1L; 75 76 protected QName fieldElementType = JMSConstants.Q_ELEM_JMS_PROPERTY; 77 79 protected Boolean fieldRequired = null; 80 protected String fieldName; 81 protected String fieldPart; 82 83 86 public void setElementType(QName elementType) { 87 fieldElementType = elementType; 88 } 89 90 93 public QName getElementType() { 94 return fieldElementType; 95 } 96 97 100 public void setRequired(Boolean required) { 101 fieldRequired = required; 102 } 103 104 107 public Boolean getRequired() { 108 return fieldRequired; 109 } 110 111 115 public String getName() { 116 return fieldName; 117 } 118 119 123 public void setName(String name) { 124 this.fieldName = name; 125 } 126 127 131 public String getPart() { 132 return fieldPart; 133 } 134 135 139 public void setPart(String part) { 140 this.fieldPart = part; 141 } 142 143 public String toString() { 144 StringBuffer strBuf = new StringBuffer (super.toString()); 145 146 strBuf.append("\nJavaAddress (" + fieldElementType + "):"); 147 strBuf.append("\nrequired=" + fieldRequired); 148 149 strBuf.append("\nname=" + fieldName); 150 strBuf.append("\npart=" + fieldPart); 151 return strBuf.toString(); 152 } 153 } | Popular Tags |