/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<AdminObjectType<T>></code> */ public ConfigPropertyType<AdminObjectType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<AdminObjectType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>connection-definition</code> element * @return the new created instance of <code>ConnectionDefinitionType<ConnectionDefinitionsType<T>></code> */ public ConnectionDefinitionType<ConnectionDefinitionsType<T>> createConnectionDefinition() { return new ConnectionDefinitionTypeImpl<ConnectionDefinitionsType<T>>(this, "connection-definition", childNode); }
public IronjacamarDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
/** * If not already created, a new <code>admin-object</code> element will be created and returned. * Otherwise, the first existing <code>admin-object</code> element will be returned. * @return the instance defined for the element <code>admin-object</code> */ public AdminObjectType<AdminObjectsType<T>> getOrCreateAdminObject() { List<Node> nodeList = childNode.get("admin-object"); if (nodeList != null && nodeList.size() > 0) { return new AdminObjectTypeImpl<AdminObjectsType<T>>(this, "admin-object", childNode, nodeList.get(0)); } return createAdminObject(); }
/** * If not already created, a new <code>config-property</code> element will be created and returned. * Otherwise, the first existing <code>config-property</code> element will be returned. * @return the instance defined for the element <code>config-property</code> */ public ConfigPropertyType<ConnectionDefinitionType<T>> getOrCreateConfigProperty() { List<Node> nodeList = childNode.get("config-property"); if (nodeList != null && nodeList.size() > 0) { return new ConfigPropertyTypeImpl<ConnectionDefinitionType<T>>(this, "config-property", childNode, nodeList.get(0)); } return createConfigProperty(); }
/** * If not already created, a new <code>connection-definition</code> element will be created and returned. * Otherwise, the first existing <code>connection-definition</code> element will be returned. * @return the instance defined for the element <code>connection-definition</code> */ public ConnectionDefinitionType<ConnectionDefinitionsType<T>> getOrCreateConnectionDefinition() { List<Node> nodeList = childNode.get("connection-definition"); if (nodeList != null && nodeList.size() > 0) { return new ConnectionDefinitionTypeImpl<ConnectionDefinitionsType<T>>(this, "connection-definition", childNode, nodeList.get(0)); } return createConnectionDefinition(); }
/** * Creates a new <code>admin-object</code> element * @return the new created instance of <code>AdminObjectType<AdminObjectsType<T>></code> */ public AdminObjectType<AdminObjectsType<T>> createAdminObject() { return new AdminObjectTypeImpl<AdminObjectsType<T>>(this, "admin-object", childNode); }
/** * If not already created, a new <code>connection-definitions</code> element with the given value will be created. * Otherwise, the existing <code>connection-definitions</code> element will be returned. * @return a new or existing instance of <code>ConnectionDefinitionsType<IronjacamarDescriptor></code> */ public ConnectionDefinitionsType<IronjacamarDescriptor> getOrCreateConnectionDefinitions() { Node node = model.getOrCreate("connection-definitions"); ConnectionDefinitionsType<IronjacamarDescriptor> connectionDefinitions = new ConnectionDefinitionsTypeImpl<IronjacamarDescriptor>(this, "connection-definitions", model, node); return connectionDefinitions; }
/** * If not already created, a new <code>validation</code> element with the given value will be created. * Otherwise, the existing <code>validation</code> element will be returned. * @return a new or existing instance of <code>ValidationType<ConnectionDefinitionType<T>></code> */ public ValidationType<ConnectionDefinitionType<T>> getOrCreateValidation() { Node node = childNode.getOrCreate("validation"); ValidationType<ConnectionDefinitionType<T>> validation = new ValidationTypeImpl<ConnectionDefinitionType<T>>(this, "validation", childNode, node); return validation; }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<IronjacamarType<T>></code> */ public ConfigPropertyType<IronjacamarType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<IronjacamarType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>connection-definition</code> element * @return the new created instance of <code>ConnectionDefinitionType<ConnectionDefinitionsType<T>></code> */ public ConnectionDefinitionType<ConnectionDefinitionsType<T>> createConnectionDefinition() { return new ConnectionDefinitionTypeImpl<ConnectionDefinitionsType<T>>(this, "connection-definition", childNode); }
public IronjacamarDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
/** * Creates a new <code>admin-object</code> element * @return the new created instance of <code>AdminObjectType<AdminObjectsType<T>></code> */ public AdminObjectType<AdminObjectsType<T>> createAdminObject() { return new AdminObjectTypeImpl<AdminObjectsType<T>>(this, "admin-object", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<IronjacamarDescriptor></code> */ public ConfigPropertyType<IronjacamarDescriptor> createConfigProperty() { return new ConfigPropertyTypeImpl<IronjacamarDescriptor>(this, "config-property", model); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<ConnectionDefinitionType<T>></code> */ public ConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<ConnectionDefinitionType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<IronjacamarType<T>></code> */ public ConfigPropertyType<IronjacamarType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<IronjacamarType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<AdminObjectType<T>></code> */ public ConfigPropertyType<AdminObjectType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<AdminObjectType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<IronjacamarDescriptor></code> */ public ConfigPropertyType<IronjacamarDescriptor> createConfigProperty() { return new ConfigPropertyTypeImpl<IronjacamarDescriptor>(this, "config-property", model); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<ConnectionDefinitionType<T>></code> */ public ConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<ConnectionDefinitionType<T>>(this, "config-property", childNode); }
/** * If not already created, a new <code>config-property</code> element with the given value will be created. * Otherwise, the existing <code>config-property</code> element will be returned. * @return a new or existing instance of <code>ConfigPropertyType<ExtensionType<T>></code> */ public ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty() { Node node = childNode.getOrCreate("config-property"); ConfigPropertyType<ExtensionType<T>> configProperty = new ConfigPropertyTypeImpl<ExtensionType<T>>(this, "config-property", childNode, node); return configProperty; }