
no.difi.meldingsutveksling.ks.svarut.SendForsendelseResponse Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.7
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.09.09 at 10:33:19 AM UTC
//
package no.difi.meldingsutveksling.ks.svarut;
import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
/**
* Java class for sendForsendelseResponse complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="sendForsendelseResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sendForsendelseResponse", propOrder = {
"_return"
})
@XmlRootElement
public class SendForsendelseResponse {
@XmlElement(name = "return")
protected String _return;
/**
* Gets the value of the return property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReturn() {
return _return;
}
/**
* Sets the value of the return property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReturn(String value) {
this._return = value;
}
/**
* Copies all state of this object to a builder. This method is used by the {@link #copyOf} method and should not be called directly by client code.
*
* @param _other
* A builder instance to which the state of this object will be copied.
*/
public<_B >void copyTo(final SendForsendelseResponse.Builder<_B> _other) {
_other._return = this._return;
}
public<_B >SendForsendelseResponse.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new SendForsendelseResponse.Builder<_B>(_parentBuilder, this, true);
}
public SendForsendelseResponse.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static SendForsendelseResponse.Builder builder() {
return new SendForsendelseResponse.Builder(null, null, false);
}
public static<_B >SendForsendelseResponse.Builder<_B> copyOf(final SendForsendelseResponse _other) {
final SendForsendelseResponse.Builder<_B> _newBuilder = new SendForsendelseResponse.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder);
return _newBuilder;
}
/**
* Copies all state of this object to a builder. This method is used by the {@link #copyOf} method and should not be called directly by client code.
*
* @param _other
* A builder instance to which the state of this object will be copied.
*/
public<_B >void copyTo(final SendForsendelseResponse.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final PropertyTree _returnPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("_return"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(_returnPropertyTree!= null):((_returnPropertyTree == null)||(!_returnPropertyTree.isLeaf())))) {
_other._return = this._return;
}
}
public<_B >SendForsendelseResponse.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new SendForsendelseResponse.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
public SendForsendelseResponse.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >SendForsendelseResponse.Builder<_B> copyOf(final SendForsendelseResponse _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final SendForsendelseResponse.Builder<_B> _newBuilder = new SendForsendelseResponse.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static SendForsendelseResponse.Builder copyExcept(final SendForsendelseResponse _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static SendForsendelseResponse.Builder copyOnly(final SendForsendelseResponse _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >implements Buildable
{
protected final _B _parentBuilder;
protected final SendForsendelseResponse _storedValue;
private String _return;
public Builder(final _B _parentBuilder, final SendForsendelseResponse _other, final boolean _copy) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
this._return = _other._return;
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public Builder(final _B _parentBuilder, final SendForsendelseResponse _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
final PropertyTree _returnPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("_return"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(_returnPropertyTree!= null):((_returnPropertyTree == null)||(!_returnPropertyTree.isLeaf())))) {
this._return = _other._return;
}
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public _B end() {
return this._parentBuilder;
}
protected<_P extends SendForsendelseResponse >_P init(final _P _product) {
_product._return = this._return;
return _product;
}
/**
* Sets the new value of "_return" (any previous value will be replaced)
*
* @param _return
* New value of the "_return" property.
*/
public SendForsendelseResponse.Builder<_B> withReturn(final String _return) {
this._return = _return;
return this;
}
@Override
public SendForsendelseResponse build() {
if (_storedValue == null) {
return this.init(new SendForsendelseResponse());
} else {
return ((SendForsendelseResponse) _storedValue);
}
}
public SendForsendelseResponse.Builder<_B> copyOf(final SendForsendelseResponse _other) {
_other.copyTo(this);
return this;
}
public SendForsendelseResponse.Builder<_B> copyOf(final SendForsendelseResponse.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends SendForsendelseResponse.Selector
{
Select() {
super(null, null, null);
}
public static SendForsendelseResponse.Select _root() {
return new SendForsendelseResponse.Select();
}
}
public static class Selector , TParent >
extends com.kscs.util.jaxb.Selector
{
private com.kscs.util.jaxb.Selector> _return = null;
public Selector(final TRoot root, final TParent parent, final String propertyName) {
super(root, parent, propertyName);
}
@Override
public Map buildChildren() {
final Map products = new HashMap();
products.putAll(super.buildChildren());
if (this._return!= null) {
products.put("_return", this._return.init());
}
return products;
}
public com.kscs.util.jaxb.Selector> _return() {
return ((this._return == null)?this._return = new com.kscs.util.jaxb.Selector>(this._root, this, "_return"):this._return);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy