All Downloads are FREE. Search and download functionalities are using the official Maven repository.

no.difi.meldingsutveksling.ks.svarut.RetrieveForsendelseIdByEksternRefResponse 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.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
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 retrieveForsendelseIdByEksternRefResponse complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="retrieveForsendelseIdByEksternRefResponse">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "retrieveForsendelseIdByEksternRefResponse", propOrder = { "_return" }) public class RetrieveForsendelseIdByEksternRefResponse { @XmlElement(name = "return") protected List _return; /** * Gets the value of the return 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 JAXB object. * This is why there is not a set method for the return property. * *

* For example, to add a new item, do as follows: *

     *    getReturn().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getReturn() { if (_return == null) { _return = new ArrayList(); } return this._return; } /** * 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 RetrieveForsendelseIdByEksternRefResponse.Builder<_B> _other) { if (this._return == null) { _other._return = null; } else { _other._return = new ArrayList(); for (String _item: this._return) { _other._return.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item))); } } } public<_B >RetrieveForsendelseIdByEksternRefResponse.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new RetrieveForsendelseIdByEksternRefResponse.Builder<_B>(_parentBuilder, this, true); } public RetrieveForsendelseIdByEksternRefResponse.Builder newCopyBuilder() { return newCopyBuilder(null); } public static RetrieveForsendelseIdByEksternRefResponse.Builder builder() { return new RetrieveForsendelseIdByEksternRefResponse.Builder(null, null, false); } public static<_B >RetrieveForsendelseIdByEksternRefResponse.Builder<_B> copyOf(final RetrieveForsendelseIdByEksternRefResponse _other) { final RetrieveForsendelseIdByEksternRefResponse.Builder<_B> _newBuilder = new RetrieveForsendelseIdByEksternRefResponse.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 RetrieveForsendelseIdByEksternRefResponse.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())))) { if (this._return == null) { _other._return = null; } else { _other._return = new ArrayList(); for (String _item: this._return) { _other._return.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item))); } } } } public<_B >RetrieveForsendelseIdByEksternRefResponse.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new RetrieveForsendelseIdByEksternRefResponse.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public RetrieveForsendelseIdByEksternRefResponse.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >RetrieveForsendelseIdByEksternRefResponse.Builder<_B> copyOf(final RetrieveForsendelseIdByEksternRefResponse _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final RetrieveForsendelseIdByEksternRefResponse.Builder<_B> _newBuilder = new RetrieveForsendelseIdByEksternRefResponse.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static RetrieveForsendelseIdByEksternRefResponse.Builder copyExcept(final RetrieveForsendelseIdByEksternRefResponse _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static RetrieveForsendelseIdByEksternRefResponse.Builder copyOnly(final RetrieveForsendelseIdByEksternRefResponse _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final RetrieveForsendelseIdByEksternRefResponse _storedValue; private List _return; public Builder(final _B _parentBuilder, final RetrieveForsendelseIdByEksternRefResponse _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; if (_other._return == null) { this._return = null; } else { this._return = new ArrayList(); for (String _item: _other._return) { this._return.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item))); } } } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final RetrieveForsendelseIdByEksternRefResponse _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())))) { if (_other._return == null) { this._return = null; } else { this._return = new ArrayList(); for (String _item: _other._return) { this._return.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item))); } } } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends RetrieveForsendelseIdByEksternRefResponse >_P init(final _P _product) { if (this._return!= null) { final List _return = new ArrayList(this._return.size()); for (Buildable _item: this._return) { _return.add(((String) _item.build())); } _product._return = _return; } return _product; } /** * Adds the given items to the value of "_return" * * @param _return * Items to add to the value of the "_return" property */ public RetrieveForsendelseIdByEksternRefResponse.Builder<_B> addReturn(final Iterable _return) { if (_return!= null) { if (this._return == null) { this._return = new ArrayList(); } for (String _item: _return) { this._return.add(new Buildable.PrimitiveBuildable(_item)); } } return this; } /** * Sets the new value of "_return" (any previous value will be replaced) * * @param _return * New value of the "_return" property. */ public RetrieveForsendelseIdByEksternRefResponse.Builder<_B> withReturn(final Iterable _return) { if (this._return!= null) { this._return.clear(); } return addReturn(_return); } /** * Adds the given items to the value of "_return" * * @param _return * Items to add to the value of the "_return" property */ public RetrieveForsendelseIdByEksternRefResponse.Builder<_B> addReturn(String... _return) { addReturn(Arrays.asList(_return)); return this; } /** * Sets the new value of "_return" (any previous value will be replaced) * * @param _return * New value of the "_return" property. */ public RetrieveForsendelseIdByEksternRefResponse.Builder<_B> withReturn(String... _return) { withReturn(Arrays.asList(_return)); return this; } @Override public RetrieveForsendelseIdByEksternRefResponse build() { if (_storedValue == null) { return this.init(new RetrieveForsendelseIdByEksternRefResponse()); } else { return ((RetrieveForsendelseIdByEksternRefResponse) _storedValue); } } public RetrieveForsendelseIdByEksternRefResponse.Builder<_B> copyOf(final RetrieveForsendelseIdByEksternRefResponse _other) { _other.copyTo(this); return this; } public RetrieveForsendelseIdByEksternRefResponse.Builder<_B> copyOf(final RetrieveForsendelseIdByEksternRefResponse.Builder _other) { return copyOf(_other.build()); } } public static class Select extends RetrieveForsendelseIdByEksternRefResponse.Selector { Select() { super(null, null, null); } public static RetrieveForsendelseIdByEksternRefResponse.Select _root() { return new RetrieveForsendelseIdByEksternRefResponse.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