/** * 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<IronjacamarType<T>></code> */ public ConnectionDefinitionsType<IronjacamarType<T>> getOrCreateConnectionDefinitions() { Node node = childNode.getOrCreate("connection-definitions"); ConnectionDefinitionsType<IronjacamarType<T>> connectionDefinitions = new ConnectionDefinitionsTypeImpl<IronjacamarType<T>>(this, "connection-definitions", childNode, node); return connectionDefinitions; }
/** * 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(); }
/** * 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(); }
/** * 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<IronjacamarType<T>></code> */ public ConnectionDefinitionsType<IronjacamarType<T>> getOrCreateConnectionDefinitions() { Node node = childNode.getOrCreate("connection-definitions"); ConnectionDefinitionsType<IronjacamarType<T>> connectionDefinitions = new ConnectionDefinitionsTypeImpl<IronjacamarType<T>>(this, "connection-definitions", childNode, node); return connectionDefinitions; }
/** * 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>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; }