1 57 58 package org.apache.wsif; 59 60 import java.util.Iterator ; 61 import java.util.Map ; 62 63 import javax.wsdl.Message; 64 65 113 public interface WSIFMessage extends java.io.Serializable , Cloneable { 114 117 public String getName(); 118 119 122 public void setName(String name); 123 124 128 public Iterator getPartNames(); 129 130 134 public Iterator getParts(); 135 136 141 public void setParts(Map sourceParts); 142 143 147 public Message getMessageDefinition(); 148 149 153 public void setMessageDefinition(Message msgDef); 154 155 public String getRepresentationStyle(); 156 public void setRepresentationStyle(String rStyle); 157 158 public Object getObjectPart(String name) throws WSIFException; 159 public Object getObjectPart(String name, Class sourceClass) 160 throws WSIFException; 161 public void setObjectPart(String name, Object part) throws WSIFException; 162 163 public char getCharPart(String name) throws WSIFException; 164 public byte getBytePart(String name) throws WSIFException; 165 public short getShortPart(String name) throws WSIFException; 166 public int getIntPart(String name) throws WSIFException; 167 public long getLongPart(String name) throws WSIFException; 168 public float getFloatPart(String name) throws WSIFException; 169 public double getDoublePart(String name) throws WSIFException; 170 public boolean getBooleanPart(String name) throws WSIFException; 171 172 public void setCharPart(String name, char charPart); 173 public void setBytePart(String name, byte bytePart); 174 public void setShortPart(String name, short shortPart); 175 public void setIntPart(String name, int intPart); 176 public void setLongPart(String name, long longPart); 177 public void setFloatPart(String name, float floatPart); 178 public void setDoublePart(String name, double doublePart); 179 public void setBooleanPart(String name, boolean booleanPart); 180 181 public Object clone() throws CloneNotSupportedException ; 182 } 183 | Popular Tags |