no.ks.fiks.arkiv.v1.arkivmelding.opprett.kvittering.JournalpostKvittering Maven / Gradle / Ivy
//
// 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.arkivmelding.opprett.kvittering;
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.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.SystemID;
import org.w3._2001.xmlschema.Adapter3;
/**
* Java class for journalpostKvittering complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="journalpostKvittering">
* <complexContent>
* <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/kvittering/v1}registreringKvittering">
* <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="forfallsdato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}forfallsdato" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "journalpostKvittering", propOrder = {
"journalaar",
"journalsekvensnummer",
"journalpostnummer",
"journalposttype",
"journalstatus",
"journaldato",
"forfallsdato"
})
public class JournalpostKvittering
extends RegistreringKvittering
{
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 forfallsdato;
/**
* 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 forfallsdato property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getForfallsdato() {
return forfallsdato;
}
/**
* Sets the value of the forfallsdato property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setForfallsdato(LocalDate value) {
this.forfallsdato = value;
}
/**
* 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 JournalpostKvittering.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.forfallsdato = this.forfallsdato;
}
@Override
public<_B >JournalpostKvittering.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new JournalpostKvittering.Builder<_B>(_parentBuilder, this, true);
}
@Override
public JournalpostKvittering.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static JournalpostKvittering.Builder builder() {
return new JournalpostKvittering.Builder(null, null, false);
}
public static<_B >JournalpostKvittering.Builder<_B> copyOf(final RegistreringKvittering _other) {
final JournalpostKvittering.Builder<_B> _newBuilder = new JournalpostKvittering.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder);
return _newBuilder;
}
public static<_B >JournalpostKvittering.Builder<_B> copyOf(final JournalpostKvittering _other) {
final JournalpostKvittering.Builder<_B> _newBuilder = new JournalpostKvittering.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 JournalpostKvittering.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 forfallsdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forfallsdato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forfallsdatoPropertyTree!= null):((forfallsdatoPropertyTree == null)||(!forfallsdatoPropertyTree.isLeaf())))) {
_other.forfallsdato = this.forfallsdato;
}
}
@Override
public<_B >JournalpostKvittering.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new JournalpostKvittering.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
@Override
public JournalpostKvittering.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >JournalpostKvittering.Builder<_B> copyOf(final RegistreringKvittering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final JournalpostKvittering.Builder<_B> _newBuilder = new JournalpostKvittering.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static<_B >JournalpostKvittering.Builder<_B> copyOf(final JournalpostKvittering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final JournalpostKvittering.Builder<_B> _newBuilder = new JournalpostKvittering.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static JournalpostKvittering.Builder copyExcept(final RegistreringKvittering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static JournalpostKvittering.Builder copyExcept(final JournalpostKvittering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static JournalpostKvittering.Builder copyOnly(final RegistreringKvittering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static JournalpostKvittering.Builder copyOnly(final JournalpostKvittering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >
extends RegistreringKvittering.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 forfallsdato;
public Builder(final _B _parentBuilder, final JournalpostKvittering _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.forfallsdato = _other.forfallsdato;
}
}
public Builder(final _B _parentBuilder, final JournalpostKvittering _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 forfallsdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forfallsdato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forfallsdatoPropertyTree!= null):((forfallsdatoPropertyTree == null)||(!forfallsdatoPropertyTree.isLeaf())))) {
this.forfallsdato = _other.forfallsdato;
}
}
}
protected<_P extends JournalpostKvittering >_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.forfallsdato = this.forfallsdato;
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 JournalpostKvittering.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 JournalpostKvittering.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 JournalpostKvittering.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 JournalpostKvittering.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 extends JournalpostKvittering.Builder<_B>> 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 JournalpostKvittering.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 extends JournalpostKvittering.Builder<_B>> 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 JournalpostKvittering.Builder<_B> withJournaldato(final LocalDate journaldato) {
this.journaldato = journaldato;
return this;
}
/**
* Sets the new value of "forfallsdato" (any previous value will be replaced)
*
* @param forfallsdato
* New value of the "forfallsdato" property.
*/
public JournalpostKvittering.Builder<_B> withForfallsdato(final LocalDate forfallsdato) {
this.forfallsdato = forfallsdato;
return this;
}
/**
* Sets the new value of "systemID" (any previous value will be replaced)
*
* @param systemID
* New value of the "systemID" property.
*/
@Override
public JournalpostKvittering.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 extends JournalpostKvittering.Builder<_B>> withSystemID() {
return ((SystemID.Builder extends JournalpostKvittering.Builder<_B>> ) super.withSystemID());
}
/**
* Sets the new value of "opprettetDato" (any previous value will be replaced)
*
* @param opprettetDato
* New value of the "opprettetDato" property.
*/
@Override
public JournalpostKvittering.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 JournalpostKvittering.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 JournalpostKvittering.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 JournalpostKvittering.Builder<_B> withArkivertAv(final String arkivertAv) {
super.withArkivertAv(arkivertAv);
return this;
}
/**
* Adds the given items to the value of "dokumentbeskrivelseKvitterings"
*
* @param dokumentbeskrivelseKvitterings
* Items to add to the value of the "dokumentbeskrivelseKvitterings" property
*/
@Override
public JournalpostKvittering.Builder<_B> addDokumentbeskrivelseKvitterings(final Iterable extends DokumentbeskrivelseKvittering> dokumentbeskrivelseKvitterings) {
super.addDokumentbeskrivelseKvitterings(dokumentbeskrivelseKvitterings);
return this;
}
/**
* Adds the given items to the value of "dokumentbeskrivelseKvitterings"
*
* @param dokumentbeskrivelseKvitterings
* Items to add to the value of the "dokumentbeskrivelseKvitterings" property
*/
@Override
public JournalpostKvittering.Builder<_B> addDokumentbeskrivelseKvitterings(DokumentbeskrivelseKvittering... dokumentbeskrivelseKvitterings) {
super.addDokumentbeskrivelseKvitterings(dokumentbeskrivelseKvitterings);
return this;
}
/**
* Sets the new value of "dokumentbeskrivelseKvitterings" (any previous value will
* be replaced)
*
* @param dokumentbeskrivelseKvitterings
* New value of the "dokumentbeskrivelseKvitterings" property.
*/
@Override
public JournalpostKvittering.Builder<_B> withDokumentbeskrivelseKvitterings(final Iterable extends DokumentbeskrivelseKvittering> dokumentbeskrivelseKvitterings) {
super.withDokumentbeskrivelseKvitterings(dokumentbeskrivelseKvitterings);
return this;
}
/**
* Sets the new value of "dokumentbeskrivelseKvitterings" (any previous value will
* be replaced)
*
* @param dokumentbeskrivelseKvitterings
* New value of the "dokumentbeskrivelseKvitterings" property.
*/
@Override
public JournalpostKvittering.Builder<_B> withDokumentbeskrivelseKvitterings(DokumentbeskrivelseKvittering... dokumentbeskrivelseKvitterings) {
super.withDokumentbeskrivelseKvitterings(dokumentbeskrivelseKvitterings);
return this;
}
/**
* Returns a new builder to build an additional value of the
* "dokumentbeskrivelseKvitterings" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivmelding.opprett.kvittering.DokumentbeskrivelseKvittering.Builder#end()}
* to return to the current builder.
*
* @return
* a new builder to build an additional value of the
* "dokumentbeskrivelseKvitterings" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivmelding.opprett.kvittering.DokumentbeskrivelseKvittering.Builder#end()}
* to return to the current builder.
*/
@Override
public DokumentbeskrivelseKvittering.Builder extends JournalpostKvittering.Builder<_B>> addDokumentbeskrivelseKvitterings() {
return ((DokumentbeskrivelseKvittering.Builder extends JournalpostKvittering.Builder<_B>> ) super.addDokumentbeskrivelseKvitterings());
}
/**
* Sets the new value of "registreringsID" (any previous value will be replaced)
*
* @param registreringsID
* New value of the "registreringsID" property.
*/
@Override
public JournalpostKvittering.Builder<_B> withRegistreringsID(final String registreringsID) {
super.withRegistreringsID(registreringsID);
return this;
}
/**
* Sets the new value of "referanseEksternNoekkel" (any previous value will be
* replaced)
*
* @param referanseEksternNoekkel
* New value of the "referanseEksternNoekkel" property.
*/
@Override
public JournalpostKvittering.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 extends JournalpostKvittering.Builder<_B>> withReferanseEksternNoekkel() {
return ((EksternNoekkel.Builder extends JournalpostKvittering.Builder<_B>> ) super.withReferanseEksternNoekkel());
}
@Override
public JournalpostKvittering build() {
if (_storedValue == null) {
return this.init(new JournalpostKvittering());
} else {
return ((JournalpostKvittering) _storedValue);
}
}
public JournalpostKvittering.Builder<_B> copyOf(final JournalpostKvittering _other) {
_other.copyTo(this);
return this;
}
public JournalpostKvittering.Builder<_B> copyOf(final JournalpostKvittering.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends JournalpostKvittering.Selector
{
Select() {
super(null, null, null);
}
public static JournalpostKvittering.Select _root() {
return new JournalpostKvittering.Select();
}
}
public static class Selector , TParent >
extends RegistreringKvittering.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> forfallsdato = 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.forfallsdato!= null) {
products.put("forfallsdato", this.forfallsdato.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> forfallsdato() {
return ((this.forfallsdato == null)?this.forfallsdato = new com.kscs.util.jaxb.Selector>(this._root, this, "forfallsdato"):this.forfallsdato);
}
}
}