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 JMSPropertyValue implements ExtensibilityElement, Serializable { 73 74 private static final long serialVersionUID = 1L; 75 76 protected QName fieldElementType = JMSConstants.Q_ELEM_JMS_PROPERTY_VALUE; 77 79 protected Boolean fieldRequired = null; 80 protected String fieldName; 81 protected QName fieldType; 82 protected String fieldValue; 83 84 87 public String getName() { 88 return fieldName; 89 } 90 91 public QName getType() { 92 return fieldType; 93 } 94 95 public String getValue() { 96 return fieldValue; 97 } 98 99 102 public void setName(String rhs) { 103 fieldName = rhs; 104 } 105 106 public void setType(QName rhs) { 107 fieldType = rhs; 108 } 109 110 public void setValue(String rhs) { 111 fieldValue = rhs; 112 } 113 114 117 public void setElementType(QName elementType) { 118 fieldElementType = elementType; 119 } 120 121 124 public QName getElementType() { 125 return fieldElementType; 126 } 127 128 131 public void setRequired(Boolean required) { 132 fieldRequired = required; 133 } 134 135 138 public Boolean getRequired() { 139 return fieldRequired; 140 } 141 142 public String toString() { 143 StringBuffer strBuf = new StringBuffer (super.toString()); 144 145 strBuf.append("\nJavaAddress (" + fieldElementType + "):"); 146 strBuf.append("\nrequired=" + fieldRequired); 147 148 strBuf.append("\nname=" + fieldName); 149 strBuf.append("\ntype=" + fieldType); 150 strBuf.append("\nvalue=" + fieldValue); 151 152 return strBuf.toString(); 153 } 154 } | Popular Tags |