
no.difi.meldingsutveksling.ks.svarut.RetrieveForsendelseStatus 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 retrieveForsendelseStatus complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="retrieveForsendelseStatus">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="forsendelsesid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "retrieveForsendelseStatus", propOrder = {
"forsendelsesid"
})
@XmlRootElement
public class RetrieveForsendelseStatus {
@XmlElement(required = true)
protected String forsendelsesid;
/**
* Gets the value of the forsendelsesid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getForsendelsesid() {
return forsendelsesid;
}
/**
* Sets the value of the forsendelsesid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setForsendelsesid(String value) {
this.forsendelsesid = 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 RetrieveForsendelseStatus.Builder<_B> _other) {
_other.forsendelsesid = this.forsendelsesid;
}
public<_B >RetrieveForsendelseStatus.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new RetrieveForsendelseStatus.Builder<_B>(_parentBuilder, this, true);
}
public RetrieveForsendelseStatus.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static RetrieveForsendelseStatus.Builder builder() {
return new RetrieveForsendelseStatus.Builder(null, null, false);
}
public static<_B >RetrieveForsendelseStatus.Builder<_B> copyOf(final RetrieveForsendelseStatus _other) {
final RetrieveForsendelseStatus.Builder<_B> _newBuilder = new RetrieveForsendelseStatus.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 RetrieveForsendelseStatus.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final PropertyTree forsendelsesidPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forsendelsesid"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forsendelsesidPropertyTree!= null):((forsendelsesidPropertyTree == null)||(!forsendelsesidPropertyTree.isLeaf())))) {
_other.forsendelsesid = this.forsendelsesid;
}
}
public<_B >RetrieveForsendelseStatus.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new RetrieveForsendelseStatus.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
public RetrieveForsendelseStatus.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >RetrieveForsendelseStatus.Builder<_B> copyOf(final RetrieveForsendelseStatus _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final RetrieveForsendelseStatus.Builder<_B> _newBuilder = new RetrieveForsendelseStatus.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static RetrieveForsendelseStatus.Builder copyExcept(final RetrieveForsendelseStatus _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static RetrieveForsendelseStatus.Builder copyOnly(final RetrieveForsendelseStatus _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >implements Buildable
{
protected final _B _parentBuilder;
protected final RetrieveForsendelseStatus _storedValue;
private String forsendelsesid;
public Builder(final _B _parentBuilder, final RetrieveForsendelseStatus _other, final boolean _copy) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
this.forsendelsesid = _other.forsendelsesid;
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public Builder(final _B _parentBuilder, final RetrieveForsendelseStatus _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
final PropertyTree forsendelsesidPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forsendelsesid"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forsendelsesidPropertyTree!= null):((forsendelsesidPropertyTree == null)||(!forsendelsesidPropertyTree.isLeaf())))) {
this.forsendelsesid = _other.forsendelsesid;
}
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public _B end() {
return this._parentBuilder;
}
protected<_P extends RetrieveForsendelseStatus >_P init(final _P _product) {
_product.forsendelsesid = this.forsendelsesid;
return _product;
}
/**
* Sets the new value of "forsendelsesid" (any previous value will be replaced)
*
* @param forsendelsesid
* New value of the "forsendelsesid" property.
*/
public RetrieveForsendelseStatus.Builder<_B> withForsendelsesid(final String forsendelsesid) {
this.forsendelsesid = forsendelsesid;
return this;
}
@Override
public RetrieveForsendelseStatus build() {
if (_storedValue == null) {
return this.init(new RetrieveForsendelseStatus());
} else {
return ((RetrieveForsendelseStatus) _storedValue);
}
}
public RetrieveForsendelseStatus.Builder<_B> copyOf(final RetrieveForsendelseStatus _other) {
_other.copyTo(this);
return this;
}
public RetrieveForsendelseStatus.Builder<_B> copyOf(final RetrieveForsendelseStatus.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends RetrieveForsendelseStatus.Selector
{
Select() {
super(null, null, null);
}
public static RetrieveForsendelseStatus.Select _root() {
return new RetrieveForsendelseStatus.Select();
}
}
public static class Selector , TParent >
extends com.kscs.util.jaxb.Selector
{
private com.kscs.util.jaxb.Selector> forsendelsesid = 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.forsendelsesid!= null) {
products.put("forsendelsesid", this.forsendelsesid.init());
}
return products;
}
public com.kscs.util.jaxb.Selector> forsendelsesid() {
return ((this.forsendelsesid == null)?this.forsendelsesid = new com.kscs.util.jaxb.Selector>(this._root, this, "forsendelsesid"):this.forsendelsesid);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy