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

no.ks.fiks.arkiv.v1.arkivstruktur.JournalpostMedSaksmappe 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.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
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.AdministrativEnhet;
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.Saksansvarlig;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksstatus;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;
import org.w3._2001.xmlschema.Adapter3;


/**
 * 

Java class for journalpostMedSaksmappe complex type. * *

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

 * <complexType name="journalpostMedSaksmappe">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}journalpost">
 *       <sequence>
 *         <element name="saksaar" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksaar"/>
 *         <element name="sakssekvensnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}sakssekvensnummer"/>
 *         <element name="saksdato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksdato"/>
 *         <element name="administrativEnhet" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}administrativEnhet"/>
 *         <element name="saksansvarlig" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksansvarlig"/>
 *         <element name="saksstatus" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksstatus"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "journalpostMedSaksmappe", propOrder = { "saksaar", "sakssekvensnummer", "saksdato", "administrativEnhet", "saksansvarlig", "saksstatus" }) public class JournalpostMedSaksmappe extends Journalpost { protected int saksaar; protected int sakssekvensnummer; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate saksdato; @XmlElement(required = true) protected AdministrativEnhet administrativEnhet; @XmlElement(required = true) protected Saksansvarlig saksansvarlig; @XmlElement(required = true) protected Saksstatus saksstatus; /** * 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 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 saksdato property. * * @return * possible object is * {@link String } * */ public LocalDate getSaksdato() { return saksdato; } /** * Sets the value of the saksdato property. * * @param value * allowed object is * {@link String } * */ public void setSaksdato(LocalDate value) { this.saksdato = value; } /** * Gets the value of the administrativEnhet property. * * @return * possible object is * {@link AdministrativEnhet } * */ public AdministrativEnhet getAdministrativEnhet() { return administrativEnhet; } /** * Sets the value of the administrativEnhet property. * * @param value * allowed object is * {@link AdministrativEnhet } * */ public void setAdministrativEnhet(AdministrativEnhet value) { this.administrativEnhet = value; } /** * Gets the value of the saksansvarlig property. * * @return * possible object is * {@link Saksansvarlig } * */ public Saksansvarlig getSaksansvarlig() { return saksansvarlig; } /** * Sets the value of the saksansvarlig property. * * @param value * allowed object is * {@link Saksansvarlig } * */ public void setSaksansvarlig(Saksansvarlig value) { this.saksansvarlig = value; } /** * Gets the value of the saksstatus property. * * @return * possible object is * {@link Saksstatus } * */ public Saksstatus getSaksstatus() { return saksstatus; } /** * Sets the value of the saksstatus property. * * @param value * allowed object is * {@link Saksstatus } * */ public void setSaksstatus(Saksstatus value) { this.saksstatus = 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 JournalpostMedSaksmappe.Builder<_B> _other) { super.copyTo(_other); _other.saksaar = this.saksaar; _other.sakssekvensnummer = this.sakssekvensnummer; _other.saksdato = this.saksdato; _other.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.newCopyBuilder(_other)); _other.saksansvarlig = ((this.saksansvarlig == null)?null:this.saksansvarlig.newCopyBuilder(_other)); _other.saksstatus = ((this.saksstatus == null)?null:this.saksstatus.newCopyBuilder(_other)); } @Override public<_B >JournalpostMedSaksmappe.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new JournalpostMedSaksmappe.Builder<_B>(_parentBuilder, this, true); } @Override public JournalpostMedSaksmappe.Builder newCopyBuilder() { return newCopyBuilder(null); } public static JournalpostMedSaksmappe.Builder builder() { return new JournalpostMedSaksmappe.Builder(null, null, false); } public static<_B >JournalpostMedSaksmappe.Builder<_B> copyOf(final Registrering _other) { final JournalpostMedSaksmappe.Builder<_B> _newBuilder = new JournalpostMedSaksmappe.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >JournalpostMedSaksmappe.Builder<_B> copyOf(final Journalpost _other) { final JournalpostMedSaksmappe.Builder<_B> _newBuilder = new JournalpostMedSaksmappe.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >JournalpostMedSaksmappe.Builder<_B> copyOf(final JournalpostMedSaksmappe _other) { final JournalpostMedSaksmappe.Builder<_B> _newBuilder = new JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); 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 sakssekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakssekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakssekvensnummerPropertyTree!= null):((sakssekvensnummerPropertyTree == null)||(!sakssekvensnummerPropertyTree.isLeaf())))) { _other.sakssekvensnummer = this.sakssekvensnummer; } final PropertyTree saksdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksdatoPropertyTree!= null):((saksdatoPropertyTree == null)||(!saksdatoPropertyTree.isLeaf())))) { _other.saksdato = this.saksdato; } final PropertyTree administrativEnhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("administrativEnhet")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(administrativEnhetPropertyTree!= null):((administrativEnhetPropertyTree == null)||(!administrativEnhetPropertyTree.isLeaf())))) { _other.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.newCopyBuilder(_other, administrativEnhetPropertyTree, _propertyTreeUse)); } final PropertyTree saksansvarligPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksansvarlig")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksansvarligPropertyTree!= null):((saksansvarligPropertyTree == null)||(!saksansvarligPropertyTree.isLeaf())))) { _other.saksansvarlig = ((this.saksansvarlig == null)?null:this.saksansvarlig.newCopyBuilder(_other, saksansvarligPropertyTree, _propertyTreeUse)); } final PropertyTree saksstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksstatusPropertyTree!= null):((saksstatusPropertyTree == null)||(!saksstatusPropertyTree.isLeaf())))) { _other.saksstatus = ((this.saksstatus == null)?null:this.saksstatus.newCopyBuilder(_other, saksstatusPropertyTree, _propertyTreeUse)); } } @Override public<_B >JournalpostMedSaksmappe.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new JournalpostMedSaksmappe.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public JournalpostMedSaksmappe.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >JournalpostMedSaksmappe.Builder<_B> copyOf(final Registrering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostMedSaksmappe.Builder<_B> _newBuilder = new JournalpostMedSaksmappe.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >JournalpostMedSaksmappe.Builder<_B> copyOf(final Journalpost _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostMedSaksmappe.Builder<_B> _newBuilder = new JournalpostMedSaksmappe.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >JournalpostMedSaksmappe.Builder<_B> copyOf(final JournalpostMedSaksmappe _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostMedSaksmappe.Builder<_B> _newBuilder = new JournalpostMedSaksmappe.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static JournalpostMedSaksmappe.Builder copyExcept(final Registrering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostMedSaksmappe.Builder copyExcept(final Journalpost _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostMedSaksmappe.Builder copyExcept(final JournalpostMedSaksmappe _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostMedSaksmappe.Builder copyOnly(final Registrering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static JournalpostMedSaksmappe.Builder copyOnly(final Journalpost _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static JournalpostMedSaksmappe.Builder copyOnly(final JournalpostMedSaksmappe _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends Journalpost.Builder<_B> implements Buildable { private int saksaar; private int sakssekvensnummer; private LocalDate saksdato; private AdministrativEnhet.Builder> administrativEnhet; private Saksansvarlig.Builder> saksansvarlig; private Saksstatus.Builder> saksstatus; public Builder(final _B _parentBuilder, final JournalpostMedSaksmappe _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.saksaar = _other.saksaar; this.sakssekvensnummer = _other.sakssekvensnummer; this.saksdato = _other.saksdato; this.administrativEnhet = ((_other.administrativEnhet == null)?null:_other.administrativEnhet.newCopyBuilder(this)); this.saksansvarlig = ((_other.saksansvarlig == null)?null:_other.saksansvarlig.newCopyBuilder(this)); this.saksstatus = ((_other.saksstatus == null)?null:_other.saksstatus.newCopyBuilder(this)); } } public Builder(final _B _parentBuilder, final JournalpostMedSaksmappe _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { 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 sakssekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakssekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakssekvensnummerPropertyTree!= null):((sakssekvensnummerPropertyTree == null)||(!sakssekvensnummerPropertyTree.isLeaf())))) { this.sakssekvensnummer = _other.sakssekvensnummer; } final PropertyTree saksdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksdatoPropertyTree!= null):((saksdatoPropertyTree == null)||(!saksdatoPropertyTree.isLeaf())))) { this.saksdato = _other.saksdato; } final PropertyTree administrativEnhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("administrativEnhet")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(administrativEnhetPropertyTree!= null):((administrativEnhetPropertyTree == null)||(!administrativEnhetPropertyTree.isLeaf())))) { this.administrativEnhet = ((_other.administrativEnhet == null)?null:_other.administrativEnhet.newCopyBuilder(this, administrativEnhetPropertyTree, _propertyTreeUse)); } final PropertyTree saksansvarligPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksansvarlig")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksansvarligPropertyTree!= null):((saksansvarligPropertyTree == null)||(!saksansvarligPropertyTree.isLeaf())))) { this.saksansvarlig = ((_other.saksansvarlig == null)?null:_other.saksansvarlig.newCopyBuilder(this, saksansvarligPropertyTree, _propertyTreeUse)); } final PropertyTree saksstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksstatusPropertyTree!= null):((saksstatusPropertyTree == null)||(!saksstatusPropertyTree.isLeaf())))) { this.saksstatus = ((_other.saksstatus == null)?null:_other.saksstatus.newCopyBuilder(this, saksstatusPropertyTree, _propertyTreeUse)); } } } protected<_P extends JournalpostMedSaksmappe >_P init(final _P _product) { _product.saksaar = this.saksaar; _product.sakssekvensnummer = this.sakssekvensnummer; _product.saksdato = this.saksdato; _product.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.build()); _product.saksansvarlig = ((this.saksansvarlig == null)?null:this.saksansvarlig.build()); _product.saksstatus = ((this.saksstatus == null)?null:this.saksstatus.build()); return super.init(_product); } /** * Sets the new value of "saksaar" (any previous value will be replaced) * * @param saksaar * New value of the "saksaar" property. */ public JournalpostMedSaksmappe.Builder<_B> withSaksaar(final int saksaar) { this.saksaar = saksaar; return this; } /** * Sets the new value of "sakssekvensnummer" (any previous value will be replaced) * * @param sakssekvensnummer * New value of the "sakssekvensnummer" property. */ public JournalpostMedSaksmappe.Builder<_B> withSakssekvensnummer(final int sakssekvensnummer) { this.sakssekvensnummer = sakssekvensnummer; return this; } /** * Sets the new value of "saksdato" (any previous value will be replaced) * * @param saksdato * New value of the "saksdato" property. */ public JournalpostMedSaksmappe.Builder<_B> withSaksdato(final LocalDate saksdato) { this.saksdato = saksdato; return this; } /** * Sets the new value of "administrativEnhet" (any previous value will be replaced) * * @param administrativEnhet * New value of the "administrativEnhet" property. */ public JournalpostMedSaksmappe.Builder<_B> withAdministrativEnhet(final AdministrativEnhet administrativEnhet) { this.administrativEnhet = ((administrativEnhet == null)?null:new AdministrativEnhet.Builder>(this, administrativEnhet, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "administrativEnhet" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.AdministrativEnhet.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "administrativEnhet" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.AdministrativEnhet.Builder#end()} * to return to the current builder. */ public AdministrativEnhet.Builder> withAdministrativEnhet() { if (this.administrativEnhet!= null) { return this.administrativEnhet; } return this.administrativEnhet = new AdministrativEnhet.Builder>(this, null, false); } /** * Sets the new value of "saksansvarlig" (any previous value will be replaced) * * @param saksansvarlig * New value of the "saksansvarlig" property. */ public JournalpostMedSaksmappe.Builder<_B> withSaksansvarlig(final Saksansvarlig saksansvarlig) { this.saksansvarlig = ((saksansvarlig == null)?null:new Saksansvarlig.Builder>(this, saksansvarlig, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "saksansvarlig" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksansvarlig.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "saksansvarlig" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksansvarlig.Builder#end()} * to return to the current builder. */ public Saksansvarlig.Builder> withSaksansvarlig() { if (this.saksansvarlig!= null) { return this.saksansvarlig; } return this.saksansvarlig = new Saksansvarlig.Builder>(this, null, false); } /** * Sets the new value of "saksstatus" (any previous value will be replaced) * * @param saksstatus * New value of the "saksstatus" property. */ public JournalpostMedSaksmappe.Builder<_B> withSaksstatus(final Saksstatus saksstatus) { this.saksstatus = ((saksstatus == null)?null:new Saksstatus.Builder>(this, saksstatus, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "saksstatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksstatus.Builder#end()} to * return to the current builder. * * @return * A new builder to build the value of the "saksstatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksstatus.Builder#end()} to * return to the current builder. */ public Saksstatus.Builder> withSaksstatus() { if (this.saksstatus!= null) { return this.saksstatus; } return this.saksstatus = new Saksstatus.Builder>(this, null, false); } /** * Sets the new value of "journalaar" (any previous value will be replaced) * * @param journalaar * New value of the "journalaar" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withJournalaar(final int journalaar) { super.withJournalaar(journalaar); return this; } /** * Sets the new value of "journalsekvensnummer" (any previous value will be * replaced) * * @param journalsekvensnummer * New value of the "journalsekvensnummer" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withJournalsekvensnummer(final int journalsekvensnummer) { super.withJournalsekvensnummer(journalsekvensnummer); return this; } /** * Sets the new value of "journalpostnummer" (any previous value will be replaced) * * @param journalpostnummer * New value of the "journalpostnummer" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withJournalpostnummer(final int journalpostnummer) { super.withJournalpostnummer(journalpostnummer); return this; } /** * Sets the new value of "journalposttype" (any previous value will be replaced) * * @param journalposttype * New value of the "journalposttype" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withJournalposttype(final Journalposttype journalposttype) { super.withJournalposttype(journalposttype); 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() { return ((Journalposttype.Builder> ) super.withJournalposttype()); } /** * Sets the new value of "journalstatus" (any previous value will be replaced) * * @param journalstatus * New value of the "journalstatus" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withJournalstatus(final Journalstatus journalstatus) { super.withJournalstatus(journalstatus); 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() { return ((Journalstatus.Builder> ) super.withJournalstatus()); } /** * Sets the new value of "journaldato" (any previous value will be replaced) * * @param journaldato * New value of the "journaldato" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withJournaldato(final LocalDate journaldato) { super.withJournaldato(journaldato); return this; } /** * Sets the new value of "dokumentetsDato" (any previous value will be replaced) * * @param dokumentetsDato * New value of the "dokumentetsDato" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withDokumentetsDato(final LocalDate dokumentetsDato) { super.withDokumentetsDato(dokumentetsDato); return this; } /** * Sets the new value of "mottattDato" (any previous value will be replaced) * * @param mottattDato * New value of the "mottattDato" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withMottattDato(final ZonedDateTime mottattDato) { super.withMottattDato(mottattDato); return this; } /** * Sets the new value of "sendtDato" (any previous value will be replaced) * * @param sendtDato * New value of the "sendtDato" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withSendtDato(final ZonedDateTime sendtDato) { super.withSendtDato(sendtDato); return this; } /** * Sets the new value of "forfallsdato" (any previous value will be replaced) * * @param forfallsdato * New value of the "forfallsdato" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withForfallsdato(final LocalDate forfallsdato) { super.withForfallsdato(forfallsdato); return this; } /** * Sets the new value of "offentlighetsvurdertDato" (any previous value will be * replaced) * * @param offentlighetsvurdertDato * New value of the "offentlighetsvurdertDato" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withOffentlighetsvurdertDato(final LocalDate offentlighetsvurdertDato) { super.withOffentlighetsvurdertDato(offentlighetsvurdertDato); return this; } /** * Sets the new value of "antallVedlegg" (any previous value will be replaced) * * @param antallVedlegg * New value of the "antallVedlegg" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withAntallVedlegg(final Integer antallVedlegg) { super.withAntallVedlegg(antallVedlegg); return this; } /** * Sets the new value of "utlaantDato" (any previous value will be replaced) * * @param utlaantDato * New value of the "utlaantDato" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withUtlaantDato(final LocalDate utlaantDato) { super.withUtlaantDato(utlaantDato); return this; } /** * Sets the new value of "utlaantTil" (any previous value will be replaced) * * @param utlaantTil * New value of the "utlaantTil" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withUtlaantTil(final String utlaantTil) { super.withUtlaantTil(utlaantTil); return this; } /** * Sets the new value of "journalenhet" (any previous value will be replaced) * * @param journalenhet * New value of the "journalenhet" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withJournalenhet(final String journalenhet) { super.withJournalenhet(journalenhet); return this; } /** * Adds the given items to the value of "dokumentflyts" * * @param dokumentflyts * Items to add to the value of the "dokumentflyts" property */ @Override public JournalpostMedSaksmappe.Builder<_B> addDokumentflyts(final Iterable dokumentflyts) { super.addDokumentflyts(dokumentflyts); return this; } /** * Adds the given items to the value of "dokumentflyts" * * @param dokumentflyts * Items to add to the value of the "dokumentflyts" property */ @Override public JournalpostMedSaksmappe.Builder<_B> addDokumentflyts(Dokumentflyt... dokumentflyts) { super.addDokumentflyts(dokumentflyts); return this; } /** * Sets the new value of "dokumentflyts" (any previous value will be replaced) * * @param dokumentflyts * New value of the "dokumentflyts" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withDokumentflyts(final Iterable dokumentflyts) { super.withDokumentflyts(dokumentflyts); return this; } /** * Sets the new value of "dokumentflyts" (any previous value will be replaced) * * @param dokumentflyts * New value of the "dokumentflyts" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withDokumentflyts(Dokumentflyt... dokumentflyts) { super.withDokumentflyts(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. */ @Override public Dokumentflyt.Builder> addDokumentflyts() { return ((Dokumentflyt.Builder> ) super.addDokumentflyts()); } /** * Adds the given items to the value of "presedens" * * @param presedens * Items to add to the value of the "presedens" property */ @Override public JournalpostMedSaksmappe.Builder<_B> addPresedens(final Iterable presedens) { super.addPresedens(presedens); return this; } /** * Adds the given items to the value of "presedens" * * @param presedens * Items to add to the value of the "presedens" property */ @Override public JournalpostMedSaksmappe.Builder<_B> addPresedens(Presedens... presedens) { super.addPresedens(presedens); return this; } /** * Sets the new value of "presedens" (any previous value will be replaced) * * @param presedens * New value of the "presedens" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withPresedens(final Iterable presedens) { super.withPresedens(presedens); return this; } /** * Sets the new value of "presedens" (any previous value will be replaced) * * @param presedens * New value of the "presedens" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withPresedens(Presedens... presedens) { super.withPresedens(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. */ @Override public Presedens.Builder> addPresedens() { return ((Presedens.Builder> ) super.addPresedens()); } /** * Sets the new value of "elektroniskSignatur" (any previous value will be * replaced) * * @param elektroniskSignatur * New value of the "elektroniskSignatur" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withElektroniskSignatur(final ElektroniskSignatur elektroniskSignatur) { super.withElektroniskSignatur(elektroniskSignatur); 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() { return ((ElektroniskSignatur.Builder> ) super.withElektroniskSignatur()); } /** * Sets the new value of "avskrivningsdato" (any previous value will be replaced) * * @param avskrivningsdato * New value of the "avskrivningsdato" property. */ @Override public JournalpostMedSaksmappe.Builder<_B> withAvskrivningsdato(final LocalDate avskrivningsdato) { super.withAvskrivningsdato(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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe.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 JournalpostMedSaksmappe build() { if (_storedValue == null) { return this.init(new JournalpostMedSaksmappe()); } else { return ((JournalpostMedSaksmappe) _storedValue); } } public JournalpostMedSaksmappe.Builder<_B> copyOf(final JournalpostMedSaksmappe _other) { _other.copyTo(this); return this; } public JournalpostMedSaksmappe.Builder<_B> copyOf(final JournalpostMedSaksmappe.Builder _other) { return copyOf(_other.build()); } } public static class Select extends JournalpostMedSaksmappe.Selector { Select() { super(null, null, null); } public static JournalpostMedSaksmappe.Select _root() { return new JournalpostMedSaksmappe.Select(); } } public static class Selector , TParent > extends Journalpost.Selector { private com.kscs.util.jaxb.Selector> saksdato = null; private AdministrativEnhet.Selector> administrativEnhet = null; private Saksansvarlig.Selector> saksansvarlig = null; private Saksstatus.Selector> saksstatus = 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.saksdato!= null) { products.put("saksdato", this.saksdato.init()); } if (this.administrativEnhet!= null) { products.put("administrativEnhet", this.administrativEnhet.init()); } if (this.saksansvarlig!= null) { products.put("saksansvarlig", this.saksansvarlig.init()); } if (this.saksstatus!= null) { products.put("saksstatus", this.saksstatus.init()); } return products; } public com.kscs.util.jaxb.Selector> saksdato() { return ((this.saksdato == null)?this.saksdato = new com.kscs.util.jaxb.Selector>(this._root, this, "saksdato"):this.saksdato); } public AdministrativEnhet.Selector> administrativEnhet() { return ((this.administrativEnhet == null)?this.administrativEnhet = new AdministrativEnhet.Selector>(this._root, this, "administrativEnhet"):this.administrativEnhet); } public Saksansvarlig.Selector> saksansvarlig() { return ((this.saksansvarlig == null)?this.saksansvarlig = new Saksansvarlig.Selector>(this._root, this, "saksansvarlig"):this.saksansvarlig); } public Saksstatus.Selector> saksstatus() { return ((this.saksstatus == null)?this.saksstatus = new Saksstatus.Selector>(this._root, this, "saksstatus"):this.saksstatus); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy