1 19 27 28 package org.netbeans.modules.websvc.customization.model.impl; 29 30 import java.util.Collections ; 31 import org.netbeans.modules.websvc.customization.model.JavaDoc; 32 import org.netbeans.modules.websvc.customization.model.JavaEntity; 33 import org.netbeans.modules.xml.wsdl.model.WSDLComponent; 34 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 35 import org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor; 36 37 import org.w3c.dom.Element ; 38 39 43 public abstract class JavaEntityImpl extends NamedImpl 44 implements JavaEntity{ 45 46 47 public JavaEntityImpl(WSDLModel model, Element e) { 48 super(model, e); 49 } 50 51 public void setJavaDoc(JavaDoc javaDoc) { 52 java.util.List <Class <? extends WSDLComponent>> classes = Collections.emptyList(); 53 setChild(JavaDoc.class, JAVADOC_PROPERTY, javaDoc, 54 classes); 55 } 56 57 public JavaDoc getJavaDoc() { 58 return getChild(JavaDoc.class); 59 } 60 61 public void removeJavaDoc(JavaDoc javaDoc) { 62 removeChild(JAVADOC_PROPERTY, javaDoc); 63 } 64 } 65 | Popular Tags |