org.glassfish.appclient.client.acc.config.ProviderConfig 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.XmlElement;
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 = {
"requestPolicy",
"responsePolicy",
"property"
})
@XmlRootElement(name = "provider-config")
public class ProviderConfig {
@XmlAttribute(name = "provider-id", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected java.lang.String providerId;
@XmlAttribute(name = "provider-type", required = true)
@XmlJavaTypeAdapter(Adapter5 .class)
protected java.lang.String providerType;
@XmlAttribute(name = "class-name", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected java.lang.String className;
@XmlElement(name = "request-policy")
protected RequestPolicy requestPolicy;
@XmlElement(name = "response-policy")
protected ResponsePolicy responsePolicy;
protected List property;
/**
* Gets the value of the providerId property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getProviderId() {
return providerId;
}
/**
* Sets the value of the providerId property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setProviderId(java.lang.String value) {
this.providerId = value;
}
/**
* Gets the value of the providerType property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getProviderType() {
return providerType;
}
/**
* Sets the value of the providerType property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setProviderType(java.lang.String value) {
this.providerType = value;
}
/**
* Gets the value of the className property.
*
* @return
* possible object is
* {@link java.lang.String }
*
*/
public java.lang.String getClassName() {
return className;
}
/**
* Sets the value of the className property.
*
* @param value
* allowed object is
* {@link java.lang.String }
*
*/
public void setClassName(java.lang.String value) {
this.className = value;
}
/**
* Gets the value of the requestPolicy property.
*
* @return
* possible object is
* {@link RequestPolicy }
*
*/
public RequestPolicy getRequestPolicy() {
return requestPolicy;
}
/**
* Sets the value of the requestPolicy property.
*
* @param value
* allowed object is
* {@link RequestPolicy }
*
*/
public void setRequestPolicy(RequestPolicy value) {
this.requestPolicy = value;
}
/**
* Gets the value of the responsePolicy property.
*
* @return
* possible object is
* {@link ResponsePolicy }
*
*/
public ResponsePolicy getResponsePolicy() {
return responsePolicy;
}
/**
* Sets the value of the responsePolicy property.
*
* @param value
* allowed object is
* {@link ResponsePolicy }
*
*/
public void setResponsePolicy(ResponsePolicy value) {
this.responsePolicy = 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;
}
}