All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.mgmt.api.database.Element Maven / Gradle / Ivy

Go to download

Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic

There is a newer version: 5.0.0
Show newest version
package com.marklogic.mgmt.api.database;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
public class Element {

	@XmlElement(name = "namespace-uri")
	private String namespaceUri;

	/**
	 * As of ML 10.0-2, this won't work for both JSON and XML. When multiple values exist, the Manage API expects the
	 * JSON representation to be an array of strings, while the XML representation always expects a single value.
	 */
	@XmlElementWrapper(name = "localname")
	private List localname;

	public String getNamespaceUri() {
		return namespaceUri;
	}

	public void setNamespaceUri(String namespaceUri) {
		this.namespaceUri = namespaceUri;
	}

	public List getLocalname() {
		return localname;
	}

	public void setLocalname(List localname) {
		this.localname = localname;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy