1 19 20 package org.netbeans.modules.xml.wsdl.model.impl; 21 22 import org.netbeans.modules.xml.wsdl.model.Message; 23 import org.netbeans.modules.xml.wsdl.model.OperationParameter; 24 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 25 import org.netbeans.modules.xml.xam.dom.NamedComponentReference; 26 import org.w3c.dom.Element ; 27 28 32 public abstract class OperationParameterImpl extends NamedImpl implements OperationParameter { 33 34 35 public OperationParameterImpl(WSDLModel model, Element e) { 36 super(model, e); 37 } 38 39 public NamedComponentReference<Message> getMessage() { 40 return resolveGlobalReference(Message.class, WSDLAttribute.MESSAGE); 41 } 42 43 public void setMessage(NamedComponentReference<Message> message) { 44 setAttribute(MESSAGE_PROPERTY, WSDLAttribute.MESSAGE, message); 45 } 46 } 47 | Popular Tags |