@Override public ServletDef asyncSupported(boolean value) { servlet.getOrCreate("async-supported").text(value); return this; }
@Override public ApplicationDescriptor displayName(String displayName) { model.getOrCreate("display-name").text(displayName); return this; }
@Override public ApplicationDescriptor libraryDirectory(String libraryDirectory) { model.getOrCreate("library-directory").text(libraryDirectory); return this; }
/** * Sets the <code>ejb-name</code> element * @param ejbName the value for the element <code>ejb-name</code> * @return the current instance of <code>SessionBeanType<T></code> */ public SessionBeanType<T> ejbName(String ejbName) { childNode.getOrCreate("ejb-name").text(ejbName); return this; }
/** * Sets the <code>local</code> element * @param local the value for the element <code>local</code> * @return the current instance of <code>SessionBeanType<T></code> */ public SessionBeanType<T> local(String local) { childNode.getOrCreate("local").text(local); return this; }
/** * If not already created, a new <code>depends-on</code> element with the given value will be created. * Otherwise, the existing <code>depends-on</code> element will be returned. * @return a new or existing instance of <code>DependsOnType<SessionBeanType<T>></code> */ public DependsOnType<SessionBeanType<T>> getOrCreateDependsOn() { Node node = childNode.getOrCreate("depends-on"); DependsOnType<SessionBeanType<T>> dependsOn = new DependsOnTypeImpl<SessionBeanType<T>>(this, "depends-on", childNode, node); return dependsOn; }
/** * Sets the <code>transaction-type</code> element * @param transactionType the value for the element <code>transaction-type</code> * @return the current instance of <code>SessionBeanType<T></code> */ public SessionBeanType<T> transactionType(TransactionTypeType transactionType) { childNode.getOrCreate("transaction-type").text(transactionType); return this; } /**
/** * If not already created, a new <code>before-completion-method</code> element with the given value will be created. * Otherwise, the existing <code>before-completion-method</code> element will be returned. * @return a new or existing instance of <code>NamedMethodType<SessionBeanType<T>></code> */ public NamedMethodType<SessionBeanType<T>> getOrCreateBeforeCompletionMethod() { Node node = childNode.getOrCreate("before-completion-method"); NamedMethodType<SessionBeanType<T>> beforeCompletionMethod = new NamedMethodTypeImpl<SessionBeanType<T>>(this, "before-completion-method", childNode, node); return beforeCompletionMethod; }
/** * Sets the <code>function-name</code> element * @param functionName the value for the element <code>function-name</code> * @return the current instance of <code>FaceletTaglibFunctionType<T></code> */ public FaceletTaglibFunctionType<T> functionName(String functionName) { childNode.getOrCreate("function-name").text(functionName); return this; }
/** * Sets the <code>timeout</code> element * @param timeout the value for the element <code>timeout</code> * @return the current instance of <code>StatefulTimeoutType<T></code> */ public StatefulTimeoutType<T> timeout(Integer timeout) { childNode.getOrCreate("timeout").text(timeout); return this; }
/** * If not already created, a new <code>license</code> element with the given value will be created. * Otherwise, the existing <code>license</code> element will be returned. * @return a new or existing instance of <code>LicenseType<ConnectorDescriptor></code> */ public LicenseType<ConnectorDescriptor> getOrCreateLicense() { Node node = model.getOrCreate("license"); LicenseType<ConnectorDescriptor> license = new LicenseTypeImpl<ConnectorDescriptor>(this, "license", model, node); return license; }
/** * Sets the <code>renderer-type</code> element * @param rendererType the value for the element <code>renderer-type</code> * @return the current instance of <code>FaceletTaglibTagComponentType<T></code> */ public FaceletTaglibTagComponentType<T> rendererType(String rendererType) { childNode.getOrCreate("renderer-type").text(rendererType); return this; }
/** * Sets the <code>required</code> element * @param required the value for the element <code>required</code> * @return the current instance of <code>FaceletTaglibTagAttributeType<T></code> */ public FaceletTaglibTagAttributeType<T> required(GenericBooleanType required) { childNode.getOrCreate("required").text(required); return this; } /**
/** * Sets the <code>required</code> element * @param required the value for the element <code>required</code> * @return the current instance of <code>FaceletTaglibTagAttributeType<T></code> */ public FaceletTaglibTagAttributeType<T> required(String required) { childNode.getOrCreate("required").text(required); return this; }
/** * Sets the <code>messagelistener-type</code> element * @param messagelistenerType the value for the element <code>messagelistener-type</code> * @return the current instance of <code>MessagelistenerType<T></code> */ public MessagelistenerType<T> messagelistenerType(String messagelistenerType) { childNode.getOrCreate("messagelistener-type").text(messagelistenerType); return this; }
/** * Sets the <code>transaction-support</code> element * @param transactionSupport the value for the element <code>transaction-support</code> * @return the current instance of <code>OutboundResourceadapterType<T></code> */ public OutboundResourceadapterType<T> transactionSupport(TransactionSupportType transactionSupport) { childNode.getOrCreate("transaction-support").text(transactionSupport); return this; } /**
/** * Sets the <code>transaction-support</code> element * @param transactionSupport the value for the element <code>transaction-support</code> * @return the current instance of <code>OutboundResourceadapterType<T></code> */ public OutboundResourceadapterType<T> transactionSupport(String transactionSupport) { childNode.getOrCreate("transaction-support").text(transactionSupport); return this; }
/** * Sets the <code>second</code> element * @param second the value for the element <code>second</code> * @return the current instance of <code>TimerScheduleType<T></code> */ public TimerScheduleType<T> second(String second) { childNode.getOrCreate("second").text(second); return this; }
/** * Sets the <code>day-of-week</code> element * @param dayOfWeek the value for the element <code>day-of-week</code> * @return the current instance of <code>TimerScheduleType<T></code> */ public TimerScheduleType<T> dayOfWeek(String dayOfWeek) { childNode.getOrCreate("day-of-week").text(dayOfWeek); return this; }
/** * Sets the <code>config-property-name</code> element * @param configPropertyName the value for the element <code>config-property-name</code> * @return the current instance of <code>RequiredConfigPropertyType<T></code> */ public RequiredConfigPropertyType<T> configPropertyName(String configPropertyName) { childNode.getOrCreate("config-property-name").text(configPropertyName); return this; }