/** * If not already created, a new <code>activationspec</code> element with the given value will be created. * Otherwise, the existing <code>activationspec</code> element will be returned. * @return a new or existing instance of <code>ActivationspecType<MessagelistenerType<T>></code> */ public ActivationspecType<MessagelistenerType<T>> getOrCreateActivationspec() { Node node = childNode.getOrCreate("activationspec"); ActivationspecType<MessagelistenerType<T>> activationspec = new ActivationspecTypeImpl<MessagelistenerType<T>>(this, "activationspec", childNode, node); return activationspec; }
/** * If not already created, a new <code>required-config-property</code> element will be created and returned. * Otherwise, the first existing <code>required-config-property</code> element will be returned. * @return the instance defined for the element <code>required-config-property</code> */ public RequiredConfigPropertyType<ActivationspecType<T>> getOrCreateRequiredConfigProperty() { List<Node> nodeList = childNode.get("required-config-property"); if (nodeList != null && nodeList.size() > 0) { return new RequiredConfigPropertyTypeImpl<ActivationspecType<T>>(this, "required-config-property", childNode, nodeList.get(0)); } return createRequiredConfigProperty(); }
/** * If not already created, a new <code>required-config-property</code> element will be created and returned. * Otherwise, the first existing <code>required-config-property</code> element will be returned. * @return the instance defined for the element <code>required-config-property</code> */ public RequiredConfigPropertyType<ActivationspecType<T>> getOrCreateRequiredConfigProperty() { List<Node> nodeList = childNode.get("required-config-property"); if (nodeList != null && nodeList.size() > 0) { return new RequiredConfigPropertyTypeImpl<ActivationspecType<T>>(this, "required-config-property", childNode, nodeList.get(0)); } return createRequiredConfigProperty(); }
/** * If not already created, a new <code>activationspec</code> element with the given value will be created. * Otherwise, the existing <code>activationspec</code> element will be returned. * @return a new or existing instance of <code>ActivationspecType<MessagelistenerType<T>></code> */ public ActivationspecType<MessagelistenerType<T>> getOrCreateActivationspec() { Node node = childNode.getOrCreate("activationspec"); ActivationspecType<MessagelistenerType<T>> activationspec = new ActivationspecTypeImpl<MessagelistenerType<T>>(this, "activationspec", childNode, node); return activationspec; }
/** * If not already created, a new <code>required-config-property</code> element will be created and returned. * Otherwise, the first existing <code>required-config-property</code> element will be returned. * @return the instance defined for the element <code>required-config-property</code> */ public RequiredConfigPropertyType<ActivationspecType<T>> getOrCreateRequiredConfigProperty() { List<Node> nodeList = childNode.get("required-config-property"); if (nodeList != null && nodeList.size() > 0) { return new RequiredConfigPropertyTypeImpl<ActivationspecType<T>>(this, "required-config-property", childNode, nodeList.get(0)); } return createRequiredConfigProperty(); }
/** * If not already created, a new <code>activationspec</code> element with the given value will be created. * Otherwise, the existing <code>activationspec</code> element will be returned. * @return a new or existing instance of <code>ActivationspecType<MessagelistenerType<T>></code> */ public ActivationspecType<MessagelistenerType<T>> getOrCreateActivationspec() { Node node = childNode.getOrCreate("activationspec"); ActivationspecType<MessagelistenerType<T>> activationspec = new ActivationspecTypeImpl<MessagelistenerType<T>>(this, "activationspec", childNode, node); return activationspec; }
/** * If not already created, a new <code>required-config-property</code> element will be created and returned. * Otherwise, the first existing <code>required-config-property</code> element will be returned. * @return the instance defined for the element <code>required-config-property</code> */ public RequiredConfigPropertyType<ActivationspecType<T>> getOrCreateRequiredConfigProperty() { List<Node> nodeList = childNode.get("required-config-property"); if (nodeList != null && nodeList.size() > 0) { return new RequiredConfigPropertyTypeImpl<ActivationspecType<T>>(this, "required-config-property", childNode, nodeList.get(0)); } return createRequiredConfigProperty(); }
/** * If not already created, a new <code>activationspec</code> element with the given value will be created. * Otherwise, the existing <code>activationspec</code> element will be returned. * @return a new or existing instance of <code>ActivationspecType<MessagelistenerType<T>></code> */ public ActivationspecType<MessagelistenerType<T>> getOrCreateActivationspec() { Node node = childNode.getOrCreate("activationspec"); ActivationspecType<MessagelistenerType<T>> activationspec = new ActivationspecTypeImpl<MessagelistenerType<T>>(this, "activationspec", childNode, node); return activationspec; }