
com.marklogic.mgmt.api.database.Element Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ml-app-deployer Show documentation
Show all versions of ml-app-deployer Show documentation
Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic
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