1 19 20 package org.netbeans.modules.websvc.wsitmodelext.security.proprietary.service.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.security.proprietary.LifeTime; 23 import org.netbeans.modules.websvc.wsitmodelext.security.proprietary.service.ProprietarySCServiceQName; 24 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 25 import org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor; 26 import org.w3c.dom.Element ; 27 28 32 public class LifeTimeServiceImpl extends ProprietarySCComponentServiceImpl implements LifeTime { 33 34 37 public LifeTimeServiceImpl(WSDLModel model, Element e) { 38 super(model, e); 39 } 40 41 public LifeTimeServiceImpl(WSDLModel model){ 42 this(model, createPrefixedElement(ProprietarySCServiceQName.LIFETIME.getQName(), model)); 43 } 44 45 public void setLifeTime(String time) { 46 setText(LIFETIME_CONTENT, time); 47 } 48 49 public String getLifeTime() { 50 return getText(); 51 } 52 53 @Override 54 public void accept(WSDLVisitor visitor) { 55 visitor.visit(this); 56 } 57 58 } 59 | Popular Tags |