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

no.ks.fiks.arkiv.v1.arkivstruktur.Journalpost Maven / Gradle / Ivy

There is a newer version: 1.0.12
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.6 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.06.23 at 10:32:49 AM CEST 
//


package no.ks.fiks.arkiv.v1.arkivstruktur;

import java.time.LocalDate;
import java.time.ZonedDateTime;
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Dokumentmedium;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalposttype;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalstatus;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;
import org.w3._2001.xmlschema.Adapter1;
import org.w3._2001.xmlschema.Adapter3;


/**
 * 

Java class for journalpost complex type. * *

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

 * <complexType name="journalpost">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}registrering">
 *       <sequence>
 *         <element name="journalaar" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalaar"/>
 *         <element name="journalsekvensnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalsekvensnummer"/>
 *         <element name="journalpostnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalpostnummer"/>
 *         <element name="journalposttype" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalposttype"/>
 *         <element name="journalstatus" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalstatus"/>
 *         <element name="journaldato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journaldato"/>
 *         <element name="dokumentetsDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}dokumentetsDato" minOccurs="0"/>
 *         <element name="mottattDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}mottattDato" minOccurs="0"/>
 *         <element name="sendtDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}sendtDato" minOccurs="0"/>
 *         <element name="forfallsdato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}forfallsdato" minOccurs="0"/>
 *         <element name="offentlighetsvurdertDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}offentlighetsvurdertDato" minOccurs="0"/>
 *         <element name="antallVedlegg" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}antallVedlegg" minOccurs="0"/>
 *         <element name="utlaantDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}utlaantDato" minOccurs="0"/>
 *         <element name="utlaantTil" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}utlaantTil" minOccurs="0"/>
 *         <element name="journalenhet" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalenhet" minOccurs="0"/>
 *         <element name="dokumentflyt" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}dokumentflyt" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="presedens" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}presedens" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="elektroniskSignatur" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}elektroniskSignatur" minOccurs="0"/>
 *         <element name="avskrivningsdato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}avskrivningsdato"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "journalpost", propOrder = { "journalaar", "journalsekvensnummer", "journalpostnummer", "journalposttype", "journalstatus", "journaldato", "dokumentetsDato", "mottattDato", "sendtDato", "forfallsdato", "offentlighetsvurdertDato", "antallVedlegg", "utlaantDato", "utlaantTil", "journalenhet", "dokumentflyts", "presedens", "elektroniskSignatur", "avskrivningsdato" }) @XmlSeeAlso({ JournalpostMedSaksmappe.class }) public class Journalpost extends Registrering { protected int journalaar; protected int journalsekvensnummer; protected int journalpostnummer; @XmlElement(required = true) protected Journalposttype journalposttype; @XmlElement(required = true) protected Journalstatus journalstatus; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate journaldato; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate dokumentetsDato; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime mottattDato; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime sendtDato; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate forfallsdato; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate offentlighetsvurdertDato; protected Integer antallVedlegg; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate utlaantDato; protected String utlaantTil; protected String journalenhet; @XmlElement(name = "dokumentflyt") protected List dokumentflyts; protected List presedens; protected ElektroniskSignatur elektroniskSignatur; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate avskrivningsdato; /** * 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 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 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 Journalposttype } * */ public Journalposttype getJournalposttype() { return journalposttype; } /** * Sets the value of the journalposttype property. * * @param value * allowed object is * {@link Journalposttype } * */ public void setJournalposttype(Journalposttype value) { this.journalposttype = value; } /** * Gets the value of the journalstatus property. * * @return * possible object is * {@link Journalstatus } * */ public Journalstatus getJournalstatus() { return journalstatus; } /** * Sets the value of the journalstatus property. * * @param value * allowed object is * {@link Journalstatus } * */ public void setJournalstatus(Journalstatus value) { this.journalstatus = value; } /** * Gets the value of the journaldato property. * * @return * possible object is * {@link String } * */ public LocalDate getJournaldato() { return journaldato; } /** * Sets the value of the journaldato property. * * @param value * allowed object is * {@link String } * */ public void setJournaldato(LocalDate value) { this.journaldato = value; } /** * Gets the value of the dokumentetsDato property. * * @return * possible object is * {@link String } * */ public LocalDate getDokumentetsDato() { return dokumentetsDato; } /** * Sets the value of the dokumentetsDato property. * * @param value * allowed object is * {@link String } * */ public void setDokumentetsDato(LocalDate value) { this.dokumentetsDato = value; } /** * Gets the value of the mottattDato property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getMottattDato() { return mottattDato; } /** * Sets the value of the mottattDato property. * * @param value * allowed object is * {@link String } * */ public void setMottattDato(ZonedDateTime value) { this.mottattDato = value; } /** * Gets the value of the sendtDato property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getSendtDato() { return sendtDato; } /** * Sets the value of the sendtDato property. * * @param value * allowed object is * {@link String } * */ public void setSendtDato(ZonedDateTime value) { this.sendtDato = value; } /** * Gets the value of the forfallsdato property. * * @return * possible object is * {@link String } * */ public LocalDate getForfallsdato() { return forfallsdato; } /** * Sets the value of the forfallsdato property. * * @param value * allowed object is * {@link String } * */ public void setForfallsdato(LocalDate value) { this.forfallsdato = value; } /** * Gets the value of the offentlighetsvurdertDato property. * * @return * possible object is * {@link String } * */ public LocalDate getOffentlighetsvurdertDato() { return offentlighetsvurdertDato; } /** * Sets the value of the offentlighetsvurdertDato property. * * @param value * allowed object is * {@link String } * */ public void setOffentlighetsvurdertDato(LocalDate value) { this.offentlighetsvurdertDato = value; } /** * Gets the value of the antallVedlegg property. * * @return * possible object is * {@link Integer } * */ public Integer getAntallVedlegg() { return antallVedlegg; } /** * Sets the value of the antallVedlegg property. * * @param value * allowed object is * {@link Integer } * */ public void setAntallVedlegg(Integer value) { this.antallVedlegg = value; } /** * Gets the value of the utlaantDato property. * * @return * possible object is * {@link String } * */ public LocalDate getUtlaantDato() { return utlaantDato; } /** * Sets the value of the utlaantDato property. * * @param value * allowed object is * {@link String } * */ public void setUtlaantDato(LocalDate value) { this.utlaantDato = value; } /** * Gets the value of the utlaantTil property. * * @return * possible object is * {@link String } * */ public String getUtlaantTil() { return utlaantTil; } /** * Sets the value of the utlaantTil property. * * @param value * allowed object is * {@link String } * */ public void setUtlaantTil(String value) { this.utlaantTil = value; } /** * Gets the value of the journalenhet property. * * @return * possible object is * {@link String } * */ public String getJournalenhet() { return journalenhet; } /** * Sets the value of the journalenhet property. * * @param value * allowed object is * {@link String } * */ public void setJournalenhet(String value) { this.journalenhet = value; } /** * Gets the value of the dokumentflyts 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 dokumentflyts property. * *

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

     *    getDokumentflyts().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Dokumentflyt } * * */ public List getDokumentflyts() { if (dokumentflyts == null) { dokumentflyts = new ArrayList(); } return this.dokumentflyts; } /** * Gets the value of the presedens 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 presedens property. * *

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

     *    getPresedens().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Presedens } * * */ public List getPresedens() { if (presedens == null) { presedens = new ArrayList(); } return this.presedens; } /** * Gets the value of the elektroniskSignatur property. * * @return * possible object is * {@link ElektroniskSignatur } * */ public ElektroniskSignatur getElektroniskSignatur() { return elektroniskSignatur; } /** * Sets the value of the elektroniskSignatur property. * * @param value * allowed object is * {@link ElektroniskSignatur } * */ public void setElektroniskSignatur(ElektroniskSignatur value) { this.elektroniskSignatur = value; } /** * Gets the value of the avskrivningsdato property. * * @return * possible object is * {@link String } * */ public LocalDate getAvskrivningsdato() { return avskrivningsdato; } /** * Sets the value of the avskrivningsdato property. * * @param value * allowed object is * {@link String } * */ public void setAvskrivningsdato(LocalDate value) { this.avskrivningsdato = 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 Journalpost.Builder<_B> _other) { super.copyTo(_other); _other.journalaar = this.journalaar; _other.journalsekvensnummer = this.journalsekvensnummer; _other.journalpostnummer = this.journalpostnummer; _other.journalposttype = ((this.journalposttype == null)?null:this.journalposttype.newCopyBuilder(_other)); _other.journalstatus = ((this.journalstatus == null)?null:this.journalstatus.newCopyBuilder(_other)); _other.journaldato = this.journaldato; _other.dokumentetsDato = this.dokumentetsDato; _other.mottattDato = this.mottattDato; _other.sendtDato = this.sendtDato; _other.forfallsdato = this.forfallsdato; _other.offentlighetsvurdertDato = this.offentlighetsvurdertDato; _other.antallVedlegg = this.antallVedlegg; _other.utlaantDato = this.utlaantDato; _other.utlaantTil = this.utlaantTil; _other.journalenhet = this.journalenhet; if (this.dokumentflyts == null) { _other.dokumentflyts = null; } else { _other.dokumentflyts = new ArrayList>>(); for (Dokumentflyt _item: this.dokumentflyts) { _other.dokumentflyts.add(((_item == null)?null:_item.newCopyBuilder(_other))); } } if (this.presedens == null) { _other.presedens = null; } else { _other.presedens = new ArrayList>>(); for (Presedens _item: this.presedens) { _other.presedens.add(((_item == null)?null:_item.newCopyBuilder(_other))); } } _other.elektroniskSignatur = ((this.elektroniskSignatur == null)?null:this.elektroniskSignatur.newCopyBuilder(_other)); _other.avskrivningsdato = this.avskrivningsdato; } @Override public<_B >Journalpost.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new Journalpost.Builder<_B>(_parentBuilder, this, true); } @Override public Journalpost.Builder newCopyBuilder() { return newCopyBuilder(null); } public static Journalpost.Builder builder() { return new Journalpost.Builder(null, null, false); } public static<_B >Journalpost.Builder<_B> copyOf(final Registrering _other) { final Journalpost.Builder<_B> _newBuilder = new Journalpost.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >Journalpost.Builder<_B> copyOf(final Journalpost _other) { final Journalpost.Builder<_B> _newBuilder = new Journalpost.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 Journalpost.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _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 journalsekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalsekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalsekvensnummerPropertyTree!= null):((journalsekvensnummerPropertyTree == null)||(!journalsekvensnummerPropertyTree.isLeaf())))) { _other.journalsekvensnummer = this.journalsekvensnummer; } 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 == null)?null:this.journalposttype.newCopyBuilder(_other, journalposttypePropertyTree, _propertyTreeUse)); } final PropertyTree journalstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalstatusPropertyTree!= null):((journalstatusPropertyTree == null)||(!journalstatusPropertyTree.isLeaf())))) { _other.journalstatus = ((this.journalstatus == null)?null:this.journalstatus.newCopyBuilder(_other, journalstatusPropertyTree, _propertyTreeUse)); } final PropertyTree journaldatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journaldato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journaldatoPropertyTree!= null):((journaldatoPropertyTree == null)||(!journaldatoPropertyTree.isLeaf())))) { _other.journaldato = this.journaldato; } final PropertyTree dokumentetsDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentetsDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentetsDatoPropertyTree!= null):((dokumentetsDatoPropertyTree == null)||(!dokumentetsDatoPropertyTree.isLeaf())))) { _other.dokumentetsDato = this.dokumentetsDato; } final PropertyTree mottattDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mottattDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mottattDatoPropertyTree!= null):((mottattDatoPropertyTree == null)||(!mottattDatoPropertyTree.isLeaf())))) { _other.mottattDato = this.mottattDato; } final PropertyTree sendtDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sendtDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sendtDatoPropertyTree!= null):((sendtDatoPropertyTree == null)||(!sendtDatoPropertyTree.isLeaf())))) { _other.sendtDato = this.sendtDato; } final PropertyTree forfallsdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forfallsdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forfallsdatoPropertyTree!= null):((forfallsdatoPropertyTree == null)||(!forfallsdatoPropertyTree.isLeaf())))) { _other.forfallsdato = this.forfallsdato; } final PropertyTree offentlighetsvurdertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("offentlighetsvurdertDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(offentlighetsvurdertDatoPropertyTree!= null):((offentlighetsvurdertDatoPropertyTree == null)||(!offentlighetsvurdertDatoPropertyTree.isLeaf())))) { _other.offentlighetsvurdertDato = this.offentlighetsvurdertDato; } final PropertyTree antallVedleggPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("antallVedlegg")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(antallVedleggPropertyTree!= null):((antallVedleggPropertyTree == null)||(!antallVedleggPropertyTree.isLeaf())))) { _other.antallVedlegg = this.antallVedlegg; } final PropertyTree utlaantDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utlaantDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utlaantDatoPropertyTree!= null):((utlaantDatoPropertyTree == null)||(!utlaantDatoPropertyTree.isLeaf())))) { _other.utlaantDato = this.utlaantDato; } final PropertyTree utlaantTilPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utlaantTil")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utlaantTilPropertyTree!= null):((utlaantTilPropertyTree == null)||(!utlaantTilPropertyTree.isLeaf())))) { _other.utlaantTil = this.utlaantTil; } final PropertyTree journalenhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalenhet")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalenhetPropertyTree!= null):((journalenhetPropertyTree == null)||(!journalenhetPropertyTree.isLeaf())))) { _other.journalenhet = this.journalenhet; } final PropertyTree dokumentflytsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentflyts")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentflytsPropertyTree!= null):((dokumentflytsPropertyTree == null)||(!dokumentflytsPropertyTree.isLeaf())))) { if (this.dokumentflyts == null) { _other.dokumentflyts = null; } else { _other.dokumentflyts = new ArrayList>>(); for (Dokumentflyt _item: this.dokumentflyts) { _other.dokumentflyts.add(((_item == null)?null:_item.newCopyBuilder(_other, dokumentflytsPropertyTree, _propertyTreeUse))); } } } final PropertyTree presedensPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("presedens")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(presedensPropertyTree!= null):((presedensPropertyTree == null)||(!presedensPropertyTree.isLeaf())))) { if (this.presedens == null) { _other.presedens = null; } else { _other.presedens = new ArrayList>>(); for (Presedens _item: this.presedens) { _other.presedens.add(((_item == null)?null:_item.newCopyBuilder(_other, presedensPropertyTree, _propertyTreeUse))); } } } final PropertyTree elektroniskSignaturPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("elektroniskSignatur")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(elektroniskSignaturPropertyTree!= null):((elektroniskSignaturPropertyTree == null)||(!elektroniskSignaturPropertyTree.isLeaf())))) { _other.elektroniskSignatur = ((this.elektroniskSignatur == null)?null:this.elektroniskSignatur.newCopyBuilder(_other, elektroniskSignaturPropertyTree, _propertyTreeUse)); } final PropertyTree avskrivningsdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("avskrivningsdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(avskrivningsdatoPropertyTree!= null):((avskrivningsdatoPropertyTree == null)||(!avskrivningsdatoPropertyTree.isLeaf())))) { _other.avskrivningsdato = this.avskrivningsdato; } } @Override public<_B >Journalpost.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new Journalpost.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public Journalpost.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >Journalpost.Builder<_B> copyOf(final Registrering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Journalpost.Builder<_B> _newBuilder = new Journalpost.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >Journalpost.Builder<_B> copyOf(final Journalpost _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Journalpost.Builder<_B> _newBuilder = new Journalpost.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static Journalpost.Builder copyExcept(final Registrering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static Journalpost.Builder copyExcept(final Journalpost _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static Journalpost.Builder copyOnly(final Registrering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static Journalpost.Builder copyOnly(final Journalpost _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends Registrering.Builder<_B> implements Buildable { private int journalaar; private int journalsekvensnummer; private int journalpostnummer; private Journalposttype.Builder> journalposttype; private Journalstatus.Builder> journalstatus; private LocalDate journaldato; private LocalDate dokumentetsDato; private ZonedDateTime mottattDato; private ZonedDateTime sendtDato; private LocalDate forfallsdato; private LocalDate offentlighetsvurdertDato; private Integer antallVedlegg; private LocalDate utlaantDato; private String utlaantTil; private String journalenhet; private List>> dokumentflyts; private List>> presedens; private ElektroniskSignatur.Builder> elektroniskSignatur; private LocalDate avskrivningsdato; public Builder(final _B _parentBuilder, final Journalpost _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.journalaar = _other.journalaar; this.journalsekvensnummer = _other.journalsekvensnummer; this.journalpostnummer = _other.journalpostnummer; this.journalposttype = ((_other.journalposttype == null)?null:_other.journalposttype.newCopyBuilder(this)); this.journalstatus = ((_other.journalstatus == null)?null:_other.journalstatus.newCopyBuilder(this)); this.journaldato = _other.journaldato; this.dokumentetsDato = _other.dokumentetsDato; this.mottattDato = _other.mottattDato; this.sendtDato = _other.sendtDato; this.forfallsdato = _other.forfallsdato; this.offentlighetsvurdertDato = _other.offentlighetsvurdertDato; this.antallVedlegg = _other.antallVedlegg; this.utlaantDato = _other.utlaantDato; this.utlaantTil = _other.utlaantTil; this.journalenhet = _other.journalenhet; if (_other.dokumentflyts == null) { this.dokumentflyts = null; } else { this.dokumentflyts = new ArrayList>>(); for (Dokumentflyt _item: _other.dokumentflyts) { this.dokumentflyts.add(((_item == null)?null:_item.newCopyBuilder(this))); } } if (_other.presedens == null) { this.presedens = null; } else { this.presedens = new ArrayList>>(); for (Presedens _item: _other.presedens) { this.presedens.add(((_item == null)?null:_item.newCopyBuilder(this))); } } this.elektroniskSignatur = ((_other.elektroniskSignatur == null)?null:_other.elektroniskSignatur.newCopyBuilder(this)); this.avskrivningsdato = _other.avskrivningsdato; } } public Builder(final _B _parentBuilder, final Journalpost _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { 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 journalsekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalsekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalsekvensnummerPropertyTree!= null):((journalsekvensnummerPropertyTree == null)||(!journalsekvensnummerPropertyTree.isLeaf())))) { this.journalsekvensnummer = _other.journalsekvensnummer; } 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 == null)?null:_other.journalposttype.newCopyBuilder(this, journalposttypePropertyTree, _propertyTreeUse)); } final PropertyTree journalstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalstatusPropertyTree!= null):((journalstatusPropertyTree == null)||(!journalstatusPropertyTree.isLeaf())))) { this.journalstatus = ((_other.journalstatus == null)?null:_other.journalstatus.newCopyBuilder(this, journalstatusPropertyTree, _propertyTreeUse)); } final PropertyTree journaldatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journaldato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journaldatoPropertyTree!= null):((journaldatoPropertyTree == null)||(!journaldatoPropertyTree.isLeaf())))) { this.journaldato = _other.journaldato; } final PropertyTree dokumentetsDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentetsDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentetsDatoPropertyTree!= null):((dokumentetsDatoPropertyTree == null)||(!dokumentetsDatoPropertyTree.isLeaf())))) { this.dokumentetsDato = _other.dokumentetsDato; } final PropertyTree mottattDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mottattDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mottattDatoPropertyTree!= null):((mottattDatoPropertyTree == null)||(!mottattDatoPropertyTree.isLeaf())))) { this.mottattDato = _other.mottattDato; } final PropertyTree sendtDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sendtDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sendtDatoPropertyTree!= null):((sendtDatoPropertyTree == null)||(!sendtDatoPropertyTree.isLeaf())))) { this.sendtDato = _other.sendtDato; } final PropertyTree forfallsdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forfallsdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forfallsdatoPropertyTree!= null):((forfallsdatoPropertyTree == null)||(!forfallsdatoPropertyTree.isLeaf())))) { this.forfallsdato = _other.forfallsdato; } final PropertyTree offentlighetsvurdertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("offentlighetsvurdertDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(offentlighetsvurdertDatoPropertyTree!= null):((offentlighetsvurdertDatoPropertyTree == null)||(!offentlighetsvurdertDatoPropertyTree.isLeaf())))) { this.offentlighetsvurdertDato = _other.offentlighetsvurdertDato; } final PropertyTree antallVedleggPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("antallVedlegg")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(antallVedleggPropertyTree!= null):((antallVedleggPropertyTree == null)||(!antallVedleggPropertyTree.isLeaf())))) { this.antallVedlegg = _other.antallVedlegg; } final PropertyTree utlaantDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utlaantDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utlaantDatoPropertyTree!= null):((utlaantDatoPropertyTree == null)||(!utlaantDatoPropertyTree.isLeaf())))) { this.utlaantDato = _other.utlaantDato; } final PropertyTree utlaantTilPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utlaantTil")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utlaantTilPropertyTree!= null):((utlaantTilPropertyTree == null)||(!utlaantTilPropertyTree.isLeaf())))) { this.utlaantTil = _other.utlaantTil; } final PropertyTree journalenhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalenhet")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalenhetPropertyTree!= null):((journalenhetPropertyTree == null)||(!journalenhetPropertyTree.isLeaf())))) { this.journalenhet = _other.journalenhet; } final PropertyTree dokumentflytsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentflyts")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentflytsPropertyTree!= null):((dokumentflytsPropertyTree == null)||(!dokumentflytsPropertyTree.isLeaf())))) { if (_other.dokumentflyts == null) { this.dokumentflyts = null; } else { this.dokumentflyts = new ArrayList>>(); for (Dokumentflyt _item: _other.dokumentflyts) { this.dokumentflyts.add(((_item == null)?null:_item.newCopyBuilder(this, dokumentflytsPropertyTree, _propertyTreeUse))); } } } final PropertyTree presedensPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("presedens")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(presedensPropertyTree!= null):((presedensPropertyTree == null)||(!presedensPropertyTree.isLeaf())))) { if (_other.presedens == null) { this.presedens = null; } else { this.presedens = new ArrayList>>(); for (Presedens _item: _other.presedens) { this.presedens.add(((_item == null)?null:_item.newCopyBuilder(this, presedensPropertyTree, _propertyTreeUse))); } } } final PropertyTree elektroniskSignaturPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("elektroniskSignatur")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(elektroniskSignaturPropertyTree!= null):((elektroniskSignaturPropertyTree == null)||(!elektroniskSignaturPropertyTree.isLeaf())))) { this.elektroniskSignatur = ((_other.elektroniskSignatur == null)?null:_other.elektroniskSignatur.newCopyBuilder(this, elektroniskSignaturPropertyTree, _propertyTreeUse)); } final PropertyTree avskrivningsdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("avskrivningsdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(avskrivningsdatoPropertyTree!= null):((avskrivningsdatoPropertyTree == null)||(!avskrivningsdatoPropertyTree.isLeaf())))) { this.avskrivningsdato = _other.avskrivningsdato; } } } protected<_P extends Journalpost >_P init(final _P _product) { _product.journalaar = this.journalaar; _product.journalsekvensnummer = this.journalsekvensnummer; _product.journalpostnummer = this.journalpostnummer; _product.journalposttype = ((this.journalposttype == null)?null:this.journalposttype.build()); _product.journalstatus = ((this.journalstatus == null)?null:this.journalstatus.build()); _product.journaldato = this.journaldato; _product.dokumentetsDato = this.dokumentetsDato; _product.mottattDato = this.mottattDato; _product.sendtDato = this.sendtDato; _product.forfallsdato = this.forfallsdato; _product.offentlighetsvurdertDato = this.offentlighetsvurdertDato; _product.antallVedlegg = this.antallVedlegg; _product.utlaantDato = this.utlaantDato; _product.utlaantTil = this.utlaantTil; _product.journalenhet = this.journalenhet; if (this.dokumentflyts!= null) { final List dokumentflyts = new ArrayList(this.dokumentflyts.size()); for (Dokumentflyt.Builder> _item: this.dokumentflyts) { dokumentflyts.add(_item.build()); } _product.dokumentflyts = dokumentflyts; } if (this.presedens!= null) { final List presedens = new ArrayList(this.presedens.size()); for (Presedens.Builder> _item: this.presedens) { presedens.add(_item.build()); } _product.presedens = presedens; } _product.elektroniskSignatur = ((this.elektroniskSignatur == null)?null:this.elektroniskSignatur.build()); _product.avskrivningsdato = this.avskrivningsdato; return super.init(_product); } /** * Sets the new value of "journalaar" (any previous value will be replaced) * * @param journalaar * New value of the "journalaar" property. */ public Journalpost.Builder<_B> withJournalaar(final int journalaar) { this.journalaar = journalaar; return this; } /** * Sets the new value of "journalsekvensnummer" (any previous value will be * replaced) * * @param journalsekvensnummer * New value of the "journalsekvensnummer" property. */ public Journalpost.Builder<_B> withJournalsekvensnummer(final int journalsekvensnummer) { this.journalsekvensnummer = journalsekvensnummer; return this; } /** * Sets the new value of "journalpostnummer" (any previous value will be replaced) * * @param journalpostnummer * New value of the "journalpostnummer" property. */ public Journalpost.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 Journalpost.Builder<_B> withJournalposttype(final Journalposttype journalposttype) { this.journalposttype = ((journalposttype == null)?null:new Journalposttype.Builder>(this, journalposttype, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "journalposttype" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalposttype.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "journalposttype" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalposttype.Builder#end()} * to return to the current builder. */ public Journalposttype.Builder> withJournalposttype() { if (this.journalposttype!= null) { return this.journalposttype; } return this.journalposttype = new Journalposttype.Builder>(this, null, false); } /** * Sets the new value of "journalstatus" (any previous value will be replaced) * * @param journalstatus * New value of the "journalstatus" property. */ public Journalpost.Builder<_B> withJournalstatus(final Journalstatus journalstatus) { this.journalstatus = ((journalstatus == null)?null:new Journalstatus.Builder>(this, journalstatus, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "journalstatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalstatus.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "journalstatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalstatus.Builder#end()} * to return to the current builder. */ public Journalstatus.Builder> withJournalstatus() { if (this.journalstatus!= null) { return this.journalstatus; } return this.journalstatus = new Journalstatus.Builder>(this, null, false); } /** * Sets the new value of "journaldato" (any previous value will be replaced) * * @param journaldato * New value of the "journaldato" property. */ public Journalpost.Builder<_B> withJournaldato(final LocalDate journaldato) { this.journaldato = journaldato; return this; } /** * Sets the new value of "dokumentetsDato" (any previous value will be replaced) * * @param dokumentetsDato * New value of the "dokumentetsDato" property. */ public Journalpost.Builder<_B> withDokumentetsDato(final LocalDate dokumentetsDato) { this.dokumentetsDato = dokumentetsDato; return this; } /** * Sets the new value of "mottattDato" (any previous value will be replaced) * * @param mottattDato * New value of the "mottattDato" property. */ public Journalpost.Builder<_B> withMottattDato(final ZonedDateTime mottattDato) { this.mottattDato = mottattDato; return this; } /** * Sets the new value of "sendtDato" (any previous value will be replaced) * * @param sendtDato * New value of the "sendtDato" property. */ public Journalpost.Builder<_B> withSendtDato(final ZonedDateTime sendtDato) { this.sendtDato = sendtDato; return this; } /** * Sets the new value of "forfallsdato" (any previous value will be replaced) * * @param forfallsdato * New value of the "forfallsdato" property. */ public Journalpost.Builder<_B> withForfallsdato(final LocalDate forfallsdato) { this.forfallsdato = forfallsdato; return this; } /** * Sets the new value of "offentlighetsvurdertDato" (any previous value will be * replaced) * * @param offentlighetsvurdertDato * New value of the "offentlighetsvurdertDato" property. */ public Journalpost.Builder<_B> withOffentlighetsvurdertDato(final LocalDate offentlighetsvurdertDato) { this.offentlighetsvurdertDato = offentlighetsvurdertDato; return this; } /** * Sets the new value of "antallVedlegg" (any previous value will be replaced) * * @param antallVedlegg * New value of the "antallVedlegg" property. */ public Journalpost.Builder<_B> withAntallVedlegg(final Integer antallVedlegg) { this.antallVedlegg = antallVedlegg; return this; } /** * Sets the new value of "utlaantDato" (any previous value will be replaced) * * @param utlaantDato * New value of the "utlaantDato" property. */ public Journalpost.Builder<_B> withUtlaantDato(final LocalDate utlaantDato) { this.utlaantDato = utlaantDato; return this; } /** * Sets the new value of "utlaantTil" (any previous value will be replaced) * * @param utlaantTil * New value of the "utlaantTil" property. */ public Journalpost.Builder<_B> withUtlaantTil(final String utlaantTil) { this.utlaantTil = utlaantTil; return this; } /** * Sets the new value of "journalenhet" (any previous value will be replaced) * * @param journalenhet * New value of the "journalenhet" property. */ public Journalpost.Builder<_B> withJournalenhet(final String journalenhet) { this.journalenhet = journalenhet; return this; } /** * Adds the given items to the value of "dokumentflyts" * * @param dokumentflyts * Items to add to the value of the "dokumentflyts" property */ public Journalpost.Builder<_B> addDokumentflyts(final Iterable dokumentflyts) { if (dokumentflyts!= null) { if (this.dokumentflyts == null) { this.dokumentflyts = new ArrayList>>(); } for (Dokumentflyt _item: dokumentflyts) { this.dokumentflyts.add(new Dokumentflyt.Builder>(this, _item, false)); } } return this; } /** * Sets the new value of "dokumentflyts" (any previous value will be replaced) * * @param dokumentflyts * New value of the "dokumentflyts" property. */ public Journalpost.Builder<_B> withDokumentflyts(final Iterable dokumentflyts) { if (this.dokumentflyts!= null) { this.dokumentflyts.clear(); } return addDokumentflyts(dokumentflyts); } /** * Adds the given items to the value of "dokumentflyts" * * @param dokumentflyts * Items to add to the value of the "dokumentflyts" property */ public Journalpost.Builder<_B> addDokumentflyts(Dokumentflyt... dokumentflyts) { addDokumentflyts(Arrays.asList(dokumentflyts)); return this; } /** * Sets the new value of "dokumentflyts" (any previous value will be replaced) * * @param dokumentflyts * New value of the "dokumentflyts" property. */ public Journalpost.Builder<_B> withDokumentflyts(Dokumentflyt... dokumentflyts) { withDokumentflyts(Arrays.asList(dokumentflyts)); return this; } /** * Returns a new builder to build an additional value of the "Dokumentflyts" * property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentflyt.Builder#end()} to * return to the current builder. * * @return * a new builder to build an additional value of the "Dokumentflyts" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentflyt.Builder#end()} to * return to the current builder. */ public Dokumentflyt.Builder> addDokumentflyts() { if (this.dokumentflyts == null) { this.dokumentflyts = new ArrayList>>(); } final Dokumentflyt.Builder> dokumentflyts_Builder = new Dokumentflyt.Builder>(this, null, false); this.dokumentflyts.add(dokumentflyts_Builder); return dokumentflyts_Builder; } /** * Adds the given items to the value of "presedens" * * @param presedens * Items to add to the value of the "presedens" property */ public Journalpost.Builder<_B> addPresedens(final Iterable presedens) { if (presedens!= null) { if (this.presedens == null) { this.presedens = new ArrayList>>(); } for (Presedens _item: presedens) { this.presedens.add(new Presedens.Builder>(this, _item, false)); } } return this; } /** * Sets the new value of "presedens" (any previous value will be replaced) * * @param presedens * New value of the "presedens" property. */ public Journalpost.Builder<_B> withPresedens(final Iterable presedens) { if (this.presedens!= null) { this.presedens.clear(); } return addPresedens(presedens); } /** * Adds the given items to the value of "presedens" * * @param presedens * Items to add to the value of the "presedens" property */ public Journalpost.Builder<_B> addPresedens(Presedens... presedens) { addPresedens(Arrays.asList(presedens)); return this; } /** * Sets the new value of "presedens" (any previous value will be replaced) * * @param presedens * New value of the "presedens" property. */ public Journalpost.Builder<_B> withPresedens(Presedens... presedens) { withPresedens(Arrays.asList(presedens)); return this; } /** * Returns a new builder to build an additional value of the "Presedens" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Presedens.Builder#end()} to return * to the current builder. * * @return * a new builder to build an additional value of the "Presedens" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Presedens.Builder#end()} to return * to the current builder. */ public Presedens.Builder> addPresedens() { if (this.presedens == null) { this.presedens = new ArrayList>>(); } final Presedens.Builder> presedens_Builder = new Presedens.Builder>(this, null, false); this.presedens.add(presedens_Builder); return presedens_Builder; } /** * Sets the new value of "elektroniskSignatur" (any previous value will be * replaced) * * @param elektroniskSignatur * New value of the "elektroniskSignatur" property. */ public Journalpost.Builder<_B> withElektroniskSignatur(final ElektroniskSignatur elektroniskSignatur) { this.elektroniskSignatur = ((elektroniskSignatur == null)?null:new ElektroniskSignatur.Builder>(this, elektroniskSignatur, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "elektroniskSignatur" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.ElektroniskSignatur.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "elektroniskSignatur" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.ElektroniskSignatur.Builder#end()} * to return to the current builder. */ public ElektroniskSignatur.Builder> withElektroniskSignatur() { if (this.elektroniskSignatur!= null) { return this.elektroniskSignatur; } return this.elektroniskSignatur = new ElektroniskSignatur.Builder>(this, null, false); } /** * Sets the new value of "avskrivningsdato" (any previous value will be replaced) * * @param avskrivningsdato * New value of the "avskrivningsdato" property. */ public Journalpost.Builder<_B> withAvskrivningsdato(final LocalDate avskrivningsdato) { this.avskrivningsdato = avskrivningsdato; return this; } /** * Sets the new value of "systemID" (any previous value will be replaced) * * @param systemID * New value of the "systemID" property. */ @Override public Journalpost.Builder<_B> withSystemID(final SystemID systemID) { super.withSystemID(systemID); return this; } /** * Returns the existing builder or a new builder to build the value of the * "systemID" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID.Builder#end()} to * return to the current builder. * * @return * A new builder to build the value of the "systemID" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID.Builder#end()} to * return to the current builder. */ public SystemID.Builder> withSystemID() { return ((SystemID.Builder> ) super.withSystemID()); } /** * Sets the new value of "opprettetDato" (any previous value will be replaced) * * @param opprettetDato * New value of the "opprettetDato" property. */ @Override public Journalpost.Builder<_B> withOpprettetDato(final ZonedDateTime opprettetDato) { super.withOpprettetDato(opprettetDato); return this; } /** * Sets the new value of "opprettetAv" (any previous value will be replaced) * * @param opprettetAv * New value of the "opprettetAv" property. */ @Override public Journalpost.Builder<_B> withOpprettetAv(final String opprettetAv) { super.withOpprettetAv(opprettetAv); return this; } /** * Sets the new value of "arkivertDato" (any previous value will be replaced) * * @param arkivertDato * New value of the "arkivertDato" property. */ @Override public Journalpost.Builder<_B> withArkivertDato(final ZonedDateTime arkivertDato) { super.withArkivertDato(arkivertDato); return this; } /** * Sets the new value of "arkivertAv" (any previous value will be replaced) * * @param arkivertAv * New value of the "arkivertAv" property. */ @Override public Journalpost.Builder<_B> withArkivertAv(final String arkivertAv) { super.withArkivertAv(arkivertAv); return this; } /** * Sets the new value of "arkivdel" (any previous value will be replaced) * * @param arkivdel * New value of the "arkivdel" property. */ @Override public Journalpost.Builder<_B> withArkivdel(final Kode arkivdel) { super.withArkivdel(arkivdel); return this; } /** * Returns the existing builder or a new builder to build the value of the * "arkivdel" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "arkivdel" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode.Builder#end()} * to return to the current builder. */ public Kode.Builder> withArkivdel() { return ((Kode.Builder> ) super.withArkivdel()); } /** * Sets the new value of "referanseForelderMappe" (any previous value will be * replaced) * * @param referanseForelderMappe * New value of the "referanseForelderMappe" property. */ @Override public Journalpost.Builder<_B> withReferanseForelderMappe(final ReferanseTilMappe referanseForelderMappe) { super.withReferanseForelderMappe(referanseForelderMappe); return this; } /** * Returns the existing builder or a new builder to build the value of the * "referanseForelderMappe" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "referanseForelderMappe" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe.Builder#end()} * to return to the current builder. */ public ReferanseTilMappe.Builder> withReferanseForelderMappe() { return ((ReferanseTilMappe.Builder> ) super.withReferanseForelderMappe()); } /** * Adds the given items to the value of "parts" * * @param parts * Items to add to the value of the "parts" property */ @Override public Journalpost.Builder<_B> addParts(final Iterable parts) { super.addParts(parts); return this; } /** * Adds the given items to the value of "parts" * * @param parts * Items to add to the value of the "parts" property */ @Override public Journalpost.Builder<_B> addParts(Part... parts) { super.addParts(parts); return this; } /** * Sets the new value of "parts" (any previous value will be replaced) * * @param parts * New value of the "parts" property. */ @Override public Journalpost.Builder<_B> withParts(final Iterable parts) { super.withParts(parts); return this; } /** * Sets the new value of "parts" (any previous value will be replaced) * * @param parts * New value of the "parts" property. */ @Override public Journalpost.Builder<_B> withParts(Part... parts) { super.withParts(parts); return this; } /** * Returns a new builder to build an additional value of the "parts" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Part.Builder#end()} to return to * the current builder. * * @return * a new builder to build an additional value of the "parts" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Part.Builder#end()} to return to * the current builder. */ @Override public Part.Builder> addParts() { return ((Part.Builder> ) super.addParts()); } /** * Sets the new value of "kassasjon" (any previous value will be replaced) * * @param kassasjon * New value of the "kassasjon" property. */ @Override public Journalpost.Builder<_B> withKassasjon(final Kassasjon kassasjon) { super.withKassasjon(kassasjon); return this; } /** * Returns the existing builder or a new builder to build the value of the * "kassasjon" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kassasjon.Builder#end()} to return * to the current builder. * * @return * A new builder to build the value of the "kassasjon" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kassasjon.Builder#end()} to return * to the current builder. */ public Kassasjon.Builder> withKassasjon() { return ((Kassasjon.Builder> ) super.withKassasjon()); } /** * Sets the new value of "skjerming" (any previous value will be replaced) * * @param skjerming * New value of the "skjerming" property. */ @Override public Journalpost.Builder<_B> withSkjerming(final Skjerming skjerming) { super.withSkjerming(skjerming); return this; } /** * Returns the existing builder or a new builder to build the value of the * "skjerming" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Skjerming.Builder#end()} to return * to the current builder. * * @return * A new builder to build the value of the "skjerming" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Skjerming.Builder#end()} to return * to the current builder. */ public Skjerming.Builder> withSkjerming() { return ((Skjerming.Builder> ) super.withSkjerming()); } /** * Sets the new value of "gradering" (any previous value will be replaced) * * @param gradering * New value of the "gradering" property. */ @Override public Journalpost.Builder<_B> withGradering(final Gradering gradering) { super.withGradering(gradering); return this; } /** * Returns the existing builder or a new builder to build the value of the * "gradering" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Gradering.Builder#end()} to return * to the current builder. * * @return * A new builder to build the value of the "gradering" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Gradering.Builder#end()} to return * to the current builder. */ public Gradering.Builder> withGradering() { return ((Gradering.Builder> ) super.withGradering()); } /** * Adds the given items to the value of "dokumentbeskrivelses" * * @param dokumentbeskrivelses * Items to add to the value of the "dokumentbeskrivelses" property */ @Override public Journalpost.Builder<_B> addDokumentbeskrivelses(final Iterable dokumentbeskrivelses) { super.addDokumentbeskrivelses(dokumentbeskrivelses); return this; } /** * Adds the given items to the value of "dokumentbeskrivelses" * * @param dokumentbeskrivelses * Items to add to the value of the "dokumentbeskrivelses" property */ @Override public Journalpost.Builder<_B> addDokumentbeskrivelses(Dokumentbeskrivelse... dokumentbeskrivelses) { super.addDokumentbeskrivelses(dokumentbeskrivelses); return this; } /** * Sets the new value of "dokumentbeskrivelses" (any previous value will be * replaced) * * @param dokumentbeskrivelses * New value of the "dokumentbeskrivelses" property. */ @Override public Journalpost.Builder<_B> withDokumentbeskrivelses(final Iterable dokumentbeskrivelses) { super.withDokumentbeskrivelses(dokumentbeskrivelses); return this; } /** * Sets the new value of "dokumentbeskrivelses" (any previous value will be * replaced) * * @param dokumentbeskrivelses * New value of the "dokumentbeskrivelses" property. */ @Override public Journalpost.Builder<_B> withDokumentbeskrivelses(Dokumentbeskrivelse... dokumentbeskrivelses) { super.withDokumentbeskrivelses(dokumentbeskrivelses); return this; } /** * Returns a new builder to build an additional value of the "dokumentbeskrivelses" * property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentbeskrivelse.Builder#end()} * to return to the current builder. * * @return * a new builder to build an additional value of the "dokumentbeskrivelses" * property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentbeskrivelse.Builder#end()} * to return to the current builder. */ @Override public Dokumentbeskrivelse.Builder> addDokumentbeskrivelses() { return ((Dokumentbeskrivelse.Builder> ) super.addDokumentbeskrivelses()); } /** * Sets the new value of "registreringsID" (any previous value will be replaced) * * @param registreringsID * New value of the "registreringsID" property. */ @Override public Journalpost.Builder<_B> withRegistreringsID(final String registreringsID) { super.withRegistreringsID(registreringsID); return this; } /** * Sets the new value of "tittel" (any previous value will be replaced) * * @param tittel * New value of the "tittel" property. */ @Override public Journalpost.Builder<_B> withTittel(final String tittel) { super.withTittel(tittel); return this; } /** * Sets the new value of "offentligTittel" (any previous value will be replaced) * * @param offentligTittel * New value of the "offentligTittel" property. */ @Override public Journalpost.Builder<_B> withOffentligTittel(final String offentligTittel) { super.withOffentligTittel(offentligTittel); return this; } /** * Sets the new value of "beskrivelse" (any previous value will be replaced) * * @param beskrivelse * New value of the "beskrivelse" property. */ @Override public Journalpost.Builder<_B> withBeskrivelse(final String beskrivelse) { super.withBeskrivelse(beskrivelse); return this; } /** * Adds the given items to the value of "noekkelords" * * @param noekkelords * Items to add to the value of the "noekkelords" property */ @Override public Journalpost.Builder<_B> addNoekkelords(final Iterable noekkelords) { super.addNoekkelords(noekkelords); return this; } /** * Adds the given items to the value of "noekkelords" * * @param noekkelords * Items to add to the value of the "noekkelords" property */ @Override public Journalpost.Builder<_B> addNoekkelords(String... noekkelords) { super.addNoekkelords(noekkelords); return this; } /** * Sets the new value of "noekkelords" (any previous value will be replaced) * * @param noekkelords * New value of the "noekkelords" property. */ @Override public Journalpost.Builder<_B> withNoekkelords(final Iterable noekkelords) { super.withNoekkelords(noekkelords); return this; } /** * Sets the new value of "noekkelords" (any previous value will be replaced) * * @param noekkelords * New value of the "noekkelords" property. */ @Override public Journalpost.Builder<_B> withNoekkelords(String... noekkelords) { super.withNoekkelords(noekkelords); return this; } /** * Adds the given items to the value of "forfatters" * * @param forfatters * Items to add to the value of the "forfatters" property */ @Override public Journalpost.Builder<_B> addForfatters(final Iterable forfatters) { super.addForfatters(forfatters); return this; } /** * Adds the given items to the value of "forfatters" * * @param forfatters * Items to add to the value of the "forfatters" property */ @Override public Journalpost.Builder<_B> addForfatters(String... forfatters) { super.addForfatters(forfatters); return this; } /** * Sets the new value of "forfatters" (any previous value will be replaced) * * @param forfatters * New value of the "forfatters" property. */ @Override public Journalpost.Builder<_B> withForfatters(final Iterable forfatters) { super.withForfatters(forfatters); return this; } /** * Sets the new value of "forfatters" (any previous value will be replaced) * * @param forfatters * New value of the "forfatters" property. */ @Override public Journalpost.Builder<_B> withForfatters(String... forfatters) { super.withForfatters(forfatters); return this; } /** * Sets the new value of "dokumentmedium" (any previous value will be replaced) * * @param dokumentmedium * New value of the "dokumentmedium" property. */ @Override public Journalpost.Builder<_B> withDokumentmedium(final Dokumentmedium dokumentmedium) { super.withDokumentmedium(dokumentmedium); return this; } /** * Returns the existing builder or a new builder to build the value of the * "dokumentmedium" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Dokumentmedium.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "dokumentmedium" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Dokumentmedium.Builder#end()} * to return to the current builder. */ public Dokumentmedium.Builder> withDokumentmedium() { return ((Dokumentmedium.Builder> ) super.withDokumentmedium()); } /** * Adds the given items to the value of "oppbevaringssteds" * * @param oppbevaringssteds * Items to add to the value of the "oppbevaringssteds" property */ @Override public Journalpost.Builder<_B> addOppbevaringssteds(final Iterable oppbevaringssteds) { super.addOppbevaringssteds(oppbevaringssteds); return this; } /** * Adds the given items to the value of "oppbevaringssteds" * * @param oppbevaringssteds * Items to add to the value of the "oppbevaringssteds" property */ @Override public Journalpost.Builder<_B> addOppbevaringssteds(String... oppbevaringssteds) { super.addOppbevaringssteds(oppbevaringssteds); return this; } /** * Sets the new value of "oppbevaringssteds" (any previous value will be replaced) * * @param oppbevaringssteds * New value of the "oppbevaringssteds" property. */ @Override public Journalpost.Builder<_B> withOppbevaringssteds(final Iterable oppbevaringssteds) { super.withOppbevaringssteds(oppbevaringssteds); return this; } /** * Sets the new value of "oppbevaringssteds" (any previous value will be replaced) * * @param oppbevaringssteds * New value of the "oppbevaringssteds" property. */ @Override public Journalpost.Builder<_B> withOppbevaringssteds(String... oppbevaringssteds) { super.withOppbevaringssteds(oppbevaringssteds); return this; } /** * Sets the new value of "virksomhetsspesifikkeMetadata" (any previous value will * be replaced) * * @param virksomhetsspesifikkeMetadata * New value of the "virksomhetsspesifikkeMetadata" property. */ @Override public Journalpost.Builder<_B> withVirksomhetsspesifikkeMetadata(final Object virksomhetsspesifikkeMetadata) { super.withVirksomhetsspesifikkeMetadata(virksomhetsspesifikkeMetadata); return this; } /** * Adds the given items to the value of "merknads" * * @param merknads * Items to add to the value of the "merknads" property */ @Override public Journalpost.Builder<_B> addMerknads(final Iterable merknads) { super.addMerknads(merknads); return this; } /** * Adds the given items to the value of "merknads" * * @param merknads * Items to add to the value of the "merknads" property */ @Override public Journalpost.Builder<_B> addMerknads(Merknad... merknads) { super.addMerknads(merknads); return this; } /** * Sets the new value of "merknads" (any previous value will be replaced) * * @param merknads * New value of the "merknads" property. */ @Override public Journalpost.Builder<_B> withMerknads(final Iterable merknads) { super.withMerknads(merknads); return this; } /** * Sets the new value of "merknads" (any previous value will be replaced) * * @param merknads * New value of the "merknads" property. */ @Override public Journalpost.Builder<_B> withMerknads(Merknad... merknads) { super.withMerknads(merknads); return this; } /** * Returns a new builder to build an additional value of the "merknads" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Merknad.Builder#end()} to return to * the current builder. * * @return * a new builder to build an additional value of the "merknads" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Merknad.Builder#end()} to return to * the current builder. */ @Override public Merknad.Builder> addMerknads() { return ((Merknad.Builder> ) super.addMerknads()); } /** * Adds the given items to the value of "kryssreferanses" * * @param kryssreferanses * Items to add to the value of the "kryssreferanses" property */ @Override public Journalpost.Builder<_B> addKryssreferanses(final Iterable kryssreferanses) { super.addKryssreferanses(kryssreferanses); return this; } /** * Adds the given items to the value of "kryssreferanses" * * @param kryssreferanses * Items to add to the value of the "kryssreferanses" property */ @Override public Journalpost.Builder<_B> addKryssreferanses(Kryssreferanse... kryssreferanses) { super.addKryssreferanses(kryssreferanses); return this; } /** * Sets the new value of "kryssreferanses" (any previous value will be replaced) * * @param kryssreferanses * New value of the "kryssreferanses" property. */ @Override public Journalpost.Builder<_B> withKryssreferanses(final Iterable kryssreferanses) { super.withKryssreferanses(kryssreferanses); return this; } /** * Sets the new value of "kryssreferanses" (any previous value will be replaced) * * @param kryssreferanses * New value of the "kryssreferanses" property. */ @Override public Journalpost.Builder<_B> withKryssreferanses(Kryssreferanse... kryssreferanses) { super.withKryssreferanses(kryssreferanses); return this; } /** * Returns a new builder to build an additional value of the "kryssreferanses" * property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kryssreferanse.Builder#end()} to * return to the current builder. * * @return * a new builder to build an additional value of the "kryssreferanses" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kryssreferanse.Builder#end()} to * return to the current builder. */ @Override public Kryssreferanse.Builder> addKryssreferanses() { return ((Kryssreferanse.Builder> ) super.addKryssreferanses()); } /** * Adds the given items to the value of "korrespondanseparts" * * @param korrespondanseparts * Items to add to the value of the "korrespondanseparts" property */ @Override public Journalpost.Builder<_B> addKorrespondanseparts(final Iterable korrespondanseparts) { super.addKorrespondanseparts(korrespondanseparts); return this; } /** * Adds the given items to the value of "korrespondanseparts" * * @param korrespondanseparts * Items to add to the value of the "korrespondanseparts" property */ @Override public Journalpost.Builder<_B> addKorrespondanseparts(Korrespondansepart... korrespondanseparts) { super.addKorrespondanseparts(korrespondanseparts); return this; } /** * Sets the new value of "korrespondanseparts" (any previous value will be * replaced) * * @param korrespondanseparts * New value of the "korrespondanseparts" property. */ @Override public Journalpost.Builder<_B> withKorrespondanseparts(final Iterable korrespondanseparts) { super.withKorrespondanseparts(korrespondanseparts); return this; } /** * Sets the new value of "korrespondanseparts" (any previous value will be * replaced) * * @param korrespondanseparts * New value of the "korrespondanseparts" property. */ @Override public Journalpost.Builder<_B> withKorrespondanseparts(Korrespondansepart... korrespondanseparts) { super.withKorrespondanseparts(korrespondanseparts); return this; } /** * Returns a new builder to build an additional value of the "korrespondanseparts" * property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Korrespondansepart.Builder#end()} * to return to the current builder. * * @return * a new builder to build an additional value of the "korrespondanseparts" * property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Korrespondansepart.Builder#end()} * to return to the current builder. */ @Override public Korrespondansepart.Builder> addKorrespondanseparts() { return ((Korrespondansepart.Builder> ) super.addKorrespondanseparts()); } /** * Adds the given items to the value of "klassifikasjons" * * @param klassifikasjons * Items to add to the value of the "klassifikasjons" property */ @Override public Journalpost.Builder<_B> addKlassifikasjons(final Iterable klassifikasjons) { super.addKlassifikasjons(klassifikasjons); return this; } /** * Adds the given items to the value of "klassifikasjons" * * @param klassifikasjons * Items to add to the value of the "klassifikasjons" property */ @Override public Journalpost.Builder<_B> addKlassifikasjons(Klassifikasjon... klassifikasjons) { super.addKlassifikasjons(klassifikasjons); return this; } /** * Sets the new value of "klassifikasjons" (any previous value will be replaced) * * @param klassifikasjons * New value of the "klassifikasjons" property. */ @Override public Journalpost.Builder<_B> withKlassifikasjons(final Iterable klassifikasjons) { super.withKlassifikasjons(klassifikasjons); return this; } /** * Sets the new value of "klassifikasjons" (any previous value will be replaced) * * @param klassifikasjons * New value of the "klassifikasjons" property. */ @Override public Journalpost.Builder<_B> withKlassifikasjons(Klassifikasjon... klassifikasjons) { super.withKlassifikasjons(klassifikasjons); return this; } /** * Returns a new builder to build an additional value of the "klassifikasjons" * property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Klassifikasjon.Builder#end()} to * return to the current builder. * * @return * a new builder to build an additional value of the "klassifikasjons" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Klassifikasjon.Builder#end()} to * return to the current builder. */ @Override public Klassifikasjon.Builder> addKlassifikasjons() { return ((Klassifikasjon.Builder> ) super.addKlassifikasjons()); } /** * Sets the new value of "referanseEksternNoekkel" (any previous value will be * replaced) * * @param referanseEksternNoekkel * New value of the "referanseEksternNoekkel" property. */ @Override public Journalpost.Builder<_B> withReferanseEksternNoekkel(final EksternNoekkel referanseEksternNoekkel) { super.withReferanseEksternNoekkel(referanseEksternNoekkel); return this; } /** * Returns the existing builder or a new builder to build the value of the * "referanseEksternNoekkel" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "referanseEksternNoekkel" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel.Builder#end()} * to return to the current builder. */ public EksternNoekkel.Builder> withReferanseEksternNoekkel() { return ((EksternNoekkel.Builder> ) super.withReferanseEksternNoekkel()); } @Override public Journalpost build() { if (_storedValue == null) { return this.init(new Journalpost()); } else { return ((Journalpost) _storedValue); } } public Journalpost.Builder<_B> copyOf(final Journalpost _other) { _other.copyTo(this); return this; } public Journalpost.Builder<_B> copyOf(final Journalpost.Builder _other) { return copyOf(_other.build()); } } public static class Select extends Journalpost.Selector { Select() { super(null, null, null); } public static Journalpost.Select _root() { return new Journalpost.Select(); } } public static class Selector , TParent > extends Registrering.Selector { private Journalposttype.Selector> journalposttype = null; private Journalstatus.Selector> journalstatus = null; private com.kscs.util.jaxb.Selector> journaldato = null; private com.kscs.util.jaxb.Selector> dokumentetsDato = null; private com.kscs.util.jaxb.Selector> mottattDato = null; private com.kscs.util.jaxb.Selector> sendtDato = null; private com.kscs.util.jaxb.Selector> forfallsdato = null; private com.kscs.util.jaxb.Selector> offentlighetsvurdertDato = null; private com.kscs.util.jaxb.Selector> antallVedlegg = null; private com.kscs.util.jaxb.Selector> utlaantDato = null; private com.kscs.util.jaxb.Selector> utlaantTil = null; private com.kscs.util.jaxb.Selector> journalenhet = null; private Dokumentflyt.Selector> dokumentflyts = null; private Presedens.Selector> presedens = null; private ElektroniskSignatur.Selector> elektroniskSignatur = null; private com.kscs.util.jaxb.Selector> avskrivningsdato = 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.journalposttype!= null) { products.put("journalposttype", this.journalposttype.init()); } if (this.journalstatus!= null) { products.put("journalstatus", this.journalstatus.init()); } if (this.journaldato!= null) { products.put("journaldato", this.journaldato.init()); } if (this.dokumentetsDato!= null) { products.put("dokumentetsDato", this.dokumentetsDato.init()); } if (this.mottattDato!= null) { products.put("mottattDato", this.mottattDato.init()); } if (this.sendtDato!= null) { products.put("sendtDato", this.sendtDato.init()); } if (this.forfallsdato!= null) { products.put("forfallsdato", this.forfallsdato.init()); } if (this.offentlighetsvurdertDato!= null) { products.put("offentlighetsvurdertDato", this.offentlighetsvurdertDato.init()); } if (this.antallVedlegg!= null) { products.put("antallVedlegg", this.antallVedlegg.init()); } if (this.utlaantDato!= null) { products.put("utlaantDato", this.utlaantDato.init()); } if (this.utlaantTil!= null) { products.put("utlaantTil", this.utlaantTil.init()); } if (this.journalenhet!= null) { products.put("journalenhet", this.journalenhet.init()); } if (this.dokumentflyts!= null) { products.put("dokumentflyts", this.dokumentflyts.init()); } if (this.presedens!= null) { products.put("presedens", this.presedens.init()); } if (this.elektroniskSignatur!= null) { products.put("elektroniskSignatur", this.elektroniskSignatur.init()); } if (this.avskrivningsdato!= null) { products.put("avskrivningsdato", this.avskrivningsdato.init()); } return products; } public Journalposttype.Selector> journalposttype() { return ((this.journalposttype == null)?this.journalposttype = new Journalposttype.Selector>(this._root, this, "journalposttype"):this.journalposttype); } public Journalstatus.Selector> journalstatus() { return ((this.journalstatus == null)?this.journalstatus = new Journalstatus.Selector>(this._root, this, "journalstatus"):this.journalstatus); } 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> dokumentetsDato() { return ((this.dokumentetsDato == null)?this.dokumentetsDato = new com.kscs.util.jaxb.Selector>(this._root, this, "dokumentetsDato"):this.dokumentetsDato); } public com.kscs.util.jaxb.Selector> mottattDato() { return ((this.mottattDato == null)?this.mottattDato = new com.kscs.util.jaxb.Selector>(this._root, this, "mottattDato"):this.mottattDato); } public com.kscs.util.jaxb.Selector> sendtDato() { return ((this.sendtDato == null)?this.sendtDato = new com.kscs.util.jaxb.Selector>(this._root, this, "sendtDato"):this.sendtDato); } public com.kscs.util.jaxb.Selector> forfallsdato() { return ((this.forfallsdato == null)?this.forfallsdato = new com.kscs.util.jaxb.Selector>(this._root, this, "forfallsdato"):this.forfallsdato); } public com.kscs.util.jaxb.Selector> offentlighetsvurdertDato() { return ((this.offentlighetsvurdertDato == null)?this.offentlighetsvurdertDato = new com.kscs.util.jaxb.Selector>(this._root, this, "offentlighetsvurdertDato"):this.offentlighetsvurdertDato); } public com.kscs.util.jaxb.Selector> antallVedlegg() { return ((this.antallVedlegg == null)?this.antallVedlegg = new com.kscs.util.jaxb.Selector>(this._root, this, "antallVedlegg"):this.antallVedlegg); } public com.kscs.util.jaxb.Selector> utlaantDato() { return ((this.utlaantDato == null)?this.utlaantDato = new com.kscs.util.jaxb.Selector>(this._root, this, "utlaantDato"):this.utlaantDato); } public com.kscs.util.jaxb.Selector> utlaantTil() { return ((this.utlaantTil == null)?this.utlaantTil = new com.kscs.util.jaxb.Selector>(this._root, this, "utlaantTil"):this.utlaantTil); } public com.kscs.util.jaxb.Selector> journalenhet() { return ((this.journalenhet == null)?this.journalenhet = new com.kscs.util.jaxb.Selector>(this._root, this, "journalenhet"):this.journalenhet); } public Dokumentflyt.Selector> dokumentflyts() { return ((this.dokumentflyts == null)?this.dokumentflyts = new Dokumentflyt.Selector>(this._root, this, "dokumentflyts"):this.dokumentflyts); } public Presedens.Selector> presedens() { return ((this.presedens == null)?this.presedens = new Presedens.Selector>(this._root, this, "presedens"):this.presedens); } public ElektroniskSignatur.Selector> elektroniskSignatur() { return ((this.elektroniskSignatur == null)?this.elektroniskSignatur = new ElektroniskSignatur.Selector>(this._root, this, "elektroniskSignatur"):this.elektroniskSignatur); } public com.kscs.util.jaxb.Selector> avskrivningsdato() { return ((this.avskrivningsdato == null)?this.avskrivningsdato = new com.kscs.util.jaxb.Selector>(this._root, this, "avskrivningsdato"):this.avskrivningsdato); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy