1 19 20 package org.netbeans.modules.xml.wsdl.model.impl; 21 22 import org.netbeans.modules.xml.wsdl.model.WSDLComponent; 23 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 24 import org.netbeans.modules.xml.wsdl.model.spi.WSDLComponentBase; 25 import org.netbeans.modules.xml.xam.Nameable; 26 import org.w3c.dom.Element ; 27 28 32 public abstract class NamedImpl extends WSDLComponentBase implements Nameable<WSDLComponent> { 33 34 35 public NamedImpl(WSDLModel model, Element e) { 36 super(model, e); 37 } 38 39 public void setName(String name) { 40 setAttribute(NAME_PROPERTY, WSDLAttribute.NAME, name); 41 } 42 43 public String getName() { 44 return getAttribute(WSDLAttribute.NAME); 45 } 46 47 } 48 | Popular Tags |