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

no.ks.fiks.arkiv.v1.arkivstruktur.minimum.JournalpostMedSaksmappeMinimum 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.minimum;

import java.time.LocalDate;
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.Journalposttype;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalstatus;
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 journalpostMedSaksmappeMinimum complex type. * *

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

 * <complexType name="journalpostMedSaksmappeMinimum">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/minimum/v1}journalpostMinimum">
 *       <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 = "journalpostMedSaksmappeMinimum", propOrder = { "saksaar", "sakssekvensnummer", "saksdato", "administrativEnhet", "saksansvarlig", "saksstatus" }) public class JournalpostMedSaksmappeMinimum extends JournalpostMinimum { 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 JournalpostMedSaksmappeMinimum.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 >JournalpostMedSaksmappeMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new JournalpostMedSaksmappeMinimum.Builder<_B>(_parentBuilder, this, true); } @Override public JournalpostMedSaksmappeMinimum.Builder newCopyBuilder() { return newCopyBuilder(null); } public static JournalpostMedSaksmappeMinimum.Builder builder() { return new JournalpostMedSaksmappeMinimum.Builder(null, null, false); } public static<_B >JournalpostMedSaksmappeMinimum.Builder<_B> copyOf(final RegistreringMinimum _other) { final JournalpostMedSaksmappeMinimum.Builder<_B> _newBuilder = new JournalpostMedSaksmappeMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >JournalpostMedSaksmappeMinimum.Builder<_B> copyOf(final JournalpostMinimum _other) { final JournalpostMedSaksmappeMinimum.Builder<_B> _newBuilder = new JournalpostMedSaksmappeMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >JournalpostMedSaksmappeMinimum.Builder<_B> copyOf(final JournalpostMedSaksmappeMinimum _other) { final JournalpostMedSaksmappeMinimum.Builder<_B> _newBuilder = new JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 >JournalpostMedSaksmappeMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new JournalpostMedSaksmappeMinimum.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public JournalpostMedSaksmappeMinimum.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >JournalpostMedSaksmappeMinimum.Builder<_B> copyOf(final RegistreringMinimum _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostMedSaksmappeMinimum.Builder<_B> _newBuilder = new JournalpostMedSaksmappeMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >JournalpostMedSaksmappeMinimum.Builder<_B> copyOf(final JournalpostMinimum _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostMedSaksmappeMinimum.Builder<_B> _newBuilder = new JournalpostMedSaksmappeMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >JournalpostMedSaksmappeMinimum.Builder<_B> copyOf(final JournalpostMedSaksmappeMinimum _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostMedSaksmappeMinimum.Builder<_B> _newBuilder = new JournalpostMedSaksmappeMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static JournalpostMedSaksmappeMinimum.Builder copyExcept(final RegistreringMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostMedSaksmappeMinimum.Builder copyExcept(final JournalpostMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostMedSaksmappeMinimum.Builder copyExcept(final JournalpostMedSaksmappeMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostMedSaksmappeMinimum.Builder copyOnly(final RegistreringMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static JournalpostMedSaksmappeMinimum.Builder copyOnly(final JournalpostMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static JournalpostMedSaksmappeMinimum.Builder copyOnly(final JournalpostMedSaksmappeMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends JournalpostMinimum.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 JournalpostMedSaksmappeMinimum _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 JournalpostMedSaksmappeMinimum _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 JournalpostMedSaksmappeMinimum >_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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.Builder<_B> withDokumentetsDato(final LocalDate dokumentetsDato) { super.withDokumentetsDato(dokumentetsDato); return this; } /** * Sets the new value of "systemID" (any previous value will be replaced) * * @param systemID * New value of the "systemID" property. */ @Override public JournalpostMedSaksmappeMinimum.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 "skjerming" (any previous value will be replaced) * * @param skjerming * New value of the "skjerming" property. */ @Override public JournalpostMedSaksmappeMinimum.Builder<_B> withSkjerming(final SkjermingMinimum 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.minimum.SkjermingMinimum.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.minimum.SkjermingMinimum.Builder#end()} to * return to the current builder. */ public SkjermingMinimum.Builder> withSkjerming() { return ((SkjermingMinimum.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 JournalpostMedSaksmappeMinimum.Builder<_B> withGradering(final GraderingMinimum 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.minimum.GraderingMinimum.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.minimum.GraderingMinimum.Builder#end()} to * return to the current builder. */ public GraderingMinimum.Builder> withGradering() { return ((GraderingMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.Builder<_B> addDokumentbeskrivelses(DokumentbeskrivelseMinimum... 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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.Builder<_B> withDokumentbeskrivelses(DokumentbeskrivelseMinimum... 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.minimum.DokumentbeskrivelseMinimum.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.minimum.DokumentbeskrivelseMinimum.Builder#end()} * to return to the current builder. */ @Override public DokumentbeskrivelseMinimum.Builder> addDokumentbeskrivelses() { return ((DokumentbeskrivelseMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.Builder<_B> withOffentligTittel(final String offentligTittel) { super.withOffentligTittel(offentligTittel); 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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.Builder<_B> addKorrespondanseparts(KorrespondansepartMinimum... 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 JournalpostMedSaksmappeMinimum.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 JournalpostMedSaksmappeMinimum.Builder<_B> withKorrespondanseparts(KorrespondansepartMinimum... 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.minimum.KorrespondansepartMinimum.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.minimum.KorrespondansepartMinimum.Builder#end()} * to return to the current builder. */ @Override public KorrespondansepartMinimum.Builder> addKorrespondanseparts() { return ((KorrespondansepartMinimum.Builder> ) super.addKorrespondanseparts()); } @Override public JournalpostMedSaksmappeMinimum build() { if (_storedValue == null) { return this.init(new JournalpostMedSaksmappeMinimum()); } else { return ((JournalpostMedSaksmappeMinimum) _storedValue); } } public JournalpostMedSaksmappeMinimum.Builder<_B> copyOf(final JournalpostMedSaksmappeMinimum _other) { _other.copyTo(this); return this; } public JournalpostMedSaksmappeMinimum.Builder<_B> copyOf(final JournalpostMedSaksmappeMinimum.Builder _other) { return copyOf(_other.build()); } } public static class Select extends JournalpostMedSaksmappeMinimum.Selector { Select() { super(null, null, null); } public static JournalpostMedSaksmappeMinimum.Select _root() { return new JournalpostMedSaksmappeMinimum.Select(); } } public static class Selector , TParent > extends JournalpostMinimum.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