1 57 58 package org.apache.soap.rpc; 59 60 import java.io.*; 61 import java.util.*; 62 import org.w3c.dom.*; 63 import org.apache.soap.util.*; 64 import org.apache.soap.util.xml.*; 65 import org.apache.soap.*; 66 import org.apache.soap.encoding.*; 67 68 76 public class Parameter 77 { 78 private String name = null; 79 private Class type = null; 80 private Object value = null; 81 private String encodingStyleURI = null; 82 83 public Parameter(String name, 84 Class type, 85 Object value, 86 String encodingStyleURI) 87 { 88 this.name = name; 89 this.type = type; 90 this.value = value; 91 this.encodingStyleURI = encodingStyleURI; 92 } 93 94 public void setName(String name) 95 { 96 this.name = name; 97 } 98 99 public String getName() 100 { 101 return name; 102 } 103 104 public void setType(Class type) 105 { 106 this.type = type; 107 } 108 109 public Class getType() 110 { 111 return type; 112 } 113 114 public void setValue(Object value) 115 { 116 this.value = value; 117 } 118 119 public Object getValue() 120 { 121 return value; 122 } 123 124 public void setEncodingStyleURI(String encodingStyleURI) 125 { 126 this.encodingStyleURI = encodingStyleURI; 127 } 128 129 public String getEncodingStyleURI() 130 { 131 return encodingStyleURI; 132 } 133 134 public String toString() 135 { 136 return "[name=" + name + "] " + 137 "[type=" + type + "] " + 138 "[value=" + value + "] " + 139 "[encodingStyleURI=" + encodingStyleURI + "]"; 140 } 141 } 142 | Popular Tags |