no.difi.meldingsutveksling.ks.svarut.RetrieveForsendelseHistorikkResponse 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.XmlType;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
/**
* Java class for retrieveForsendelseHistorikkResponse complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="retrieveForsendelseHistorikkResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="return" type="{http://www.ks.no/svarut/servicesV9}forsendelseHistorikk" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "retrieveForsendelseHistorikkResponse", propOrder = {
"_return"
})
public class RetrieveForsendelseHistorikkResponse {
@XmlElement(name = "return")
protected ForsendelseHistorikk _return;
/**
* Gets the value of the return property.
*
* @return
* possible object is
* {@link ForsendelseHistorikk }
*
*/
public ForsendelseHistorikk getReturn() {
return _return;
}
/**
* Sets the value of the return property.
*
* @param value
* allowed object is
* {@link ForsendelseHistorikk }
*
*/
public void setReturn(ForsendelseHistorikk 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 RetrieveForsendelseHistorikkResponse.Builder<_B> _other) {
_other._return = ((this._return == null)?null:this._return.newCopyBuilder(_other));
}
public<_B >RetrieveForsendelseHistorikkResponse.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new RetrieveForsendelseHistorikkResponse.Builder<_B>(_parentBuilder, this, true);
}
public RetrieveForsendelseHistorikkResponse.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static RetrieveForsendelseHistorikkResponse.Builder builder() {
return new RetrieveForsendelseHistorikkResponse.Builder(null, null, false);
}
public static<_B >RetrieveForsendelseHistorikkResponse.Builder<_B> copyOf(final RetrieveForsendelseHistorikkResponse _other) {
final RetrieveForsendelseHistorikkResponse.Builder<_B> _newBuilder = new RetrieveForsendelseHistorikkResponse.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 RetrieveForsendelseHistorikkResponse.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 == null)?null:this._return.newCopyBuilder(_other, _returnPropertyTree, _propertyTreeUse));
}
}
public<_B >RetrieveForsendelseHistorikkResponse.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new RetrieveForsendelseHistorikkResponse.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
public RetrieveForsendelseHistorikkResponse.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >RetrieveForsendelseHistorikkResponse.Builder<_B> copyOf(final RetrieveForsendelseHistorikkResponse _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final RetrieveForsendelseHistorikkResponse.Builder<_B> _newBuilder = new RetrieveForsendelseHistorikkResponse.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static RetrieveForsendelseHistorikkResponse.Builder copyExcept(final RetrieveForsendelseHistorikkResponse _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static RetrieveForsendelseHistorikkResponse.Builder copyOnly(final RetrieveForsendelseHistorikkResponse _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >implements Buildable
{
protected final _B _parentBuilder;
protected final RetrieveForsendelseHistorikkResponse _storedValue;
private ForsendelseHistorikk.Builder> _return;
public Builder(final _B _parentBuilder, final RetrieveForsendelseHistorikkResponse _other, final boolean _copy) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
this._return = ((_other._return == null)?null:_other._return.newCopyBuilder(this));
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public Builder(final _B _parentBuilder, final RetrieveForsendelseHistorikkResponse _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 == null)?null:_other._return.newCopyBuilder(this, _returnPropertyTree, _propertyTreeUse));
}
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public _B end() {
return this._parentBuilder;
}
protected<_P extends RetrieveForsendelseHistorikkResponse >_P init(final _P _product) {
_product._return = ((this._return == null)?null:this._return.build());
return _product;
}
/**
* Sets the new value of "_return" (any previous value will be replaced)
*
* @param _return
* New value of the "_return" property.
*/
public RetrieveForsendelseHistorikkResponse.Builder<_B> withReturn(final ForsendelseHistorikk _return) {
this._return = ((_return == null)?null:new ForsendelseHistorikk.Builder>(this, _return, false));
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the "_return" property.
* Use {@link no.difi.meldingsutveksling.ks.svarut.ForsendelseHistorikk.Builder#end()} to return to the current builder.
*
* @return
* A new builder to build the value of the "_return" property.
* Use {@link no.difi.meldingsutveksling.ks.svarut.ForsendelseHistorikk.Builder#end()} to return to the current builder.
*/
public ForsendelseHistorikk.Builder extends RetrieveForsendelseHistorikkResponse.Builder<_B>> withReturn() {
if (this._return!= null) {
return this._return;
}
return this._return = new ForsendelseHistorikk.Builder>(this, null, false);
}
@Override
public RetrieveForsendelseHistorikkResponse build() {
if (_storedValue == null) {
return this.init(new RetrieveForsendelseHistorikkResponse());
} else {
return ((RetrieveForsendelseHistorikkResponse) _storedValue);
}
}
public RetrieveForsendelseHistorikkResponse.Builder<_B> copyOf(final RetrieveForsendelseHistorikkResponse _other) {
_other.copyTo(this);
return this;
}
public RetrieveForsendelseHistorikkResponse.Builder<_B> copyOf(final RetrieveForsendelseHistorikkResponse.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends RetrieveForsendelseHistorikkResponse.Selector
{
Select() {
super(null, null, null);
}
public static RetrieveForsendelseHistorikkResponse.Select _root() {
return new RetrieveForsendelseHistorikkResponse.Select();
}
}
public static class Selector , TParent >
extends com.kscs.util.jaxb.Selector
{
private ForsendelseHistorikk.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 ForsendelseHistorikk.Selector> _return() {
return ((this._return == null)?this._return = new ForsendelseHistorikk.Selector>(this._root, this, "_return"):this._return);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy