no.ks.fiks.arkiv.v1.arkivstruktur.Arkivnotat 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.arkivstruktur;
import java.time.LocalDate;
import java.time.ZonedDateTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Dokumentmedium;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;
import org.w3._2001.xmlschema.Adapter1;
import org.w3._2001.xmlschema.Adapter3;
/**
* Java class for arkivnotat complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="arkivnotat">
* <complexContent>
* <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}registrering">
* <sequence>
* <element name="dokumentetsDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}dokumentetsDato" minOccurs="0"/>
* <element name="mottattDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}mottattDato" minOccurs="0"/>
* <element name="sendtDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}sendtDato" minOccurs="0"/>
* <element name="forfallsdato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}forfallsdato" minOccurs="0"/>
* <element name="offentlighetsvurdertDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}offentlighetsvurdertDato" minOccurs="0"/>
* <element name="antallVedlegg" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}antallVedlegg" minOccurs="0"/>
* <element name="utlaantDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}utlaantDato" minOccurs="0"/>
* <element name="utlaantTil" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}utlaantTil" minOccurs="0"/>
* <element name="dokumentflyt" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}dokumentflyt" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "arkivnotat", propOrder = {
"dokumentetsDato",
"mottattDato",
"sendtDato",
"forfallsdato",
"offentlighetsvurdertDato",
"antallVedlegg",
"utlaantDato",
"utlaantTil",
"dokumentflyts"
})
public class Arkivnotat
extends Registrering
{
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter3 .class)
@XmlSchemaType(name = "date")
protected LocalDate dokumentetsDato;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime mottattDato;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime sendtDato;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter3 .class)
@XmlSchemaType(name = "date")
protected LocalDate forfallsdato;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter3 .class)
@XmlSchemaType(name = "date")
protected LocalDate offentlighetsvurdertDato;
protected Integer antallVedlegg;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter3 .class)
@XmlSchemaType(name = "date")
protected LocalDate utlaantDato;
protected String utlaantTil;
@XmlElement(name = "dokumentflyt")
protected List dokumentflyts;
/**
* Gets the value of the dokumentetsDato property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getDokumentetsDato() {
return dokumentetsDato;
}
/**
* Sets the value of the dokumentetsDato property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDokumentetsDato(LocalDate value) {
this.dokumentetsDato = value;
}
/**
* Gets the value of the mottattDato property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getMottattDato() {
return mottattDato;
}
/**
* Sets the value of the mottattDato property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMottattDato(ZonedDateTime value) {
this.mottattDato = value;
}
/**
* Gets the value of the sendtDato property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getSendtDato() {
return sendtDato;
}
/**
* Sets the value of the sendtDato property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSendtDato(ZonedDateTime value) {
this.sendtDato = value;
}
/**
* Gets the value of the forfallsdato property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getForfallsdato() {
return forfallsdato;
}
/**
* Sets the value of the forfallsdato property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setForfallsdato(LocalDate value) {
this.forfallsdato = value;
}
/**
* Gets the value of the offentlighetsvurdertDato property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getOffentlighetsvurdertDato() {
return offentlighetsvurdertDato;
}
/**
* Sets the value of the offentlighetsvurdertDato property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOffentlighetsvurdertDato(LocalDate value) {
this.offentlighetsvurdertDato = value;
}
/**
* Gets the value of the antallVedlegg property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getAntallVedlegg() {
return antallVedlegg;
}
/**
* Sets the value of the antallVedlegg property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setAntallVedlegg(Integer value) {
this.antallVedlegg = value;
}
/**
* Gets the value of the utlaantDato property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getUtlaantDato() {
return utlaantDato;
}
/**
* Sets the value of the utlaantDato property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUtlaantDato(LocalDate value) {
this.utlaantDato = value;
}
/**
* Gets the value of the utlaantTil property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUtlaantTil() {
return utlaantTil;
}
/**
* Sets the value of the utlaantTil property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUtlaantTil(String value) {
this.utlaantTil = value;
}
/**
* Gets the value of the dokumentflyts property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the dokumentflyts property.
*
*
* For example, to add a new item, do as follows:
*
* getDokumentflyts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Dokumentflyt }
*
*
*/
public List getDokumentflyts() {
if (dokumentflyts == null) {
dokumentflyts = new ArrayList();
}
return this.dokumentflyts;
}
/**
* 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 Arkivnotat.Builder<_B> _other) {
super.copyTo(_other);
_other.dokumentetsDato = this.dokumentetsDato;
_other.mottattDato = this.mottattDato;
_other.sendtDato = this.sendtDato;
_other.forfallsdato = this.forfallsdato;
_other.offentlighetsvurdertDato = this.offentlighetsvurdertDato;
_other.antallVedlegg = this.antallVedlegg;
_other.utlaantDato = this.utlaantDato;
_other.utlaantTil = this.utlaantTil;
if (this.dokumentflyts == null) {
_other.dokumentflyts = null;
} else {
_other.dokumentflyts = new ArrayList>>();
for (Dokumentflyt _item: this.dokumentflyts) {
_other.dokumentflyts.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
}
@Override
public<_B >Arkivnotat.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new Arkivnotat.Builder<_B>(_parentBuilder, this, true);
}
@Override
public Arkivnotat.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static Arkivnotat.Builder builder() {
return new Arkivnotat.Builder(null, null, false);
}
public static<_B >Arkivnotat.Builder<_B> copyOf(final Registrering _other) {
final Arkivnotat.Builder<_B> _newBuilder = new Arkivnotat.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder);
return _newBuilder;
}
public static<_B >Arkivnotat.Builder<_B> copyOf(final Arkivnotat _other) {
final Arkivnotat.Builder<_B> _newBuilder = new Arkivnotat.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 Arkivnotat.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super.copyTo(_other, _propertyTree, _propertyTreeUse);
final PropertyTree dokumentetsDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentetsDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentetsDatoPropertyTree!= null):((dokumentetsDatoPropertyTree == null)||(!dokumentetsDatoPropertyTree.isLeaf())))) {
_other.dokumentetsDato = this.dokumentetsDato;
}
final PropertyTree mottattDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mottattDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mottattDatoPropertyTree!= null):((mottattDatoPropertyTree == null)||(!mottattDatoPropertyTree.isLeaf())))) {
_other.mottattDato = this.mottattDato;
}
final PropertyTree sendtDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sendtDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sendtDatoPropertyTree!= null):((sendtDatoPropertyTree == null)||(!sendtDatoPropertyTree.isLeaf())))) {
_other.sendtDato = this.sendtDato;
}
final PropertyTree forfallsdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forfallsdato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forfallsdatoPropertyTree!= null):((forfallsdatoPropertyTree == null)||(!forfallsdatoPropertyTree.isLeaf())))) {
_other.forfallsdato = this.forfallsdato;
}
final PropertyTree offentlighetsvurdertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("offentlighetsvurdertDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(offentlighetsvurdertDatoPropertyTree!= null):((offentlighetsvurdertDatoPropertyTree == null)||(!offentlighetsvurdertDatoPropertyTree.isLeaf())))) {
_other.offentlighetsvurdertDato = this.offentlighetsvurdertDato;
}
final PropertyTree antallVedleggPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("antallVedlegg"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(antallVedleggPropertyTree!= null):((antallVedleggPropertyTree == null)||(!antallVedleggPropertyTree.isLeaf())))) {
_other.antallVedlegg = this.antallVedlegg;
}
final PropertyTree utlaantDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utlaantDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utlaantDatoPropertyTree!= null):((utlaantDatoPropertyTree == null)||(!utlaantDatoPropertyTree.isLeaf())))) {
_other.utlaantDato = this.utlaantDato;
}
final PropertyTree utlaantTilPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utlaantTil"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utlaantTilPropertyTree!= null):((utlaantTilPropertyTree == null)||(!utlaantTilPropertyTree.isLeaf())))) {
_other.utlaantTil = this.utlaantTil;
}
final PropertyTree dokumentflytsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentflyts"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentflytsPropertyTree!= null):((dokumentflytsPropertyTree == null)||(!dokumentflytsPropertyTree.isLeaf())))) {
if (this.dokumentflyts == null) {
_other.dokumentflyts = null;
} else {
_other.dokumentflyts = new ArrayList>>();
for (Dokumentflyt _item: this.dokumentflyts) {
_other.dokumentflyts.add(((_item == null)?null:_item.newCopyBuilder(_other, dokumentflytsPropertyTree, _propertyTreeUse)));
}
}
}
}
@Override
public<_B >Arkivnotat.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new Arkivnotat.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
@Override
public Arkivnotat.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >Arkivnotat.Builder<_B> copyOf(final Registrering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final Arkivnotat.Builder<_B> _newBuilder = new Arkivnotat.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static<_B >Arkivnotat.Builder<_B> copyOf(final Arkivnotat _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final Arkivnotat.Builder<_B> _newBuilder = new Arkivnotat.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static Arkivnotat.Builder copyExcept(final Registrering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static Arkivnotat.Builder copyExcept(final Arkivnotat _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static Arkivnotat.Builder copyOnly(final Registrering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static Arkivnotat.Builder copyOnly(final Arkivnotat _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >
extends Registrering.Builder<_B>
implements Buildable
{
private LocalDate dokumentetsDato;
private ZonedDateTime mottattDato;
private ZonedDateTime sendtDato;
private LocalDate forfallsdato;
private LocalDate offentlighetsvurdertDato;
private Integer antallVedlegg;
private LocalDate utlaantDato;
private String utlaantTil;
private List>> dokumentflyts;
public Builder(final _B _parentBuilder, final Arkivnotat _other, final boolean _copy) {
super(_parentBuilder, _other, _copy);
if (_other!= null) {
this.dokumentetsDato = _other.dokumentetsDato;
this.mottattDato = _other.mottattDato;
this.sendtDato = _other.sendtDato;
this.forfallsdato = _other.forfallsdato;
this.offentlighetsvurdertDato = _other.offentlighetsvurdertDato;
this.antallVedlegg = _other.antallVedlegg;
this.utlaantDato = _other.utlaantDato;
this.utlaantTil = _other.utlaantTil;
if (_other.dokumentflyts == null) {
this.dokumentflyts = null;
} else {
this.dokumentflyts = new ArrayList>>();
for (Dokumentflyt _item: _other.dokumentflyts) {
this.dokumentflyts.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
}
}
public Builder(final _B _parentBuilder, final Arkivnotat _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse);
if (_other!= null) {
final PropertyTree dokumentetsDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentetsDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentetsDatoPropertyTree!= null):((dokumentetsDatoPropertyTree == null)||(!dokumentetsDatoPropertyTree.isLeaf())))) {
this.dokumentetsDato = _other.dokumentetsDato;
}
final PropertyTree mottattDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mottattDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mottattDatoPropertyTree!= null):((mottattDatoPropertyTree == null)||(!mottattDatoPropertyTree.isLeaf())))) {
this.mottattDato = _other.mottattDato;
}
final PropertyTree sendtDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sendtDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sendtDatoPropertyTree!= null):((sendtDatoPropertyTree == null)||(!sendtDatoPropertyTree.isLeaf())))) {
this.sendtDato = _other.sendtDato;
}
final PropertyTree forfallsdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forfallsdato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forfallsdatoPropertyTree!= null):((forfallsdatoPropertyTree == null)||(!forfallsdatoPropertyTree.isLeaf())))) {
this.forfallsdato = _other.forfallsdato;
}
final PropertyTree offentlighetsvurdertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("offentlighetsvurdertDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(offentlighetsvurdertDatoPropertyTree!= null):((offentlighetsvurdertDatoPropertyTree == null)||(!offentlighetsvurdertDatoPropertyTree.isLeaf())))) {
this.offentlighetsvurdertDato = _other.offentlighetsvurdertDato;
}
final PropertyTree antallVedleggPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("antallVedlegg"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(antallVedleggPropertyTree!= null):((antallVedleggPropertyTree == null)||(!antallVedleggPropertyTree.isLeaf())))) {
this.antallVedlegg = _other.antallVedlegg;
}
final PropertyTree utlaantDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utlaantDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utlaantDatoPropertyTree!= null):((utlaantDatoPropertyTree == null)||(!utlaantDatoPropertyTree.isLeaf())))) {
this.utlaantDato = _other.utlaantDato;
}
final PropertyTree utlaantTilPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utlaantTil"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utlaantTilPropertyTree!= null):((utlaantTilPropertyTree == null)||(!utlaantTilPropertyTree.isLeaf())))) {
this.utlaantTil = _other.utlaantTil;
}
final PropertyTree dokumentflytsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentflyts"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentflytsPropertyTree!= null):((dokumentflytsPropertyTree == null)||(!dokumentflytsPropertyTree.isLeaf())))) {
if (_other.dokumentflyts == null) {
this.dokumentflyts = null;
} else {
this.dokumentflyts = new ArrayList>>();
for (Dokumentflyt _item: _other.dokumentflyts) {
this.dokumentflyts.add(((_item == null)?null:_item.newCopyBuilder(this, dokumentflytsPropertyTree, _propertyTreeUse)));
}
}
}
}
}
protected<_P extends Arkivnotat >_P init(final _P _product) {
_product.dokumentetsDato = this.dokumentetsDato;
_product.mottattDato = this.mottattDato;
_product.sendtDato = this.sendtDato;
_product.forfallsdato = this.forfallsdato;
_product.offentlighetsvurdertDato = this.offentlighetsvurdertDato;
_product.antallVedlegg = this.antallVedlegg;
_product.utlaantDato = this.utlaantDato;
_product.utlaantTil = this.utlaantTil;
if (this.dokumentflyts!= null) {
final List dokumentflyts = new ArrayList(this.dokumentflyts.size());
for (Dokumentflyt.Builder> _item: this.dokumentflyts) {
dokumentflyts.add(_item.build());
}
_product.dokumentflyts = dokumentflyts;
}
return super.init(_product);
}
/**
* Sets the new value of "dokumentetsDato" (any previous value will be replaced)
*
* @param dokumentetsDato
* New value of the "dokumentetsDato" property.
*/
public Arkivnotat.Builder<_B> withDokumentetsDato(final LocalDate dokumentetsDato) {
this.dokumentetsDato = dokumentetsDato;
return this;
}
/**
* Sets the new value of "mottattDato" (any previous value will be replaced)
*
* @param mottattDato
* New value of the "mottattDato" property.
*/
public Arkivnotat.Builder<_B> withMottattDato(final ZonedDateTime mottattDato) {
this.mottattDato = mottattDato;
return this;
}
/**
* Sets the new value of "sendtDato" (any previous value will be replaced)
*
* @param sendtDato
* New value of the "sendtDato" property.
*/
public Arkivnotat.Builder<_B> withSendtDato(final ZonedDateTime sendtDato) {
this.sendtDato = sendtDato;
return this;
}
/**
* Sets the new value of "forfallsdato" (any previous value will be replaced)
*
* @param forfallsdato
* New value of the "forfallsdato" property.
*/
public Arkivnotat.Builder<_B> withForfallsdato(final LocalDate forfallsdato) {
this.forfallsdato = forfallsdato;
return this;
}
/**
* Sets the new value of "offentlighetsvurdertDato" (any previous value will be
* replaced)
*
* @param offentlighetsvurdertDato
* New value of the "offentlighetsvurdertDato" property.
*/
public Arkivnotat.Builder<_B> withOffentlighetsvurdertDato(final LocalDate offentlighetsvurdertDato) {
this.offentlighetsvurdertDato = offentlighetsvurdertDato;
return this;
}
/**
* Sets the new value of "antallVedlegg" (any previous value will be replaced)
*
* @param antallVedlegg
* New value of the "antallVedlegg" property.
*/
public Arkivnotat.Builder<_B> withAntallVedlegg(final Integer antallVedlegg) {
this.antallVedlegg = antallVedlegg;
return this;
}
/**
* Sets the new value of "utlaantDato" (any previous value will be replaced)
*
* @param utlaantDato
* New value of the "utlaantDato" property.
*/
public Arkivnotat.Builder<_B> withUtlaantDato(final LocalDate utlaantDato) {
this.utlaantDato = utlaantDato;
return this;
}
/**
* Sets the new value of "utlaantTil" (any previous value will be replaced)
*
* @param utlaantTil
* New value of the "utlaantTil" property.
*/
public Arkivnotat.Builder<_B> withUtlaantTil(final String utlaantTil) {
this.utlaantTil = utlaantTil;
return this;
}
/**
* Adds the given items to the value of "dokumentflyts"
*
* @param dokumentflyts
* Items to add to the value of the "dokumentflyts" property
*/
public Arkivnotat.Builder<_B> addDokumentflyts(final Iterable extends Dokumentflyt> dokumentflyts) {
if (dokumentflyts!= null) {
if (this.dokumentflyts == null) {
this.dokumentflyts = new ArrayList>>();
}
for (Dokumentflyt _item: dokumentflyts) {
this.dokumentflyts.add(new Dokumentflyt.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "dokumentflyts" (any previous value will be replaced)
*
* @param dokumentflyts
* New value of the "dokumentflyts" property.
*/
public Arkivnotat.Builder<_B> withDokumentflyts(final Iterable extends Dokumentflyt> dokumentflyts) {
if (this.dokumentflyts!= null) {
this.dokumentflyts.clear();
}
return addDokumentflyts(dokumentflyts);
}
/**
* Adds the given items to the value of "dokumentflyts"
*
* @param dokumentflyts
* Items to add to the value of the "dokumentflyts" property
*/
public Arkivnotat.Builder<_B> addDokumentflyts(Dokumentflyt... dokumentflyts) {
addDokumentflyts(Arrays.asList(dokumentflyts));
return this;
}
/**
* Sets the new value of "dokumentflyts" (any previous value will be replaced)
*
* @param dokumentflyts
* New value of the "dokumentflyts" property.
*/
public Arkivnotat.Builder<_B> withDokumentflyts(Dokumentflyt... dokumentflyts) {
withDokumentflyts(Arrays.asList(dokumentflyts));
return this;
}
/**
* Returns a new builder to build an additional value of the "Dokumentflyts"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentflyt.Builder#end()} to
* return to the current builder.
*
* @return
* a new builder to build an additional value of the "Dokumentflyts" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentflyt.Builder#end()} to
* return to the current builder.
*/
public Dokumentflyt.Builder extends Arkivnotat.Builder<_B>> addDokumentflyts() {
if (this.dokumentflyts == null) {
this.dokumentflyts = new ArrayList>>();
}
final Dokumentflyt.Builder> dokumentflyts_Builder = new Dokumentflyt.Builder>(this, null, false);
this.dokumentflyts.add(dokumentflyts_Builder);
return dokumentflyts_Builder;
}
/**
* Sets the new value of "systemID" (any previous value will be replaced)
*
* @param systemID
* New value of the "systemID" property.
*/
@Override
public Arkivnotat.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 Arkivnotat.Builder<_B>> withSystemID() {
return ((SystemID.Builder extends Arkivnotat.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 Arkivnotat.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 Arkivnotat.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 Arkivnotat.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 Arkivnotat.Builder<_B> withArkivertAv(final String arkivertAv) {
super.withArkivertAv(arkivertAv);
return this;
}
/**
* Sets the new value of "arkivdel" (any previous value will be replaced)
*
* @param arkivdel
* New value of the "arkivdel" property.
*/
@Override
public Arkivnotat.Builder<_B> withArkivdel(final Kode arkivdel) {
super.withArkivdel(arkivdel);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "arkivdel" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "arkivdel" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode.Builder#end()}
* to return to the current builder.
*/
public Kode.Builder extends Arkivnotat.Builder<_B>> withArkivdel() {
return ((Kode.Builder extends Arkivnotat.Builder<_B>> ) super.withArkivdel());
}
/**
* Sets the new value of "referanseForelderMappe" (any previous value will be
* replaced)
*
* @param referanseForelderMappe
* New value of the "referanseForelderMappe" property.
*/
@Override
public Arkivnotat.Builder<_B> withReferanseForelderMappe(final ReferanseTilMappe referanseForelderMappe) {
super.withReferanseForelderMappe(referanseForelderMappe);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "referanseForelderMappe" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "referanseForelderMappe" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe.Builder#end()}
* to return to the current builder.
*/
public ReferanseTilMappe.Builder extends Arkivnotat.Builder<_B>> withReferanseForelderMappe() {
return ((ReferanseTilMappe.Builder extends Arkivnotat.Builder<_B>> ) super.withReferanseForelderMappe());
}
/**
* Adds the given items to the value of "parts"
*
* @param parts
* Items to add to the value of the "parts" property
*/
@Override
public Arkivnotat.Builder<_B> addParts(final Iterable extends Part> parts) {
super.addParts(parts);
return this;
}
/**
* Adds the given items to the value of "parts"
*
* @param parts
* Items to add to the value of the "parts" property
*/
@Override
public Arkivnotat.Builder<_B> addParts(Part... parts) {
super.addParts(parts);
return this;
}
/**
* Sets the new value of "parts" (any previous value will be replaced)
*
* @param parts
* New value of the "parts" property.
*/
@Override
public Arkivnotat.Builder<_B> withParts(final Iterable extends Part> parts) {
super.withParts(parts);
return this;
}
/**
* Sets the new value of "parts" (any previous value will be replaced)
*
* @param parts
* New value of the "parts" property.
*/
@Override
public Arkivnotat.Builder<_B> withParts(Part... parts) {
super.withParts(parts);
return this;
}
/**
* Returns a new builder to build an additional value of the "parts" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Part.Builder#end()} to return to
* the current builder.
*
* @return
* a new builder to build an additional value of the "parts" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Part.Builder#end()} to return to
* the current builder.
*/
@Override
public Part.Builder extends Arkivnotat.Builder<_B>> addParts() {
return ((Part.Builder extends Arkivnotat.Builder<_B>> ) super.addParts());
}
/**
* Sets the new value of "kassasjon" (any previous value will be replaced)
*
* @param kassasjon
* New value of the "kassasjon" property.
*/
@Override
public Arkivnotat.Builder<_B> withKassasjon(final Kassasjon kassasjon) {
super.withKassasjon(kassasjon);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "kassasjon" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kassasjon.Builder#end()} to return
* to the current builder.
*
* @return
* A new builder to build the value of the "kassasjon" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kassasjon.Builder#end()} to return
* to the current builder.
*/
public Kassasjon.Builder extends Arkivnotat.Builder<_B>> withKassasjon() {
return ((Kassasjon.Builder extends Arkivnotat.Builder<_B>> ) super.withKassasjon());
}
/**
* Sets the new value of "skjerming" (any previous value will be replaced)
*
* @param skjerming
* New value of the "skjerming" property.
*/
@Override
public Arkivnotat.Builder<_B> withSkjerming(final Skjerming skjerming) {
super.withSkjerming(skjerming);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "skjerming" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Skjerming.Builder#end()} to return
* to the current builder.
*
* @return
* A new builder to build the value of the "skjerming" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Skjerming.Builder#end()} to return
* to the current builder.
*/
public Skjerming.Builder extends Arkivnotat.Builder<_B>> withSkjerming() {
return ((Skjerming.Builder extends Arkivnotat.Builder<_B>> ) super.withSkjerming());
}
/**
* Sets the new value of "gradering" (any previous value will be replaced)
*
* @param gradering
* New value of the "gradering" property.
*/
@Override
public Arkivnotat.Builder<_B> withGradering(final Gradering gradering) {
super.withGradering(gradering);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "gradering" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Gradering.Builder#end()} to return
* to the current builder.
*
* @return
* A new builder to build the value of the "gradering" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Gradering.Builder#end()} to return
* to the current builder.
*/
public Gradering.Builder extends Arkivnotat.Builder<_B>> withGradering() {
return ((Gradering.Builder extends Arkivnotat.Builder<_B>> ) 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 Arkivnotat.Builder<_B> addDokumentbeskrivelses(final Iterable extends Dokumentbeskrivelse> 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 Arkivnotat.Builder<_B> addDokumentbeskrivelses(Dokumentbeskrivelse... dokumentbeskrivelses) {
super.addDokumentbeskrivelses(dokumentbeskrivelses);
return this;
}
/**
* Sets the new value of "dokumentbeskrivelses" (any previous value will be
* replaced)
*
* @param dokumentbeskrivelses
* New value of the "dokumentbeskrivelses" property.
*/
@Override
public Arkivnotat.Builder<_B> withDokumentbeskrivelses(final Iterable extends Dokumentbeskrivelse> 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 Arkivnotat.Builder<_B> withDokumentbeskrivelses(Dokumentbeskrivelse... dokumentbeskrivelses) {
super.withDokumentbeskrivelses(dokumentbeskrivelses);
return this;
}
/**
* Returns a new builder to build an additional value of the "dokumentbeskrivelses"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentbeskrivelse.Builder#end()}
* to return to the current builder.
*
* @return
* a new builder to build an additional value of the "dokumentbeskrivelses"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentbeskrivelse.Builder#end()}
* to return to the current builder.
*/
@Override
public Dokumentbeskrivelse.Builder extends Arkivnotat.Builder<_B>> addDokumentbeskrivelses() {
return ((Dokumentbeskrivelse.Builder extends Arkivnotat.Builder<_B>> ) super.addDokumentbeskrivelses());
}
/**
* Sets the new value of "registreringsID" (any previous value will be replaced)
*
* @param registreringsID
* New value of the "registreringsID" property.
*/
@Override
public Arkivnotat.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 Arkivnotat.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 Arkivnotat.Builder<_B> withOffentligTittel(final String offentligTittel) {
super.withOffentligTittel(offentligTittel);
return this;
}
/**
* Sets the new value of "beskrivelse" (any previous value will be replaced)
*
* @param beskrivelse
* New value of the "beskrivelse" property.
*/
@Override
public Arkivnotat.Builder<_B> withBeskrivelse(final String beskrivelse) {
super.withBeskrivelse(beskrivelse);
return this;
}
/**
* Adds the given items to the value of "noekkelords"
*
* @param noekkelords
* Items to add to the value of the "noekkelords" property
*/
@Override
public Arkivnotat.Builder<_B> addNoekkelords(final Iterable extends String> noekkelords) {
super.addNoekkelords(noekkelords);
return this;
}
/**
* Adds the given items to the value of "noekkelords"
*
* @param noekkelords
* Items to add to the value of the "noekkelords" property
*/
@Override
public Arkivnotat.Builder<_B> addNoekkelords(String... noekkelords) {
super.addNoekkelords(noekkelords);
return this;
}
/**
* Sets the new value of "noekkelords" (any previous value will be replaced)
*
* @param noekkelords
* New value of the "noekkelords" property.
*/
@Override
public Arkivnotat.Builder<_B> withNoekkelords(final Iterable extends String> noekkelords) {
super.withNoekkelords(noekkelords);
return this;
}
/**
* Sets the new value of "noekkelords" (any previous value will be replaced)
*
* @param noekkelords
* New value of the "noekkelords" property.
*/
@Override
public Arkivnotat.Builder<_B> withNoekkelords(String... noekkelords) {
super.withNoekkelords(noekkelords);
return this;
}
/**
* Adds the given items to the value of "forfatters"
*
* @param forfatters
* Items to add to the value of the "forfatters" property
*/
@Override
public Arkivnotat.Builder<_B> addForfatters(final Iterable extends String> forfatters) {
super.addForfatters(forfatters);
return this;
}
/**
* Adds the given items to the value of "forfatters"
*
* @param forfatters
* Items to add to the value of the "forfatters" property
*/
@Override
public Arkivnotat.Builder<_B> addForfatters(String... forfatters) {
super.addForfatters(forfatters);
return this;
}
/**
* Sets the new value of "forfatters" (any previous value will be replaced)
*
* @param forfatters
* New value of the "forfatters" property.
*/
@Override
public Arkivnotat.Builder<_B> withForfatters(final Iterable extends String> forfatters) {
super.withForfatters(forfatters);
return this;
}
/**
* Sets the new value of "forfatters" (any previous value will be replaced)
*
* @param forfatters
* New value of the "forfatters" property.
*/
@Override
public Arkivnotat.Builder<_B> withForfatters(String... forfatters) {
super.withForfatters(forfatters);
return this;
}
/**
* Sets the new value of "dokumentmedium" (any previous value will be replaced)
*
* @param dokumentmedium
* New value of the "dokumentmedium" property.
*/
@Override
public Arkivnotat.Builder<_B> withDokumentmedium(final Dokumentmedium dokumentmedium) {
super.withDokumentmedium(dokumentmedium);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "dokumentmedium" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Dokumentmedium.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "dokumentmedium" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Dokumentmedium.Builder#end()}
* to return to the current builder.
*/
public Dokumentmedium.Builder extends Arkivnotat.Builder<_B>> withDokumentmedium() {
return ((Dokumentmedium.Builder extends Arkivnotat.Builder<_B>> ) super.withDokumentmedium());
}
/**
* Adds the given items to the value of "oppbevaringssteds"
*
* @param oppbevaringssteds
* Items to add to the value of the "oppbevaringssteds" property
*/
@Override
public Arkivnotat.Builder<_B> addOppbevaringssteds(final Iterable extends String> oppbevaringssteds) {
super.addOppbevaringssteds(oppbevaringssteds);
return this;
}
/**
* Adds the given items to the value of "oppbevaringssteds"
*
* @param oppbevaringssteds
* Items to add to the value of the "oppbevaringssteds" property
*/
@Override
public Arkivnotat.Builder<_B> addOppbevaringssteds(String... oppbevaringssteds) {
super.addOppbevaringssteds(oppbevaringssteds);
return this;
}
/**
* Sets the new value of "oppbevaringssteds" (any previous value will be replaced)
*
* @param oppbevaringssteds
* New value of the "oppbevaringssteds" property.
*/
@Override
public Arkivnotat.Builder<_B> withOppbevaringssteds(final Iterable extends String> oppbevaringssteds) {
super.withOppbevaringssteds(oppbevaringssteds);
return this;
}
/**
* Sets the new value of "oppbevaringssteds" (any previous value will be replaced)
*
* @param oppbevaringssteds
* New value of the "oppbevaringssteds" property.
*/
@Override
public Arkivnotat.Builder<_B> withOppbevaringssteds(String... oppbevaringssteds) {
super.withOppbevaringssteds(oppbevaringssteds);
return this;
}
/**
* Sets the new value of "virksomhetsspesifikkeMetadata" (any previous value will
* be replaced)
*
* @param virksomhetsspesifikkeMetadata
* New value of the "virksomhetsspesifikkeMetadata" property.
*/
@Override
public Arkivnotat.Builder<_B> withVirksomhetsspesifikkeMetadata(final Object virksomhetsspesifikkeMetadata) {
super.withVirksomhetsspesifikkeMetadata(virksomhetsspesifikkeMetadata);
return this;
}
/**
* Adds the given items to the value of "merknads"
*
* @param merknads
* Items to add to the value of the "merknads" property
*/
@Override
public Arkivnotat.Builder<_B> addMerknads(final Iterable extends Merknad> merknads) {
super.addMerknads(merknads);
return this;
}
/**
* Adds the given items to the value of "merknads"
*
* @param merknads
* Items to add to the value of the "merknads" property
*/
@Override
public Arkivnotat.Builder<_B> addMerknads(Merknad... merknads) {
super.addMerknads(merknads);
return this;
}
/**
* Sets the new value of "merknads" (any previous value will be replaced)
*
* @param merknads
* New value of the "merknads" property.
*/
@Override
public Arkivnotat.Builder<_B> withMerknads(final Iterable extends Merknad> merknads) {
super.withMerknads(merknads);
return this;
}
/**
* Sets the new value of "merknads" (any previous value will be replaced)
*
* @param merknads
* New value of the "merknads" property.
*/
@Override
public Arkivnotat.Builder<_B> withMerknads(Merknad... merknads) {
super.withMerknads(merknads);
return this;
}
/**
* Returns a new builder to build an additional value of the "merknads" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Merknad.Builder#end()} to return to
* the current builder.
*
* @return
* a new builder to build an additional value of the "merknads" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Merknad.Builder#end()} to return to
* the current builder.
*/
@Override
public Merknad.Builder extends Arkivnotat.Builder<_B>> addMerknads() {
return ((Merknad.Builder extends Arkivnotat.Builder<_B>> ) super.addMerknads());
}
/**
* Adds the given items to the value of "kryssreferanses"
*
* @param kryssreferanses
* Items to add to the value of the "kryssreferanses" property
*/
@Override
public Arkivnotat.Builder<_B> addKryssreferanses(final Iterable extends Kryssreferanse> kryssreferanses) {
super.addKryssreferanses(kryssreferanses);
return this;
}
/**
* Adds the given items to the value of "kryssreferanses"
*
* @param kryssreferanses
* Items to add to the value of the "kryssreferanses" property
*/
@Override
public Arkivnotat.Builder<_B> addKryssreferanses(Kryssreferanse... kryssreferanses) {
super.addKryssreferanses(kryssreferanses);
return this;
}
/**
* Sets the new value of "kryssreferanses" (any previous value will be replaced)
*
* @param kryssreferanses
* New value of the "kryssreferanses" property.
*/
@Override
public Arkivnotat.Builder<_B> withKryssreferanses(final Iterable extends Kryssreferanse> kryssreferanses) {
super.withKryssreferanses(kryssreferanses);
return this;
}
/**
* Sets the new value of "kryssreferanses" (any previous value will be replaced)
*
* @param kryssreferanses
* New value of the "kryssreferanses" property.
*/
@Override
public Arkivnotat.Builder<_B> withKryssreferanses(Kryssreferanse... kryssreferanses) {
super.withKryssreferanses(kryssreferanses);
return this;
}
/**
* Returns a new builder to build an additional value of the "kryssreferanses"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kryssreferanse.Builder#end()} to
* return to the current builder.
*
* @return
* a new builder to build an additional value of the "kryssreferanses" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kryssreferanse.Builder#end()} to
* return to the current builder.
*/
@Override
public Kryssreferanse.Builder extends Arkivnotat.Builder<_B>> addKryssreferanses() {
return ((Kryssreferanse.Builder extends Arkivnotat.Builder<_B>> ) super.addKryssreferanses());
}
/**
* Adds the given items to the value of "korrespondanseparts"
*
* @param korrespondanseparts
* Items to add to the value of the "korrespondanseparts" property
*/
@Override
public Arkivnotat.Builder<_B> addKorrespondanseparts(final Iterable extends Korrespondansepart> 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 Arkivnotat.Builder<_B> addKorrespondanseparts(Korrespondansepart... korrespondanseparts) {
super.addKorrespondanseparts(korrespondanseparts);
return this;
}
/**
* Sets the new value of "korrespondanseparts" (any previous value will be
* replaced)
*
* @param korrespondanseparts
* New value of the "korrespondanseparts" property.
*/
@Override
public Arkivnotat.Builder<_B> withKorrespondanseparts(final Iterable extends Korrespondansepart> 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 Arkivnotat.Builder<_B> withKorrespondanseparts(Korrespondansepart... korrespondanseparts) {
super.withKorrespondanseparts(korrespondanseparts);
return this;
}
/**
* Returns a new builder to build an additional value of the "korrespondanseparts"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Korrespondansepart.Builder#end()}
* to return to the current builder.
*
* @return
* a new builder to build an additional value of the "korrespondanseparts"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Korrespondansepart.Builder#end()}
* to return to the current builder.
*/
@Override
public Korrespondansepart.Builder extends Arkivnotat.Builder<_B>> addKorrespondanseparts() {
return ((Korrespondansepart.Builder extends Arkivnotat.Builder<_B>> ) super.addKorrespondanseparts());
}
/**
* Adds the given items to the value of "klassifikasjons"
*
* @param klassifikasjons
* Items to add to the value of the "klassifikasjons" property
*/
@Override
public Arkivnotat.Builder<_B> addKlassifikasjons(final Iterable extends Klassifikasjon> klassifikasjons) {
super.addKlassifikasjons(klassifikasjons);
return this;
}
/**
* Adds the given items to the value of "klassifikasjons"
*
* @param klassifikasjons
* Items to add to the value of the "klassifikasjons" property
*/
@Override
public Arkivnotat.Builder<_B> addKlassifikasjons(Klassifikasjon... klassifikasjons) {
super.addKlassifikasjons(klassifikasjons);
return this;
}
/**
* Sets the new value of "klassifikasjons" (any previous value will be replaced)
*
* @param klassifikasjons
* New value of the "klassifikasjons" property.
*/
@Override
public Arkivnotat.Builder<_B> withKlassifikasjons(final Iterable extends Klassifikasjon> klassifikasjons) {
super.withKlassifikasjons(klassifikasjons);
return this;
}
/**
* Sets the new value of "klassifikasjons" (any previous value will be replaced)
*
* @param klassifikasjons
* New value of the "klassifikasjons" property.
*/
@Override
public Arkivnotat.Builder<_B> withKlassifikasjons(Klassifikasjon... klassifikasjons) {
super.withKlassifikasjons(klassifikasjons);
return this;
}
/**
* Returns a new builder to build an additional value of the "klassifikasjons"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Klassifikasjon.Builder#end()} to
* return to the current builder.
*
* @return
* a new builder to build an additional value of the "klassifikasjons" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Klassifikasjon.Builder#end()} to
* return to the current builder.
*/
@Override
public Klassifikasjon.Builder extends Arkivnotat.Builder<_B>> addKlassifikasjons() {
return ((Klassifikasjon.Builder extends Arkivnotat.Builder<_B>> ) super.addKlassifikasjons());
}
/**
* Sets the new value of "referanseEksternNoekkel" (any previous value will be
* replaced)
*
* @param referanseEksternNoekkel
* New value of the "referanseEksternNoekkel" property.
*/
@Override
public Arkivnotat.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 Arkivnotat.Builder<_B>> withReferanseEksternNoekkel() {
return ((EksternNoekkel.Builder extends Arkivnotat.Builder<_B>> ) super.withReferanseEksternNoekkel());
}
@Override
public Arkivnotat build() {
if (_storedValue == null) {
return this.init(new Arkivnotat());
} else {
return ((Arkivnotat) _storedValue);
}
}
public Arkivnotat.Builder<_B> copyOf(final Arkivnotat _other) {
_other.copyTo(this);
return this;
}
public Arkivnotat.Builder<_B> copyOf(final Arkivnotat.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends Arkivnotat.Selector
{
Select() {
super(null, null, null);
}
public static Arkivnotat.Select _root() {
return new Arkivnotat.Select();
}
}
public static class Selector , TParent >
extends Registrering.Selector
{
private com.kscs.util.jaxb.Selector> dokumentetsDato = null;
private com.kscs.util.jaxb.Selector> mottattDato = null;
private com.kscs.util.jaxb.Selector> sendtDato = null;
private com.kscs.util.jaxb.Selector> forfallsdato = null;
private com.kscs.util.jaxb.Selector> offentlighetsvurdertDato = null;
private com.kscs.util.jaxb.Selector> antallVedlegg = null;
private com.kscs.util.jaxb.Selector> utlaantDato = null;
private com.kscs.util.jaxb.Selector> utlaantTil = null;
private Dokumentflyt.Selector> dokumentflyts = 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.dokumentetsDato!= null) {
products.put("dokumentetsDato", this.dokumentetsDato.init());
}
if (this.mottattDato!= null) {
products.put("mottattDato", this.mottattDato.init());
}
if (this.sendtDato!= null) {
products.put("sendtDato", this.sendtDato.init());
}
if (this.forfallsdato!= null) {
products.put("forfallsdato", this.forfallsdato.init());
}
if (this.offentlighetsvurdertDato!= null) {
products.put("offentlighetsvurdertDato", this.offentlighetsvurdertDato.init());
}
if (this.antallVedlegg!= null) {
products.put("antallVedlegg", this.antallVedlegg.init());
}
if (this.utlaantDato!= null) {
products.put("utlaantDato", this.utlaantDato.init());
}
if (this.utlaantTil!= null) {
products.put("utlaantTil", this.utlaantTil.init());
}
if (this.dokumentflyts!= null) {
products.put("dokumentflyts", this.dokumentflyts.init());
}
return products;
}
public com.kscs.util.jaxb.Selector> dokumentetsDato() {
return ((this.dokumentetsDato == null)?this.dokumentetsDato = new com.kscs.util.jaxb.Selector>(this._root, this, "dokumentetsDato"):this.dokumentetsDato);
}
public com.kscs.util.jaxb.Selector> mottattDato() {
return ((this.mottattDato == null)?this.mottattDato = new com.kscs.util.jaxb.Selector>(this._root, this, "mottattDato"):this.mottattDato);
}
public com.kscs.util.jaxb.Selector> sendtDato() {
return ((this.sendtDato == null)?this.sendtDato = new com.kscs.util.jaxb.Selector>(this._root, this, "sendtDato"):this.sendtDato);
}
public com.kscs.util.jaxb.Selector> forfallsdato() {
return ((this.forfallsdato == null)?this.forfallsdato = new com.kscs.util.jaxb.Selector>(this._root, this, "forfallsdato"):this.forfallsdato);
}
public com.kscs.util.jaxb.Selector> offentlighetsvurdertDato() {
return ((this.offentlighetsvurdertDato == null)?this.offentlighetsvurdertDato = new com.kscs.util.jaxb.Selector>(this._root, this, "offentlighetsvurdertDato"):this.offentlighetsvurdertDato);
}
public com.kscs.util.jaxb.Selector> antallVedlegg() {
return ((this.antallVedlegg == null)?this.antallVedlegg = new com.kscs.util.jaxb.Selector>(this._root, this, "antallVedlegg"):this.antallVedlegg);
}
public com.kscs.util.jaxb.Selector> utlaantDato() {
return ((this.utlaantDato == null)?this.utlaantDato = new com.kscs.util.jaxb.Selector>(this._root, this, "utlaantDato"):this.utlaantDato);
}
public com.kscs.util.jaxb.Selector> utlaantTil() {
return ((this.utlaantTil == null)?this.utlaantTil = new com.kscs.util.jaxb.Selector>(this._root, this, "utlaantTil"):this.utlaantTil);
}
public Dokumentflyt.Selector> dokumentflyts() {
return ((this.dokumentflyts == null)?this.dokumentflyts = new Dokumentflyt.Selector>(this._root, this, "dokumentflyts"):this.dokumentflyts);
}
}
}