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

no.difi.meldingsutveksling.ks.svarut.NoarkMetadataFraAvleverendeSakssystem 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.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 noarkMetadataFraAvleverendeSakssystem complex type. * *

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

 * <complexType name="noarkMetadataFraAvleverendeSakssystem">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="dokumentetsDato" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="ekstraMetadata" type="{http://www.ks.no/svarut/servicesV9}entry" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="journalaar" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="journaldato" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="journalpostnummer" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="journalposttype" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="journalsekvensnummer" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="journalstatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="saksaar" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="saksbehandler" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="sakssekvensnummer" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="tittel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "noarkMetadataFraAvleverendeSakssystem", propOrder = { "dokumentetsDato", "ekstraMetadata", "journalaar", "journaldato", "journalpostnummer", "journalposttype", "journalsekvensnummer", "journalstatus", "saksaar", "saksbehandler", "sakssekvensnummer", "tittel" }) public class NoarkMetadataFraAvleverendeSakssystem { @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar dokumentetsDato; @XmlElement(nillable = true) protected List ekstraMetadata; protected int journalaar; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar journaldato; protected int journalpostnummer; protected String journalposttype; protected int journalsekvensnummer; protected String journalstatus; protected int saksaar; protected String saksbehandler; protected int sakssekvensnummer; protected String tittel; /** * Gets the value of the dokumentetsDato property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDokumentetsDato() { return dokumentetsDato; } /** * Sets the value of the dokumentetsDato property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDokumentetsDato(XMLGregorianCalendar value) { this.dokumentetsDato = value; } /** * Gets the value of the ekstraMetadata 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 ekstraMetadata property. * *

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

     *    getEkstraMetadata().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Entry } * * */ public List getEkstraMetadata() { if (ekstraMetadata == null) { ekstraMetadata = new ArrayList(); } return this.ekstraMetadata; } /** * Gets the value of the journalaar property. * */ public int getJournalaar() { return journalaar; } /** * Sets the value of the journalaar property. * */ public void setJournalaar(int value) { this.journalaar = value; } /** * Gets the value of the journaldato property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getJournaldato() { return journaldato; } /** * Sets the value of the journaldato property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setJournaldato(XMLGregorianCalendar value) { this.journaldato = value; } /** * Gets the value of the journalpostnummer property. * */ public int getJournalpostnummer() { return journalpostnummer; } /** * Sets the value of the journalpostnummer property. * */ public void setJournalpostnummer(int value) { this.journalpostnummer = value; } /** * Gets the value of the journalposttype property. * * @return * possible object is * {@link String } * */ public String getJournalposttype() { return journalposttype; } /** * Sets the value of the journalposttype property. * * @param value * allowed object is * {@link String } * */ public void setJournalposttype(String value) { this.journalposttype = value; } /** * Gets the value of the journalsekvensnummer property. * */ public int getJournalsekvensnummer() { return journalsekvensnummer; } /** * Sets the value of the journalsekvensnummer property. * */ public void setJournalsekvensnummer(int value) { this.journalsekvensnummer = value; } /** * Gets the value of the journalstatus property. * * @return * possible object is * {@link String } * */ public String getJournalstatus() { return journalstatus; } /** * Sets the value of the journalstatus property. * * @param value * allowed object is * {@link String } * */ public void setJournalstatus(String value) { this.journalstatus = value; } /** * Gets the value of the saksaar property. * */ public int getSaksaar() { return saksaar; } /** * Sets the value of the saksaar property. * */ public void setSaksaar(int value) { this.saksaar = value; } /** * Gets the value of the saksbehandler property. * * @return * possible object is * {@link String } * */ public String getSaksbehandler() { return saksbehandler; } /** * Sets the value of the saksbehandler property. * * @param value * allowed object is * {@link String } * */ public void setSaksbehandler(String value) { this.saksbehandler = value; } /** * Gets the value of the sakssekvensnummer property. * */ public int getSakssekvensnummer() { return sakssekvensnummer; } /** * Sets the value of the sakssekvensnummer property. * */ public void setSakssekvensnummer(int value) { this.sakssekvensnummer = value; } /** * Gets the value of the tittel property. * * @return * possible object is * {@link String } * */ public String getTittel() { return tittel; } /** * Sets the value of the tittel property. * * @param value * allowed object is * {@link String } * */ public void setTittel(String value) { this.tittel = 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 NoarkMetadataFraAvleverendeSakssystem.Builder<_B> _other) { _other.dokumentetsDato = ((this.dokumentetsDato == null)?null:((XMLGregorianCalendar) this.dokumentetsDato.clone())); if (this.ekstraMetadata == null) { _other.ekstraMetadata = null; } else { _other.ekstraMetadata = new ArrayList>>(); for (Entry _item: this.ekstraMetadata) { _other.ekstraMetadata.add(((_item == null)?null:_item.newCopyBuilder(_other))); } } _other.journalaar = this.journalaar; _other.journaldato = ((this.journaldato == null)?null:((XMLGregorianCalendar) this.journaldato.clone())); _other.journalpostnummer = this.journalpostnummer; _other.journalposttype = this.journalposttype; _other.journalsekvensnummer = this.journalsekvensnummer; _other.journalstatus = this.journalstatus; _other.saksaar = this.saksaar; _other.saksbehandler = this.saksbehandler; _other.sakssekvensnummer = this.sakssekvensnummer; _other.tittel = this.tittel; } public<_B >NoarkMetadataFraAvleverendeSakssystem.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new NoarkMetadataFraAvleverendeSakssystem.Builder<_B>(_parentBuilder, this, true); } public NoarkMetadataFraAvleverendeSakssystem.Builder newCopyBuilder() { return newCopyBuilder(null); } public static NoarkMetadataFraAvleverendeSakssystem.Builder builder() { return new NoarkMetadataFraAvleverendeSakssystem.Builder(null, null, false); } public static<_B >NoarkMetadataFraAvleverendeSakssystem.Builder<_B> copyOf(final NoarkMetadataFraAvleverendeSakssystem _other) { final NoarkMetadataFraAvleverendeSakssystem.Builder<_B> _newBuilder = new NoarkMetadataFraAvleverendeSakssystem.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 NoarkMetadataFraAvleverendeSakssystem.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PropertyTree dokumentetsDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentetsDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentetsDatoPropertyTree!= null):((dokumentetsDatoPropertyTree == null)||(!dokumentetsDatoPropertyTree.isLeaf())))) { _other.dokumentetsDato = ((this.dokumentetsDato == null)?null:((XMLGregorianCalendar) this.dokumentetsDato.clone())); } final PropertyTree ekstraMetadataPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("ekstraMetadata")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(ekstraMetadataPropertyTree!= null):((ekstraMetadataPropertyTree == null)||(!ekstraMetadataPropertyTree.isLeaf())))) { if (this.ekstraMetadata == null) { _other.ekstraMetadata = null; } else { _other.ekstraMetadata = new ArrayList>>(); for (Entry _item: this.ekstraMetadata) { _other.ekstraMetadata.add(((_item == null)?null:_item.newCopyBuilder(_other, ekstraMetadataPropertyTree, _propertyTreeUse))); } } } final PropertyTree journalaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalaarPropertyTree!= null):((journalaarPropertyTree == null)||(!journalaarPropertyTree.isLeaf())))) { _other.journalaar = this.journalaar; } final PropertyTree journaldatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journaldato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journaldatoPropertyTree!= null):((journaldatoPropertyTree == null)||(!journaldatoPropertyTree.isLeaf())))) { _other.journaldato = ((this.journaldato == null)?null:((XMLGregorianCalendar) this.journaldato.clone())); } final PropertyTree journalpostnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalpostnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalpostnummerPropertyTree!= null):((journalpostnummerPropertyTree == null)||(!journalpostnummerPropertyTree.isLeaf())))) { _other.journalpostnummer = this.journalpostnummer; } final PropertyTree journalposttypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalposttype")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalposttypePropertyTree!= null):((journalposttypePropertyTree == null)||(!journalposttypePropertyTree.isLeaf())))) { _other.journalposttype = this.journalposttype; } final PropertyTree journalsekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalsekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalsekvensnummerPropertyTree!= null):((journalsekvensnummerPropertyTree == null)||(!journalsekvensnummerPropertyTree.isLeaf())))) { _other.journalsekvensnummer = this.journalsekvensnummer; } final PropertyTree journalstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalstatusPropertyTree!= null):((journalstatusPropertyTree == null)||(!journalstatusPropertyTree.isLeaf())))) { _other.journalstatus = this.journalstatus; } final PropertyTree saksaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksaarPropertyTree!= null):((saksaarPropertyTree == null)||(!saksaarPropertyTree.isLeaf())))) { _other.saksaar = this.saksaar; } final PropertyTree saksbehandlerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksbehandler")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksbehandlerPropertyTree!= null):((saksbehandlerPropertyTree == null)||(!saksbehandlerPropertyTree.isLeaf())))) { _other.saksbehandler = this.saksbehandler; } final PropertyTree sakssekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakssekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakssekvensnummerPropertyTree!= null):((sakssekvensnummerPropertyTree == null)||(!sakssekvensnummerPropertyTree.isLeaf())))) { _other.sakssekvensnummer = this.sakssekvensnummer; } final PropertyTree tittelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("tittel")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(tittelPropertyTree!= null):((tittelPropertyTree == null)||(!tittelPropertyTree.isLeaf())))) { _other.tittel = this.tittel; } } public<_B >NoarkMetadataFraAvleverendeSakssystem.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new NoarkMetadataFraAvleverendeSakssystem.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public NoarkMetadataFraAvleverendeSakssystem.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >NoarkMetadataFraAvleverendeSakssystem.Builder<_B> copyOf(final NoarkMetadataFraAvleverendeSakssystem _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final NoarkMetadataFraAvleverendeSakssystem.Builder<_B> _newBuilder = new NoarkMetadataFraAvleverendeSakssystem.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static NoarkMetadataFraAvleverendeSakssystem.Builder copyExcept(final NoarkMetadataFraAvleverendeSakssystem _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static NoarkMetadataFraAvleverendeSakssystem.Builder copyOnly(final NoarkMetadataFraAvleverendeSakssystem _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final NoarkMetadataFraAvleverendeSakssystem _storedValue; private XMLGregorianCalendar dokumentetsDato; private List>> ekstraMetadata; private int journalaar; private XMLGregorianCalendar journaldato; private int journalpostnummer; private String journalposttype; private int journalsekvensnummer; private String journalstatus; private int saksaar; private String saksbehandler; private int sakssekvensnummer; private String tittel; public Builder(final _B _parentBuilder, final NoarkMetadataFraAvleverendeSakssystem _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.dokumentetsDato = ((_other.dokumentetsDato == null)?null:((XMLGregorianCalendar) _other.dokumentetsDato.clone())); if (_other.ekstraMetadata == null) { this.ekstraMetadata = null; } else { this.ekstraMetadata = new ArrayList>>(); for (Entry _item: _other.ekstraMetadata) { this.ekstraMetadata.add(((_item == null)?null:_item.newCopyBuilder(this))); } } this.journalaar = _other.journalaar; this.journaldato = ((_other.journaldato == null)?null:((XMLGregorianCalendar) _other.journaldato.clone())); this.journalpostnummer = _other.journalpostnummer; this.journalposttype = _other.journalposttype; this.journalsekvensnummer = _other.journalsekvensnummer; this.journalstatus = _other.journalstatus; this.saksaar = _other.saksaar; this.saksbehandler = _other.saksbehandler; this.sakssekvensnummer = _other.sakssekvensnummer; this.tittel = _other.tittel; } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final NoarkMetadataFraAvleverendeSakssystem _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; final PropertyTree dokumentetsDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentetsDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentetsDatoPropertyTree!= null):((dokumentetsDatoPropertyTree == null)||(!dokumentetsDatoPropertyTree.isLeaf())))) { this.dokumentetsDato = ((_other.dokumentetsDato == null)?null:((XMLGregorianCalendar) _other.dokumentetsDato.clone())); } final PropertyTree ekstraMetadataPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("ekstraMetadata")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(ekstraMetadataPropertyTree!= null):((ekstraMetadataPropertyTree == null)||(!ekstraMetadataPropertyTree.isLeaf())))) { if (_other.ekstraMetadata == null) { this.ekstraMetadata = null; } else { this.ekstraMetadata = new ArrayList>>(); for (Entry _item: _other.ekstraMetadata) { this.ekstraMetadata.add(((_item == null)?null:_item.newCopyBuilder(this, ekstraMetadataPropertyTree, _propertyTreeUse))); } } } final PropertyTree journalaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalaarPropertyTree!= null):((journalaarPropertyTree == null)||(!journalaarPropertyTree.isLeaf())))) { this.journalaar = _other.journalaar; } final PropertyTree journaldatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journaldato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journaldatoPropertyTree!= null):((journaldatoPropertyTree == null)||(!journaldatoPropertyTree.isLeaf())))) { this.journaldato = ((_other.journaldato == null)?null:((XMLGregorianCalendar) _other.journaldato.clone())); } final PropertyTree journalpostnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalpostnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalpostnummerPropertyTree!= null):((journalpostnummerPropertyTree == null)||(!journalpostnummerPropertyTree.isLeaf())))) { this.journalpostnummer = _other.journalpostnummer; } final PropertyTree journalposttypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalposttype")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalposttypePropertyTree!= null):((journalposttypePropertyTree == null)||(!journalposttypePropertyTree.isLeaf())))) { this.journalposttype = _other.journalposttype; } final PropertyTree journalsekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalsekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalsekvensnummerPropertyTree!= null):((journalsekvensnummerPropertyTree == null)||(!journalsekvensnummerPropertyTree.isLeaf())))) { this.journalsekvensnummer = _other.journalsekvensnummer; } final PropertyTree journalstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalstatusPropertyTree!= null):((journalstatusPropertyTree == null)||(!journalstatusPropertyTree.isLeaf())))) { this.journalstatus = _other.journalstatus; } final PropertyTree saksaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksaarPropertyTree!= null):((saksaarPropertyTree == null)||(!saksaarPropertyTree.isLeaf())))) { this.saksaar = _other.saksaar; } final PropertyTree saksbehandlerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksbehandler")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksbehandlerPropertyTree!= null):((saksbehandlerPropertyTree == null)||(!saksbehandlerPropertyTree.isLeaf())))) { this.saksbehandler = _other.saksbehandler; } final PropertyTree sakssekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakssekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakssekvensnummerPropertyTree!= null):((sakssekvensnummerPropertyTree == null)||(!sakssekvensnummerPropertyTree.isLeaf())))) { this.sakssekvensnummer = _other.sakssekvensnummer; } final PropertyTree tittelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("tittel")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(tittelPropertyTree!= null):((tittelPropertyTree == null)||(!tittelPropertyTree.isLeaf())))) { this.tittel = _other.tittel; } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends NoarkMetadataFraAvleverendeSakssystem >_P init(final _P _product) { _product.dokumentetsDato = this.dokumentetsDato; if (this.ekstraMetadata!= null) { final List ekstraMetadata = new ArrayList(this.ekstraMetadata.size()); for (Entry.Builder> _item: this.ekstraMetadata) { ekstraMetadata.add(_item.build()); } _product.ekstraMetadata = ekstraMetadata; } _product.journalaar = this.journalaar; _product.journaldato = this.journaldato; _product.journalpostnummer = this.journalpostnummer; _product.journalposttype = this.journalposttype; _product.journalsekvensnummer = this.journalsekvensnummer; _product.journalstatus = this.journalstatus; _product.saksaar = this.saksaar; _product.saksbehandler = this.saksbehandler; _product.sakssekvensnummer = this.sakssekvensnummer; _product.tittel = this.tittel; return _product; } /** * Sets the new value of "dokumentetsDato" (any previous value will be replaced) * * @param dokumentetsDato * New value of the "dokumentetsDato" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withDokumentetsDato(final XMLGregorianCalendar dokumentetsDato) { this.dokumentetsDato = dokumentetsDato; return this; } /** * Adds the given items to the value of "ekstraMetadata" * * @param ekstraMetadata * Items to add to the value of the "ekstraMetadata" property */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> addEkstraMetadata(final Iterable ekstraMetadata) { if (ekstraMetadata!= null) { if (this.ekstraMetadata == null) { this.ekstraMetadata = new ArrayList>>(); } for (Entry _item: ekstraMetadata) { this.ekstraMetadata.add(new Entry.Builder>(this, _item, false)); } } return this; } /** * Sets the new value of "ekstraMetadata" (any previous value will be replaced) * * @param ekstraMetadata * New value of the "ekstraMetadata" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withEkstraMetadata(final Iterable ekstraMetadata) { if (this.ekstraMetadata!= null) { this.ekstraMetadata.clear(); } return addEkstraMetadata(ekstraMetadata); } /** * Adds the given items to the value of "ekstraMetadata" * * @param ekstraMetadata * Items to add to the value of the "ekstraMetadata" property */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> addEkstraMetadata(Entry... ekstraMetadata) { addEkstraMetadata(Arrays.asList(ekstraMetadata)); return this; } /** * Sets the new value of "ekstraMetadata" (any previous value will be replaced) * * @param ekstraMetadata * New value of the "ekstraMetadata" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withEkstraMetadata(Entry... ekstraMetadata) { withEkstraMetadata(Arrays.asList(ekstraMetadata)); return this; } /** * Returns a new builder to build an additional value of the "EkstraMetadata" property. * Use {@link no.difi.meldingsutveksling.ks.svarut.Entry.Builder#end()} to return to the current builder. * * @return * a new builder to build an additional value of the "EkstraMetadata" property. * Use {@link no.difi.meldingsutveksling.ks.svarut.Entry.Builder#end()} to return to the current builder. */ public Entry.Builder> addEkstraMetadata() { if (this.ekstraMetadata == null) { this.ekstraMetadata = new ArrayList>>(); } final Entry.Builder> ekstraMetadata_Builder = new Entry.Builder>(this, null, false); this.ekstraMetadata.add(ekstraMetadata_Builder); return ekstraMetadata_Builder; } /** * Sets the new value of "journalaar" (any previous value will be replaced) * * @param journalaar * New value of the "journalaar" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withJournalaar(final int journalaar) { this.journalaar = journalaar; return this; } /** * Sets the new value of "journaldato" (any previous value will be replaced) * * @param journaldato * New value of the "journaldato" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withJournaldato(final XMLGregorianCalendar journaldato) { this.journaldato = journaldato; return this; } /** * Sets the new value of "journalpostnummer" (any previous value will be replaced) * * @param journalpostnummer * New value of the "journalpostnummer" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withJournalpostnummer(final int journalpostnummer) { this.journalpostnummer = journalpostnummer; return this; } /** * Sets the new value of "journalposttype" (any previous value will be replaced) * * @param journalposttype * New value of the "journalposttype" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withJournalposttype(final String journalposttype) { this.journalposttype = journalposttype; return this; } /** * Sets the new value of "journalsekvensnummer" (any previous value will be replaced) * * @param journalsekvensnummer * New value of the "journalsekvensnummer" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withJournalsekvensnummer(final int journalsekvensnummer) { this.journalsekvensnummer = journalsekvensnummer; return this; } /** * Sets the new value of "journalstatus" (any previous value will be replaced) * * @param journalstatus * New value of the "journalstatus" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withJournalstatus(final String journalstatus) { this.journalstatus = journalstatus; return this; } /** * Sets the new value of "saksaar" (any previous value will be replaced) * * @param saksaar * New value of the "saksaar" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withSaksaar(final int saksaar) { this.saksaar = saksaar; return this; } /** * Sets the new value of "saksbehandler" (any previous value will be replaced) * * @param saksbehandler * New value of the "saksbehandler" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withSaksbehandler(final String saksbehandler) { this.saksbehandler = saksbehandler; return this; } /** * Sets the new value of "sakssekvensnummer" (any previous value will be replaced) * * @param sakssekvensnummer * New value of the "sakssekvensnummer" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withSakssekvensnummer(final int sakssekvensnummer) { this.sakssekvensnummer = sakssekvensnummer; return this; } /** * Sets the new value of "tittel" (any previous value will be replaced) * * @param tittel * New value of the "tittel" property. */ public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> withTittel(final String tittel) { this.tittel = tittel; return this; } @Override public NoarkMetadataFraAvleverendeSakssystem build() { if (_storedValue == null) { return this.init(new NoarkMetadataFraAvleverendeSakssystem()); } else { return ((NoarkMetadataFraAvleverendeSakssystem) _storedValue); } } public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> copyOf(final NoarkMetadataFraAvleverendeSakssystem _other) { _other.copyTo(this); return this; } public NoarkMetadataFraAvleverendeSakssystem.Builder<_B> copyOf(final NoarkMetadataFraAvleverendeSakssystem.Builder _other) { return copyOf(_other.build()); } } public static class Select extends NoarkMetadataFraAvleverendeSakssystem.Selector { Select() { super(null, null, null); } public static NoarkMetadataFraAvleverendeSakssystem.Select _root() { return new NoarkMetadataFraAvleverendeSakssystem.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private com.kscs.util.jaxb.Selector> dokumentetsDato = null; private Entry.Selector> ekstraMetadata = null; private com.kscs.util.jaxb.Selector> journaldato = null; private com.kscs.util.jaxb.Selector> journalposttype = null; private com.kscs.util.jaxb.Selector> journalstatus = null; private com.kscs.util.jaxb.Selector> saksbehandler = null; private com.kscs.util.jaxb.Selector> tittel = 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.dokumentetsDato!= null) { products.put("dokumentetsDato", this.dokumentetsDato.init()); } if (this.ekstraMetadata!= null) { products.put("ekstraMetadata", this.ekstraMetadata.init()); } if (this.journaldato!= null) { products.put("journaldato", this.journaldato.init()); } if (this.journalposttype!= null) { products.put("journalposttype", this.journalposttype.init()); } if (this.journalstatus!= null) { products.put("journalstatus", this.journalstatus.init()); } if (this.saksbehandler!= null) { products.put("saksbehandler", this.saksbehandler.init()); } if (this.tittel!= null) { products.put("tittel", this.tittel.init()); } return products; } public com.kscs.util.jaxb.Selector> dokumentetsDato() { return ((this.dokumentetsDato == null)?this.dokumentetsDato = new com.kscs.util.jaxb.Selector>(this._root, this, "dokumentetsDato"):this.dokumentetsDato); } public Entry.Selector> ekstraMetadata() { return ((this.ekstraMetadata == null)?this.ekstraMetadata = new Entry.Selector>(this._root, this, "ekstraMetadata"):this.ekstraMetadata); } public com.kscs.util.jaxb.Selector> journaldato() { return ((this.journaldato == null)?this.journaldato = new com.kscs.util.jaxb.Selector>(this._root, this, "journaldato"):this.journaldato); } public com.kscs.util.jaxb.Selector> journalposttype() { return ((this.journalposttype == null)?this.journalposttype = new com.kscs.util.jaxb.Selector>(this._root, this, "journalposttype"):this.journalposttype); } public com.kscs.util.jaxb.Selector> journalstatus() { return ((this.journalstatus == null)?this.journalstatus = new com.kscs.util.jaxb.Selector>(this._root, this, "journalstatus"):this.journalstatus); } public com.kscs.util.jaxb.Selector> saksbehandler() { return ((this.saksbehandler == null)?this.saksbehandler = new com.kscs.util.jaxb.Selector>(this._root, this, "saksbehandler"):this.saksbehandler); } public com.kscs.util.jaxb.Selector> tittel() { return ((this.tittel == null)?this.tittel = new com.kscs.util.jaxb.Selector>(this._root, this, "tittel"):this.tittel); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy