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

no.ks.fiks.arkiv.v1.arkivstruktur.minimum.JournalpostMinimum 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalposttype;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalstatus;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;
import org.w3._2001.xmlschema.Adapter3;


/**
 * 

Java class for journalpostMinimum complex type. * *

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

 * <complexType name="journalpostMinimum">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/minimum/v1}registreringMinimum">
 *       <sequence>
 *         <element name="journalaar" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalaar"/>
 *         <element name="journalsekvensnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalsekvensnummer"/>
 *         <element name="journalpostnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalpostnummer"/>
 *         <element name="journalposttype" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalposttype"/>
 *         <element name="journalstatus" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalstatus"/>
 *         <element name="journaldato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journaldato"/>
 *         <element name="dokumentetsDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}dokumentetsDato" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "journalpostMinimum", propOrder = { "journalaar", "journalsekvensnummer", "journalpostnummer", "journalposttype", "journalstatus", "journaldato", "dokumentetsDato" }) @XmlSeeAlso({ JournalpostMedSaksmappeMinimum.class }) public class JournalpostMinimum extends RegistreringMinimum { protected int journalaar; protected int journalsekvensnummer; protected int journalpostnummer; @XmlElement(required = true) protected Journalposttype journalposttype; @XmlElement(required = true) protected Journalstatus journalstatus; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate journaldato; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate dokumentetsDato; /** * Gets the value of the journalaar property. * */ public int getJournalaar() { return journalaar; } /** * Sets the value of the journalaar property. * */ public void setJournalaar(int value) { this.journalaar = value; } /** * Gets the value of the journalsekvensnummer property. * */ public int getJournalsekvensnummer() { return journalsekvensnummer; } /** * Sets the value of the journalsekvensnummer property. * */ public void setJournalsekvensnummer(int value) { this.journalsekvensnummer = value; } /** * Gets the value of the journalpostnummer property. * */ public int getJournalpostnummer() { return journalpostnummer; } /** * Sets the value of the journalpostnummer property. * */ public void setJournalpostnummer(int value) { this.journalpostnummer = value; } /** * Gets the value of the journalposttype property. * * @return * possible object is * {@link Journalposttype } * */ public Journalposttype getJournalposttype() { return journalposttype; } /** * Sets the value of the journalposttype property. * * @param value * allowed object is * {@link Journalposttype } * */ public void setJournalposttype(Journalposttype value) { this.journalposttype = value; } /** * Gets the value of the journalstatus property. * * @return * possible object is * {@link Journalstatus } * */ public Journalstatus getJournalstatus() { return journalstatus; } /** * Sets the value of the journalstatus property. * * @param value * allowed object is * {@link Journalstatus } * */ public void setJournalstatus(Journalstatus value) { this.journalstatus = value; } /** * Gets the value of the journaldato property. * * @return * possible object is * {@link String } * */ public LocalDate getJournaldato() { return journaldato; } /** * Sets the value of the journaldato property. * * @param value * allowed object is * {@link String } * */ public void setJournaldato(LocalDate value) { this.journaldato = value; } /** * Gets the value of the dokumentetsDato property. * * @return * possible object is * {@link String } * */ public LocalDate getDokumentetsDato() { return dokumentetsDato; } /** * Sets the value of the dokumentetsDato property. * * @param value * allowed object is * {@link String } * */ public void setDokumentetsDato(LocalDate value) { this.dokumentetsDato = value; } /** * 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 JournalpostMinimum.Builder<_B> _other) { super.copyTo(_other); _other.journalaar = this.journalaar; _other.journalsekvensnummer = this.journalsekvensnummer; _other.journalpostnummer = this.journalpostnummer; _other.journalposttype = ((this.journalposttype == null)?null:this.journalposttype.newCopyBuilder(_other)); _other.journalstatus = ((this.journalstatus == null)?null:this.journalstatus.newCopyBuilder(_other)); _other.journaldato = this.journaldato; _other.dokumentetsDato = this.dokumentetsDato; } @Override public<_B >JournalpostMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new JournalpostMinimum.Builder<_B>(_parentBuilder, this, true); } @Override public JournalpostMinimum.Builder newCopyBuilder() { return newCopyBuilder(null); } public static JournalpostMinimum.Builder builder() { return new JournalpostMinimum.Builder(null, null, false); } public static<_B >JournalpostMinimum.Builder<_B> copyOf(final RegistreringMinimum _other) { final JournalpostMinimum.Builder<_B> _newBuilder = new JournalpostMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >JournalpostMinimum.Builder<_B> copyOf(final JournalpostMinimum _other) { final JournalpostMinimum.Builder<_B> _newBuilder = new JournalpostMinimum.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 JournalpostMinimum.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); final PropertyTree journalaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalaarPropertyTree!= null):((journalaarPropertyTree == null)||(!journalaarPropertyTree.isLeaf())))) { _other.journalaar = this.journalaar; } final PropertyTree journalsekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalsekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalsekvensnummerPropertyTree!= null):((journalsekvensnummerPropertyTree == null)||(!journalsekvensnummerPropertyTree.isLeaf())))) { _other.journalsekvensnummer = this.journalsekvensnummer; } final PropertyTree journalpostnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalpostnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalpostnummerPropertyTree!= null):((journalpostnummerPropertyTree == null)||(!journalpostnummerPropertyTree.isLeaf())))) { _other.journalpostnummer = this.journalpostnummer; } final PropertyTree journalposttypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalposttype")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalposttypePropertyTree!= null):((journalposttypePropertyTree == null)||(!journalposttypePropertyTree.isLeaf())))) { _other.journalposttype = ((this.journalposttype == null)?null:this.journalposttype.newCopyBuilder(_other, journalposttypePropertyTree, _propertyTreeUse)); } final PropertyTree journalstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalstatusPropertyTree!= null):((journalstatusPropertyTree == null)||(!journalstatusPropertyTree.isLeaf())))) { _other.journalstatus = ((this.journalstatus == null)?null:this.journalstatus.newCopyBuilder(_other, journalstatusPropertyTree, _propertyTreeUse)); } final PropertyTree journaldatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journaldato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journaldatoPropertyTree!= null):((journaldatoPropertyTree == null)||(!journaldatoPropertyTree.isLeaf())))) { _other.journaldato = this.journaldato; } final PropertyTree dokumentetsDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentetsDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentetsDatoPropertyTree!= null):((dokumentetsDatoPropertyTree == null)||(!dokumentetsDatoPropertyTree.isLeaf())))) { _other.dokumentetsDato = this.dokumentetsDato; } } @Override public<_B >JournalpostMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new JournalpostMinimum.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public JournalpostMinimum.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >JournalpostMinimum.Builder<_B> copyOf(final RegistreringMinimum _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostMinimum.Builder<_B> _newBuilder = new JournalpostMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >JournalpostMinimum.Builder<_B> copyOf(final JournalpostMinimum _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostMinimum.Builder<_B> _newBuilder = new JournalpostMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static JournalpostMinimum.Builder copyExcept(final RegistreringMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostMinimum.Builder copyExcept(final JournalpostMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostMinimum.Builder copyOnly(final RegistreringMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static JournalpostMinimum.Builder copyOnly(final JournalpostMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends RegistreringMinimum.Builder<_B> implements Buildable { private int journalaar; private int journalsekvensnummer; private int journalpostnummer; private Journalposttype.Builder> journalposttype; private Journalstatus.Builder> journalstatus; private LocalDate journaldato; private LocalDate dokumentetsDato; public Builder(final _B _parentBuilder, final JournalpostMinimum _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.journalaar = _other.journalaar; this.journalsekvensnummer = _other.journalsekvensnummer; this.journalpostnummer = _other.journalpostnummer; this.journalposttype = ((_other.journalposttype == null)?null:_other.journalposttype.newCopyBuilder(this)); this.journalstatus = ((_other.journalstatus == null)?null:_other.journalstatus.newCopyBuilder(this)); this.journaldato = _other.journaldato; this.dokumentetsDato = _other.dokumentetsDato; } } public Builder(final _B _parentBuilder, final JournalpostMinimum _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { final PropertyTree journalaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalaarPropertyTree!= null):((journalaarPropertyTree == null)||(!journalaarPropertyTree.isLeaf())))) { this.journalaar = _other.journalaar; } final PropertyTree journalsekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalsekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalsekvensnummerPropertyTree!= null):((journalsekvensnummerPropertyTree == null)||(!journalsekvensnummerPropertyTree.isLeaf())))) { this.journalsekvensnummer = _other.journalsekvensnummer; } final PropertyTree journalpostnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalpostnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalpostnummerPropertyTree!= null):((journalpostnummerPropertyTree == null)||(!journalpostnummerPropertyTree.isLeaf())))) { this.journalpostnummer = _other.journalpostnummer; } final PropertyTree journalposttypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalposttype")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalposttypePropertyTree!= null):((journalposttypePropertyTree == null)||(!journalposttypePropertyTree.isLeaf())))) { this.journalposttype = ((_other.journalposttype == null)?null:_other.journalposttype.newCopyBuilder(this, journalposttypePropertyTree, _propertyTreeUse)); } final PropertyTree journalstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalstatusPropertyTree!= null):((journalstatusPropertyTree == null)||(!journalstatusPropertyTree.isLeaf())))) { this.journalstatus = ((_other.journalstatus == null)?null:_other.journalstatus.newCopyBuilder(this, journalstatusPropertyTree, _propertyTreeUse)); } final PropertyTree journaldatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journaldato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journaldatoPropertyTree!= null):((journaldatoPropertyTree == null)||(!journaldatoPropertyTree.isLeaf())))) { this.journaldato = _other.journaldato; } final PropertyTree dokumentetsDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentetsDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentetsDatoPropertyTree!= null):((dokumentetsDatoPropertyTree == null)||(!dokumentetsDatoPropertyTree.isLeaf())))) { this.dokumentetsDato = _other.dokumentetsDato; } } } protected<_P extends JournalpostMinimum >_P init(final _P _product) { _product.journalaar = this.journalaar; _product.journalsekvensnummer = this.journalsekvensnummer; _product.journalpostnummer = this.journalpostnummer; _product.journalposttype = ((this.journalposttype == null)?null:this.journalposttype.build()); _product.journalstatus = ((this.journalstatus == null)?null:this.journalstatus.build()); _product.journaldato = this.journaldato; _product.dokumentetsDato = this.dokumentetsDato; return super.init(_product); } /** * Sets the new value of "journalaar" (any previous value will be replaced) * * @param journalaar * New value of the "journalaar" property. */ public JournalpostMinimum.Builder<_B> withJournalaar(final int journalaar) { this.journalaar = journalaar; return this; } /** * Sets the new value of "journalsekvensnummer" (any previous value will be * replaced) * * @param journalsekvensnummer * New value of the "journalsekvensnummer" property. */ public JournalpostMinimum.Builder<_B> withJournalsekvensnummer(final int journalsekvensnummer) { this.journalsekvensnummer = journalsekvensnummer; return this; } /** * Sets the new value of "journalpostnummer" (any previous value will be replaced) * * @param journalpostnummer * New value of the "journalpostnummer" property. */ public JournalpostMinimum.Builder<_B> withJournalpostnummer(final int journalpostnummer) { this.journalpostnummer = journalpostnummer; return this; } /** * Sets the new value of "journalposttype" (any previous value will be replaced) * * @param journalposttype * New value of the "journalposttype" property. */ public JournalpostMinimum.Builder<_B> withJournalposttype(final Journalposttype journalposttype) { this.journalposttype = ((journalposttype == null)?null:new Journalposttype.Builder>(this, journalposttype, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "journalposttype" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalposttype.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "journalposttype" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalposttype.Builder#end()} * to return to the current builder. */ public Journalposttype.Builder> withJournalposttype() { if (this.journalposttype!= null) { return this.journalposttype; } return this.journalposttype = new Journalposttype.Builder>(this, null, false); } /** * Sets the new value of "journalstatus" (any previous value will be replaced) * * @param journalstatus * New value of the "journalstatus" property. */ public JournalpostMinimum.Builder<_B> withJournalstatus(final Journalstatus journalstatus) { this.journalstatus = ((journalstatus == null)?null:new Journalstatus.Builder>(this, journalstatus, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "journalstatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalstatus.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "journalstatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Journalstatus.Builder#end()} * to return to the current builder. */ public Journalstatus.Builder> withJournalstatus() { if (this.journalstatus!= null) { return this.journalstatus; } return this.journalstatus = new Journalstatus.Builder>(this, null, false); } /** * Sets the new value of "journaldato" (any previous value will be replaced) * * @param journaldato * New value of the "journaldato" property. */ public JournalpostMinimum.Builder<_B> withJournaldato(final LocalDate journaldato) { this.journaldato = journaldato; return this; } /** * Sets the new value of "dokumentetsDato" (any previous value will be replaced) * * @param dokumentetsDato * New value of the "dokumentetsDato" property. */ public JournalpostMinimum.Builder<_B> withDokumentetsDato(final LocalDate dokumentetsDato) { this.dokumentetsDato = 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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum.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 JournalpostMinimum build() { if (_storedValue == null) { return this.init(new JournalpostMinimum()); } else { return ((JournalpostMinimum) _storedValue); } } public JournalpostMinimum.Builder<_B> copyOf(final JournalpostMinimum _other) { _other.copyTo(this); return this; } public JournalpostMinimum.Builder<_B> copyOf(final JournalpostMinimum.Builder _other) { return copyOf(_other.build()); } } public static class Select extends JournalpostMinimum.Selector { Select() { super(null, null, null); } public static JournalpostMinimum.Select _root() { return new JournalpostMinimum.Select(); } } public static class Selector , TParent > extends RegistreringMinimum.Selector { private Journalposttype.Selector> journalposttype = null; private Journalstatus.Selector> journalstatus = null; private com.kscs.util.jaxb.Selector> journaldato = null; private com.kscs.util.jaxb.Selector> dokumentetsDato = null; public Selector(final TRoot root, final TParent parent, final String propertyName) { super(root, parent, propertyName); } @Override public Map buildChildren() { final Map products = new HashMap(); products.putAll(super.buildChildren()); if (this.journalposttype!= null) { products.put("journalposttype", this.journalposttype.init()); } if (this.journalstatus!= null) { products.put("journalstatus", this.journalstatus.init()); } if (this.journaldato!= null) { products.put("journaldato", this.journaldato.init()); } if (this.dokumentetsDato!= null) { products.put("dokumentetsDato", this.dokumentetsDato.init()); } return products; } public Journalposttype.Selector> journalposttype() { return ((this.journalposttype == null)?this.journalposttype = new Journalposttype.Selector>(this._root, this, "journalposttype"):this.journalposttype); } public Journalstatus.Selector> journalstatus() { return ((this.journalstatus == null)?this.journalstatus = new Journalstatus.Selector>(this._root, this, "journalstatus"):this.journalstatus); } public com.kscs.util.jaxb.Selector> journaldato() { return ((this.journaldato == null)?this.journaldato = new com.kscs.util.jaxb.Selector>(this._root, this, "journaldato"):this.journaldato); } public com.kscs.util.jaxb.Selector> dokumentetsDato() { return ((this.dokumentetsDato == null)?this.dokumentetsDato = new com.kscs.util.jaxb.Selector>(this._root, this, "dokumentetsDato"):this.dokumentetsDato); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy