1 19 20 28 29 package org.netbeans.modules.websvc.customization.model.impl; 30 31 32 import org.netbeans.modules.xml.wsdl.model.WSDLComponent; 33 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 34 import org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor; 35 import org.netbeans.modules.xml.xam.Nameable; 36 import org.w3c.dom.Element ; 37 38 42 public abstract class NamedImpl extends CustomizationComponentImpl 43 implements Nameable<WSDLComponent>{ 44 45 46 public NamedImpl(WSDLModel model, Element e) { 47 super(model, e); 48 } 49 50 public void setName(String name) { 51 setAttribute(NAME_PROPERTY, CustomizationAttribute.NAME, name); 52 } 53 54 public String getName() { 55 return getAttribute(CustomizationAttribute.NAME); 56 } 57 } 58 | Popular Tags |