
no.difi.meldingsutveksling.ks.svarut.SetForsendelseLestAvEksterntSystem 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
/**
* Java class for setForsendelseLestAvEksterntSystem complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="setForsendelseLestAvEksterntSystem">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="forsendelsesid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="lestAvFodselsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="navnPaEksterntSystem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="datoLest" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "setForsendelseLestAvEksterntSystem", propOrder = {
"forsendelsesid",
"lestAvFodselsnummer",
"navnPaEksterntSystem",
"datoLest"
})
public class SetForsendelseLestAvEksterntSystem {
protected String forsendelsesid;
protected String lestAvFodselsnummer;
protected String navnPaEksterntSystem;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar datoLest;
/**
* 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;
}
/**
* Gets the value of the lestAvFodselsnummer property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLestAvFodselsnummer() {
return lestAvFodselsnummer;
}
/**
* Sets the value of the lestAvFodselsnummer property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLestAvFodselsnummer(String value) {
this.lestAvFodselsnummer = value;
}
/**
* Gets the value of the navnPaEksterntSystem property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNavnPaEksterntSystem() {
return navnPaEksterntSystem;
}
/**
* Sets the value of the navnPaEksterntSystem property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNavnPaEksterntSystem(String value) {
this.navnPaEksterntSystem = value;
}
/**
* Gets the value of the datoLest property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDatoLest() {
return datoLest;
}
/**
* Sets the value of the datoLest property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDatoLest(XMLGregorianCalendar value) {
this.datoLest = 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 SetForsendelseLestAvEksterntSystem.Builder<_B> _other) {
_other.forsendelsesid = this.forsendelsesid;
_other.lestAvFodselsnummer = this.lestAvFodselsnummer;
_other.navnPaEksterntSystem = this.navnPaEksterntSystem;
_other.datoLest = ((this.datoLest == null)?null:((XMLGregorianCalendar) this.datoLest.clone()));
}
public<_B >SetForsendelseLestAvEksterntSystem.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new SetForsendelseLestAvEksterntSystem.Builder<_B>(_parentBuilder, this, true);
}
public SetForsendelseLestAvEksterntSystem.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static SetForsendelseLestAvEksterntSystem.Builder builder() {
return new SetForsendelseLestAvEksterntSystem.Builder(null, null, false);
}
public static<_B >SetForsendelseLestAvEksterntSystem.Builder<_B> copyOf(final SetForsendelseLestAvEksterntSystem _other) {
final SetForsendelseLestAvEksterntSystem.Builder<_B> _newBuilder = new SetForsendelseLestAvEksterntSystem.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 SetForsendelseLestAvEksterntSystem.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;
}
final PropertyTree lestAvFodselsnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("lestAvFodselsnummer"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(lestAvFodselsnummerPropertyTree!= null):((lestAvFodselsnummerPropertyTree == null)||(!lestAvFodselsnummerPropertyTree.isLeaf())))) {
_other.lestAvFodselsnummer = this.lestAvFodselsnummer;
}
final PropertyTree navnPaEksterntSystemPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("navnPaEksterntSystem"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(navnPaEksterntSystemPropertyTree!= null):((navnPaEksterntSystemPropertyTree == null)||(!navnPaEksterntSystemPropertyTree.isLeaf())))) {
_other.navnPaEksterntSystem = this.navnPaEksterntSystem;
}
final PropertyTree datoLestPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("datoLest"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(datoLestPropertyTree!= null):((datoLestPropertyTree == null)||(!datoLestPropertyTree.isLeaf())))) {
_other.datoLest = ((this.datoLest == null)?null:((XMLGregorianCalendar) this.datoLest.clone()));
}
}
public<_B >SetForsendelseLestAvEksterntSystem.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new SetForsendelseLestAvEksterntSystem.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
public SetForsendelseLestAvEksterntSystem.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >SetForsendelseLestAvEksterntSystem.Builder<_B> copyOf(final SetForsendelseLestAvEksterntSystem _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final SetForsendelseLestAvEksterntSystem.Builder<_B> _newBuilder = new SetForsendelseLestAvEksterntSystem.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static SetForsendelseLestAvEksterntSystem.Builder copyExcept(final SetForsendelseLestAvEksterntSystem _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static SetForsendelseLestAvEksterntSystem.Builder copyOnly(final SetForsendelseLestAvEksterntSystem _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >implements Buildable
{
protected final _B _parentBuilder;
protected final SetForsendelseLestAvEksterntSystem _storedValue;
private String forsendelsesid;
private String lestAvFodselsnummer;
private String navnPaEksterntSystem;
private XMLGregorianCalendar datoLest;
public Builder(final _B _parentBuilder, final SetForsendelseLestAvEksterntSystem _other, final boolean _copy) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
this.forsendelsesid = _other.forsendelsesid;
this.lestAvFodselsnummer = _other.lestAvFodselsnummer;
this.navnPaEksterntSystem = _other.navnPaEksterntSystem;
this.datoLest = ((_other.datoLest == null)?null:((XMLGregorianCalendar) _other.datoLest.clone()));
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public Builder(final _B _parentBuilder, final SetForsendelseLestAvEksterntSystem _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;
}
final PropertyTree lestAvFodselsnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("lestAvFodselsnummer"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(lestAvFodselsnummerPropertyTree!= null):((lestAvFodselsnummerPropertyTree == null)||(!lestAvFodselsnummerPropertyTree.isLeaf())))) {
this.lestAvFodselsnummer = _other.lestAvFodselsnummer;
}
final PropertyTree navnPaEksterntSystemPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("navnPaEksterntSystem"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(navnPaEksterntSystemPropertyTree!= null):((navnPaEksterntSystemPropertyTree == null)||(!navnPaEksterntSystemPropertyTree.isLeaf())))) {
this.navnPaEksterntSystem = _other.navnPaEksterntSystem;
}
final PropertyTree datoLestPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("datoLest"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(datoLestPropertyTree!= null):((datoLestPropertyTree == null)||(!datoLestPropertyTree.isLeaf())))) {
this.datoLest = ((_other.datoLest == null)?null:((XMLGregorianCalendar) _other.datoLest.clone()));
}
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public _B end() {
return this._parentBuilder;
}
protected<_P extends SetForsendelseLestAvEksterntSystem >_P init(final _P _product) {
_product.forsendelsesid = this.forsendelsesid;
_product.lestAvFodselsnummer = this.lestAvFodselsnummer;
_product.navnPaEksterntSystem = this.navnPaEksterntSystem;
_product.datoLest = this.datoLest;
return _product;
}
/**
* Sets the new value of "forsendelsesid" (any previous value will be replaced)
*
* @param forsendelsesid
* New value of the "forsendelsesid" property.
*/
public SetForsendelseLestAvEksterntSystem.Builder<_B> withForsendelsesid(final String forsendelsesid) {
this.forsendelsesid = forsendelsesid;
return this;
}
/**
* Sets the new value of "lestAvFodselsnummer" (any previous value will be replaced)
*
* @param lestAvFodselsnummer
* New value of the "lestAvFodselsnummer" property.
*/
public SetForsendelseLestAvEksterntSystem.Builder<_B> withLestAvFodselsnummer(final String lestAvFodselsnummer) {
this.lestAvFodselsnummer = lestAvFodselsnummer;
return this;
}
/**
* Sets the new value of "navnPaEksterntSystem" (any previous value will be replaced)
*
* @param navnPaEksterntSystem
* New value of the "navnPaEksterntSystem" property.
*/
public SetForsendelseLestAvEksterntSystem.Builder<_B> withNavnPaEksterntSystem(final String navnPaEksterntSystem) {
this.navnPaEksterntSystem = navnPaEksterntSystem;
return this;
}
/**
* Sets the new value of "datoLest" (any previous value will be replaced)
*
* @param datoLest
* New value of the "datoLest" property.
*/
public SetForsendelseLestAvEksterntSystem.Builder<_B> withDatoLest(final XMLGregorianCalendar datoLest) {
this.datoLest = datoLest;
return this;
}
@Override
public SetForsendelseLestAvEksterntSystem build() {
if (_storedValue == null) {
return this.init(new SetForsendelseLestAvEksterntSystem());
} else {
return ((SetForsendelseLestAvEksterntSystem) _storedValue);
}
}
public SetForsendelseLestAvEksterntSystem.Builder<_B> copyOf(final SetForsendelseLestAvEksterntSystem _other) {
_other.copyTo(this);
return this;
}
public SetForsendelseLestAvEksterntSystem.Builder<_B> copyOf(final SetForsendelseLestAvEksterntSystem.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends SetForsendelseLestAvEksterntSystem.Selector
{
Select() {
super(null, null, null);
}
public static SetForsendelseLestAvEksterntSystem.Select _root() {
return new SetForsendelseLestAvEksterntSystem.Select();
}
}
public static class Selector , TParent >
extends com.kscs.util.jaxb.Selector
{
private com.kscs.util.jaxb.Selector> forsendelsesid = null;
private com.kscs.util.jaxb.Selector> lestAvFodselsnummer = null;
private com.kscs.util.jaxb.Selector> navnPaEksterntSystem = null;
private com.kscs.util.jaxb.Selector> datoLest = 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());
}
if (this.lestAvFodselsnummer!= null) {
products.put("lestAvFodselsnummer", this.lestAvFodselsnummer.init());
}
if (this.navnPaEksterntSystem!= null) {
products.put("navnPaEksterntSystem", this.navnPaEksterntSystem.init());
}
if (this.datoLest!= null) {
products.put("datoLest", this.datoLest.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);
}
public com.kscs.util.jaxb.Selector> lestAvFodselsnummer() {
return ((this.lestAvFodselsnummer == null)?this.lestAvFodselsnummer = new com.kscs.util.jaxb.Selector>(this._root, this, "lestAvFodselsnummer"):this.lestAvFodselsnummer);
}
public com.kscs.util.jaxb.Selector> navnPaEksterntSystem() {
return ((this.navnPaEksterntSystem == null)?this.navnPaEksterntSystem = new com.kscs.util.jaxb.Selector>(this._root, this, "navnPaEksterntSystem"):this.navnPaEksterntSystem);
}
public com.kscs.util.jaxb.Selector> datoLest() {
return ((this.datoLest == null)?this.datoLest = new com.kscs.util.jaxb.Selector>(this._root, this, "datoLest"):this.datoLest);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy