org.glassfish.appclient.client.acc.config.AuthRealm Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.1
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package org.glassfish.appclient.client.acc.config;
import java.util.ArrayList;
import java.util.List;
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.XmlType;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"property"
})
@XmlRootElement(name = "auth-realm")
public class AuthRealm {
@XmlAttribute(name = "name", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String name;
@XmlAttribute(name = "classname", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String classname;
protected List property;
public AuthRealm() {
}
/**
*
* @param classname
* Java instance representing xml element's value.
*/
public AuthRealm(String classname) {
this.setClassname(classname);
}
/**
* 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 classname property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClassname() {
return classname;
}
/**
* Sets the value of the classname property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClassname(String value) {
this.classname = value;
}
/**
* Gets the value of the property property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the property property.
*
*
* For example, to add a new item, do as follows:
*
* getProperty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Property }
*
*
* @return
* The value of the property property.
*/
public List getProperty() {
if (property == null) {
property = new ArrayList<>();
}
return this.property;
}
}