Database.java
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.06.29 at 10:16:21 PM GMT
//
package com.io7m.idstore.server.service.configuration.jaxb;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="OwnerRoleName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="OwnerRolePassword" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="WorkerRolePassword" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="ReaderRolePassword" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Kind" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Address" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Port" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* <attribute name="Create" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="Upgrade" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "Database")
public class Database {
@XmlAttribute(name = "OwnerRoleName", required = true)
protected String ownerRoleName;
@XmlAttribute(name = "OwnerRolePassword", required = true)
protected String ownerRolePassword;
@XmlAttribute(name = "WorkerRolePassword", required = true)
protected String workerRolePassword;
@XmlAttribute(name = "ReaderRolePassword")
protected String readerRolePassword;
@XmlAttribute(name = "Kind", required = true)
protected String kind;
@XmlAttribute(name = "Name", required = true)
protected String name;
@XmlAttribute(name = "Address", required = true)
protected String address;
@XmlAttribute(name = "Port", required = true)
@XmlSchemaType(name = "unsignedInt")
protected long port;
@XmlAttribute(name = "Create", required = true)
protected boolean create;
@XmlAttribute(name = "Upgrade", required = true)
protected boolean upgrade;
/**
* Gets the value of the ownerRoleName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOwnerRoleName() {
return ownerRoleName;
}
/**
* Sets the value of the ownerRoleName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOwnerRoleName(String value) {
this.ownerRoleName = value;
}
/**
* Gets the value of the ownerRolePassword property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOwnerRolePassword() {
return ownerRolePassword;
}
/**
* Sets the value of the ownerRolePassword property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOwnerRolePassword(String value) {
this.ownerRolePassword = value;
}
/**
* Gets the value of the workerRolePassword property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWorkerRolePassword() {
return workerRolePassword;
}
/**
* Sets the value of the workerRolePassword property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWorkerRolePassword(String value) {
this.workerRolePassword = value;
}
/**
* Gets the value of the readerRolePassword property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReaderRolePassword() {
return readerRolePassword;
}
/**
* Sets the value of the readerRolePassword property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReaderRolePassword(String value) {
this.readerRolePassword = value;
}
/**
* Gets the value of the kind property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKind() {
return kind;
}
/**
* Sets the value of the kind property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKind(String value) {
this.kind = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAddress(String value) {
this.address = value;
}
/**
* Gets the value of the port property.
*
*/
public long getPort() {
return port;
}
/**
* Sets the value of the port property.
*
*/
public void setPort(long value) {
this.port = value;
}
/**
* Gets the value of the create property.
*
*/
public boolean isCreate() {
return create;
}
/**
* Sets the value of the create property.
*
*/
public void setCreate(boolean value) {
this.create = value;
}
/**
* Gets the value of the upgrade property.
*
*/
public boolean isUpgrade() {
return upgrade;
}
/**
* Sets the value of the upgrade property.
*
*/
public void setUpgrade(boolean value) {
this.upgrade = value;
}
}