no.ks.fiks.arkiv.v1.arkivmelding.opprett.Registrering 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;
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.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.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;
/**
* Java class for registrering complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="registrering">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="systemID" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}systemID" minOccurs="0"/>
* <element name="opprettetDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}opprettetDato" minOccurs="0"/>
* <element name="opprettetAv" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}opprettetAv" minOccurs="0"/>
* <element name="arkivertDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}arkivertDato" minOccurs="0"/>
* <element name="arkivertAv" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}arkivertAv" minOccurs="0"/>
* <choice minOccurs="0">
* <element name="referanseForelderMappe" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseTilMappe"/>
* <element name="arkivdel" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}kode"/>
* </choice>
* <element name="part" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}part" maxOccurs="unbounded" minOccurs="0"/>
* <element name="skjerming" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}skjerming" minOccurs="0"/>
* <element name="gradering" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}gradering" minOccurs="0"/>
* <element name="dokumentbeskrivelse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}dokumentbeskrivelse" maxOccurs="unbounded" minOccurs="0"/>
* <element name="registreringsID" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}registreringsID" minOccurs="0"/>
* <element name="tittel" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}tittel"/>
* <element name="offentligTittel" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}offentligTittel" minOccurs="0"/>
* <element name="beskrivelse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}beskrivelse" minOccurs="0"/>
* <element name="noekkelord" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}noekkelord" maxOccurs="unbounded" minOccurs="0"/>
* <element name="forfatter" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}forfatter" maxOccurs="unbounded" minOccurs="0"/>
* <element name="dokumentmedium" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}dokumentmedium" minOccurs="0"/>
* <element name="oppbevaringssted" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}oppbevaringssted" maxOccurs="unbounded" minOccurs="0"/>
* <element name="virksomhetsspesifikkeMetadata" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* <element name="merknad" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}merknad" maxOccurs="unbounded" minOccurs="0"/>
* <element name="kryssreferanse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}kryssreferanse" maxOccurs="unbounded" minOccurs="0"/>
* <element name="korrespondansepart" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}korrespondansepart" maxOccurs="unbounded" minOccurs="0"/>
* <element name="klassifikasjon" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}klassifikasjon" maxOccurs="unbounded" minOccurs="0"/>
* <element name="referanseEksternNoekkel" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}eksternNoekkel" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "registrering", propOrder = {
"systemID",
"opprettetDato",
"opprettetAv",
"arkivertDato",
"arkivertAv",
"arkivdel",
"referanseForelderMappe",
"parts",
"skjerming",
"gradering",
"dokumentbeskrivelses",
"registreringsID",
"tittel",
"offentligTittel",
"beskrivelse",
"noekkelords",
"forfatters",
"dokumentmedium",
"oppbevaringssteds",
"virksomhetsspesifikkeMetadata",
"merknads",
"kryssreferanses",
"korrespondanseparts",
"klassifikasjons",
"referanseEksternNoekkel"
})
@XmlSeeAlso({
Journalpost.class,
Arkivnotat.class
})
public class Registrering {
protected SystemID systemID;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime opprettetDato;
protected String opprettetAv;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime arkivertDato;
protected String arkivertAv;
protected Kode arkivdel;
protected ReferanseTilMappe referanseForelderMappe;
@XmlElement(name = "part")
protected List parts;
protected Skjerming skjerming;
protected Gradering gradering;
@XmlElement(name = "dokumentbeskrivelse")
protected List dokumentbeskrivelses;
protected String registreringsID;
@XmlElement(required = true)
protected String tittel;
protected String offentligTittel;
protected String beskrivelse;
@XmlElement(name = "noekkelord")
protected List noekkelords;
@XmlElement(name = "forfatter")
protected List forfatters;
protected Dokumentmedium dokumentmedium;
@XmlElement(name = "oppbevaringssted")
protected List oppbevaringssteds;
protected Object virksomhetsspesifikkeMetadata;
@XmlElement(name = "merknad")
protected List merknads;
@XmlElement(name = "kryssreferanse")
protected List kryssreferanses;
@XmlElement(name = "korrespondansepart")
protected List korrespondanseparts;
@XmlElement(name = "klassifikasjon")
protected List klassifikasjons;
protected EksternNoekkel referanseEksternNoekkel;
/**
* Gets the value of the systemID property.
*
* @return
* possible object is
* {@link SystemID }
*
*/
public SystemID getSystemID() {
return systemID;
}
/**
* Sets the value of the systemID property.
*
* @param value
* allowed object is
* {@link SystemID }
*
*/
public void setSystemID(SystemID value) {
this.systemID = value;
}
/**
* Gets the value of the opprettetDato property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getOpprettetDato() {
return opprettetDato;
}
/**
* Sets the value of the opprettetDato property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOpprettetDato(ZonedDateTime value) {
this.opprettetDato = value;
}
/**
* Gets the value of the opprettetAv property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOpprettetAv() {
return opprettetAv;
}
/**
* Sets the value of the opprettetAv property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOpprettetAv(String value) {
this.opprettetAv = value;
}
/**
* Gets the value of the arkivertDato property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getArkivertDato() {
return arkivertDato;
}
/**
* Sets the value of the arkivertDato property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArkivertDato(ZonedDateTime value) {
this.arkivertDato = value;
}
/**
* Gets the value of the arkivertAv property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArkivertAv() {
return arkivertAv;
}
/**
* Sets the value of the arkivertAv property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArkivertAv(String value) {
this.arkivertAv = value;
}
/**
* Gets the value of the arkivdel property.
*
* @return
* possible object is
* {@link Kode }
*
*/
public Kode getArkivdel() {
return arkivdel;
}
/**
* Sets the value of the arkivdel property.
*
* @param value
* allowed object is
* {@link Kode }
*
*/
public void setArkivdel(Kode value) {
this.arkivdel = value;
}
/**
* Gets the value of the referanseForelderMappe property.
*
* @return
* possible object is
* {@link ReferanseTilMappe }
*
*/
public ReferanseTilMappe getReferanseForelderMappe() {
return referanseForelderMappe;
}
/**
* Sets the value of the referanseForelderMappe property.
*
* @param value
* allowed object is
* {@link ReferanseTilMappe }
*
*/
public void setReferanseForelderMappe(ReferanseTilMappe value) {
this.referanseForelderMappe = value;
}
/**
* Gets the value of the parts 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 parts property.
*
*
* For example, to add a new item, do as follows:
*
* getParts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Part }
*
*
*/
public List getParts() {
if (parts == null) {
parts = new ArrayList();
}
return this.parts;
}
/**
* Gets the value of the skjerming property.
*
* @return
* possible object is
* {@link Skjerming }
*
*/
public Skjerming getSkjerming() {
return skjerming;
}
/**
* Sets the value of the skjerming property.
*
* @param value
* allowed object is
* {@link Skjerming }
*
*/
public void setSkjerming(Skjerming value) {
this.skjerming = value;
}
/**
* Gets the value of the gradering property.
*
* @return
* possible object is
* {@link Gradering }
*
*/
public Gradering getGradering() {
return gradering;
}
/**
* Sets the value of the gradering property.
*
* @param value
* allowed object is
* {@link Gradering }
*
*/
public void setGradering(Gradering value) {
this.gradering = value;
}
/**
* Gets the value of the dokumentbeskrivelses 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 dokumentbeskrivelses property.
*
*
* For example, to add a new item, do as follows:
*
* getDokumentbeskrivelses().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Dokumentbeskrivelse }
*
*
*/
public List getDokumentbeskrivelses() {
if (dokumentbeskrivelses == null) {
dokumentbeskrivelses = new ArrayList();
}
return this.dokumentbeskrivelses;
}
/**
* Gets the value of the registreringsID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRegistreringsID() {
return registreringsID;
}
/**
* Sets the value of the registreringsID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRegistreringsID(String value) {
this.registreringsID = value;
}
/**
* Gets the value of the tittel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTittel() {
return tittel;
}
/**
* Sets the value of the tittel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTittel(String value) {
this.tittel = value;
}
/**
* Gets the value of the offentligTittel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOffentligTittel() {
return offentligTittel;
}
/**
* Sets the value of the offentligTittel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOffentligTittel(String value) {
this.offentligTittel = value;
}
/**
* Gets the value of the beskrivelse property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBeskrivelse() {
return beskrivelse;
}
/**
* Sets the value of the beskrivelse property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBeskrivelse(String value) {
this.beskrivelse = value;
}
/**
* Gets the value of the noekkelords 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 noekkelords property.
*
*
* For example, to add a new item, do as follows:
*
* getNoekkelords().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNoekkelords() {
if (noekkelords == null) {
noekkelords = new ArrayList();
}
return this.noekkelords;
}
/**
* Gets the value of the forfatters 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 forfatters property.
*
*
* For example, to add a new item, do as follows:
*
* getForfatters().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getForfatters() {
if (forfatters == null) {
forfatters = new ArrayList();
}
return this.forfatters;
}
/**
* Gets the value of the dokumentmedium property.
*
* @return
* possible object is
* {@link Dokumentmedium }
*
*/
public Dokumentmedium getDokumentmedium() {
return dokumentmedium;
}
/**
* Sets the value of the dokumentmedium property.
*
* @param value
* allowed object is
* {@link Dokumentmedium }
*
*/
public void setDokumentmedium(Dokumentmedium value) {
this.dokumentmedium = value;
}
/**
* Gets the value of the oppbevaringssteds 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 oppbevaringssteds property.
*
*
* For example, to add a new item, do as follows:
*
* getOppbevaringssteds().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getOppbevaringssteds() {
if (oppbevaringssteds == null) {
oppbevaringssteds = new ArrayList();
}
return this.oppbevaringssteds;
}
/**
* Gets the value of the virksomhetsspesifikkeMetadata property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getVirksomhetsspesifikkeMetadata() {
return virksomhetsspesifikkeMetadata;
}
/**
* Sets the value of the virksomhetsspesifikkeMetadata property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setVirksomhetsspesifikkeMetadata(Object value) {
this.virksomhetsspesifikkeMetadata = value;
}
/**
* Gets the value of the merknads 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 merknads property.
*
*
* For example, to add a new item, do as follows:
*
* getMerknads().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Merknad }
*
*
*/
public List getMerknads() {
if (merknads == null) {
merknads = new ArrayList();
}
return this.merknads;
}
/**
* Gets the value of the kryssreferanses 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 kryssreferanses property.
*
*
* For example, to add a new item, do as follows:
*
* getKryssreferanses().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Kryssreferanse }
*
*
*/
public List getKryssreferanses() {
if (kryssreferanses == null) {
kryssreferanses = new ArrayList();
}
return this.kryssreferanses;
}
/**
* Gets the value of the korrespondanseparts 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 korrespondanseparts property.
*
*
* For example, to add a new item, do as follows:
*
* getKorrespondanseparts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Korrespondansepart }
*
*
*/
public List getKorrespondanseparts() {
if (korrespondanseparts == null) {
korrespondanseparts = new ArrayList();
}
return this.korrespondanseparts;
}
/**
* Gets the value of the klassifikasjons 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 klassifikasjons property.
*
*
* For example, to add a new item, do as follows:
*
* getKlassifikasjons().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Klassifikasjon }
*
*
*/
public List getKlassifikasjons() {
if (klassifikasjons == null) {
klassifikasjons = new ArrayList();
}
return this.klassifikasjons;
}
/**
* Gets the value of the referanseEksternNoekkel property.
*
* @return
* possible object is
* {@link EksternNoekkel }
*
*/
public EksternNoekkel getReferanseEksternNoekkel() {
return referanseEksternNoekkel;
}
/**
* Sets the value of the referanseEksternNoekkel property.
*
* @param value
* allowed object is
* {@link EksternNoekkel }
*
*/
public void setReferanseEksternNoekkel(EksternNoekkel value) {
this.referanseEksternNoekkel = 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 Registrering.Builder<_B> _other) {
_other.systemID = ((this.systemID == null)?null:this.systemID.newCopyBuilder(_other));
_other.opprettetDato = this.opprettetDato;
_other.opprettetAv = this.opprettetAv;
_other.arkivertDato = this.arkivertDato;
_other.arkivertAv = this.arkivertAv;
_other.arkivdel = ((this.arkivdel == null)?null:this.arkivdel.newCopyBuilder(_other));
_other.referanseForelderMappe = ((this.referanseForelderMappe == null)?null:this.referanseForelderMappe.newCopyBuilder(_other));
if (this.parts == null) {
_other.parts = null;
} else {
_other.parts = new ArrayList>>();
for (Part _item: this.parts) {
_other.parts.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
_other.skjerming = ((this.skjerming == null)?null:this.skjerming.newCopyBuilder(_other));
_other.gradering = ((this.gradering == null)?null:this.gradering.newCopyBuilder(_other));
if (this.dokumentbeskrivelses == null) {
_other.dokumentbeskrivelses = null;
} else {
_other.dokumentbeskrivelses = new ArrayList>>();
for (Dokumentbeskrivelse _item: this.dokumentbeskrivelses) {
_other.dokumentbeskrivelses.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
_other.registreringsID = this.registreringsID;
_other.tittel = this.tittel;
_other.offentligTittel = this.offentligTittel;
_other.beskrivelse = this.beskrivelse;
if (this.noekkelords == null) {
_other.noekkelords = null;
} else {
_other.noekkelords = new ArrayList();
for (String _item: this.noekkelords) {
_other.noekkelords.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
if (this.forfatters == null) {
_other.forfatters = null;
} else {
_other.forfatters = new ArrayList();
for (String _item: this.forfatters) {
_other.forfatters.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
_other.dokumentmedium = ((this.dokumentmedium == null)?null:this.dokumentmedium.newCopyBuilder(_other));
if (this.oppbevaringssteds == null) {
_other.oppbevaringssteds = null;
} else {
_other.oppbevaringssteds = new ArrayList();
for (String _item: this.oppbevaringssteds) {
_other.oppbevaringssteds.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
_other.virksomhetsspesifikkeMetadata = this.virksomhetsspesifikkeMetadata;
if (this.merknads == null) {
_other.merknads = null;
} else {
_other.merknads = new ArrayList>>();
for (Merknad _item: this.merknads) {
_other.merknads.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
if (this.kryssreferanses == null) {
_other.kryssreferanses = null;
} else {
_other.kryssreferanses = new ArrayList>>();
for (Kryssreferanse _item: this.kryssreferanses) {
_other.kryssreferanses.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
if (this.korrespondanseparts == null) {
_other.korrespondanseparts = null;
} else {
_other.korrespondanseparts = new ArrayList>>();
for (Korrespondansepart _item: this.korrespondanseparts) {
_other.korrespondanseparts.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
if (this.klassifikasjons == null) {
_other.klassifikasjons = null;
} else {
_other.klassifikasjons = new ArrayList>>();
for (Klassifikasjon _item: this.klassifikasjons) {
_other.klassifikasjons.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
_other.referanseEksternNoekkel = ((this.referanseEksternNoekkel == null)?null:this.referanseEksternNoekkel.newCopyBuilder(_other));
}
public<_B >Registrering.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new Registrering.Builder<_B>(_parentBuilder, this, true);
}
public Registrering.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static Registrering.Builder builder() {
return new Registrering.Builder(null, null, false);
}
public static<_B >Registrering.Builder<_B> copyOf(final Registrering _other) {
final Registrering.Builder<_B> _newBuilder = new Registrering.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 Registrering.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final PropertyTree systemIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("systemID"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(systemIDPropertyTree!= null):((systemIDPropertyTree == null)||(!systemIDPropertyTree.isLeaf())))) {
_other.systemID = ((this.systemID == null)?null:this.systemID.newCopyBuilder(_other, systemIDPropertyTree, _propertyTreeUse));
}
final PropertyTree opprettetDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("opprettetDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(opprettetDatoPropertyTree!= null):((opprettetDatoPropertyTree == null)||(!opprettetDatoPropertyTree.isLeaf())))) {
_other.opprettetDato = this.opprettetDato;
}
final PropertyTree opprettetAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("opprettetAv"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(opprettetAvPropertyTree!= null):((opprettetAvPropertyTree == null)||(!opprettetAvPropertyTree.isLeaf())))) {
_other.opprettetAv = this.opprettetAv;
}
final PropertyTree arkivertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("arkivertDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(arkivertDatoPropertyTree!= null):((arkivertDatoPropertyTree == null)||(!arkivertDatoPropertyTree.isLeaf())))) {
_other.arkivertDato = this.arkivertDato;
}
final PropertyTree arkivertAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("arkivertAv"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(arkivertAvPropertyTree!= null):((arkivertAvPropertyTree == null)||(!arkivertAvPropertyTree.isLeaf())))) {
_other.arkivertAv = this.arkivertAv;
}
final PropertyTree arkivdelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("arkivdel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(arkivdelPropertyTree!= null):((arkivdelPropertyTree == null)||(!arkivdelPropertyTree.isLeaf())))) {
_other.arkivdel = ((this.arkivdel == null)?null:this.arkivdel.newCopyBuilder(_other, arkivdelPropertyTree, _propertyTreeUse));
}
final PropertyTree referanseForelderMappePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseForelderMappe"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseForelderMappePropertyTree!= null):((referanseForelderMappePropertyTree == null)||(!referanseForelderMappePropertyTree.isLeaf())))) {
_other.referanseForelderMappe = ((this.referanseForelderMappe == null)?null:this.referanseForelderMappe.newCopyBuilder(_other, referanseForelderMappePropertyTree, _propertyTreeUse));
}
final PropertyTree partsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("parts"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(partsPropertyTree!= null):((partsPropertyTree == null)||(!partsPropertyTree.isLeaf())))) {
if (this.parts == null) {
_other.parts = null;
} else {
_other.parts = new ArrayList>>();
for (Part _item: this.parts) {
_other.parts.add(((_item == null)?null:_item.newCopyBuilder(_other, partsPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree skjermingPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("skjerming"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(skjermingPropertyTree!= null):((skjermingPropertyTree == null)||(!skjermingPropertyTree.isLeaf())))) {
_other.skjerming = ((this.skjerming == null)?null:this.skjerming.newCopyBuilder(_other, skjermingPropertyTree, _propertyTreeUse));
}
final PropertyTree graderingPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("gradering"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(graderingPropertyTree!= null):((graderingPropertyTree == null)||(!graderingPropertyTree.isLeaf())))) {
_other.gradering = ((this.gradering == null)?null:this.gradering.newCopyBuilder(_other, graderingPropertyTree, _propertyTreeUse));
}
final PropertyTree dokumentbeskrivelsesPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentbeskrivelses"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentbeskrivelsesPropertyTree!= null):((dokumentbeskrivelsesPropertyTree == null)||(!dokumentbeskrivelsesPropertyTree.isLeaf())))) {
if (this.dokumentbeskrivelses == null) {
_other.dokumentbeskrivelses = null;
} else {
_other.dokumentbeskrivelses = new ArrayList>>();
for (Dokumentbeskrivelse _item: this.dokumentbeskrivelses) {
_other.dokumentbeskrivelses.add(((_item == null)?null:_item.newCopyBuilder(_other, dokumentbeskrivelsesPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree registreringsIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("registreringsID"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(registreringsIDPropertyTree!= null):((registreringsIDPropertyTree == null)||(!registreringsIDPropertyTree.isLeaf())))) {
_other.registreringsID = this.registreringsID;
}
final PropertyTree tittelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("tittel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(tittelPropertyTree!= null):((tittelPropertyTree == null)||(!tittelPropertyTree.isLeaf())))) {
_other.tittel = this.tittel;
}
final PropertyTree offentligTittelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("offentligTittel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(offentligTittelPropertyTree!= null):((offentligTittelPropertyTree == null)||(!offentligTittelPropertyTree.isLeaf())))) {
_other.offentligTittel = this.offentligTittel;
}
final PropertyTree beskrivelsePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("beskrivelse"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(beskrivelsePropertyTree!= null):((beskrivelsePropertyTree == null)||(!beskrivelsePropertyTree.isLeaf())))) {
_other.beskrivelse = this.beskrivelse;
}
final PropertyTree noekkelordsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("noekkelords"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(noekkelordsPropertyTree!= null):((noekkelordsPropertyTree == null)||(!noekkelordsPropertyTree.isLeaf())))) {
if (this.noekkelords == null) {
_other.noekkelords = null;
} else {
_other.noekkelords = new ArrayList();
for (String _item: this.noekkelords) {
_other.noekkelords.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree forfattersPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forfatters"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forfattersPropertyTree!= null):((forfattersPropertyTree == null)||(!forfattersPropertyTree.isLeaf())))) {
if (this.forfatters == null) {
_other.forfatters = null;
} else {
_other.forfatters = new ArrayList();
for (String _item: this.forfatters) {
_other.forfatters.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree dokumentmediumPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentmedium"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentmediumPropertyTree!= null):((dokumentmediumPropertyTree == null)||(!dokumentmediumPropertyTree.isLeaf())))) {
_other.dokumentmedium = ((this.dokumentmedium == null)?null:this.dokumentmedium.newCopyBuilder(_other, dokumentmediumPropertyTree, _propertyTreeUse));
}
final PropertyTree oppbevaringsstedsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("oppbevaringssteds"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(oppbevaringsstedsPropertyTree!= null):((oppbevaringsstedsPropertyTree == null)||(!oppbevaringsstedsPropertyTree.isLeaf())))) {
if (this.oppbevaringssteds == null) {
_other.oppbevaringssteds = null;
} else {
_other.oppbevaringssteds = new ArrayList();
for (String _item: this.oppbevaringssteds) {
_other.oppbevaringssteds.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree virksomhetsspesifikkeMetadataPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("virksomhetsspesifikkeMetadata"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(virksomhetsspesifikkeMetadataPropertyTree!= null):((virksomhetsspesifikkeMetadataPropertyTree == null)||(!virksomhetsspesifikkeMetadataPropertyTree.isLeaf())))) {
_other.virksomhetsspesifikkeMetadata = this.virksomhetsspesifikkeMetadata;
}
final PropertyTree merknadsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("merknads"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(merknadsPropertyTree!= null):((merknadsPropertyTree == null)||(!merknadsPropertyTree.isLeaf())))) {
if (this.merknads == null) {
_other.merknads = null;
} else {
_other.merknads = new ArrayList>>();
for (Merknad _item: this.merknads) {
_other.merknads.add(((_item == null)?null:_item.newCopyBuilder(_other, merknadsPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree kryssreferansesPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kryssreferanses"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kryssreferansesPropertyTree!= null):((kryssreferansesPropertyTree == null)||(!kryssreferansesPropertyTree.isLeaf())))) {
if (this.kryssreferanses == null) {
_other.kryssreferanses = null;
} else {
_other.kryssreferanses = new ArrayList>>();
for (Kryssreferanse _item: this.kryssreferanses) {
_other.kryssreferanses.add(((_item == null)?null:_item.newCopyBuilder(_other, kryssreferansesPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree korrespondansepartsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("korrespondanseparts"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(korrespondansepartsPropertyTree!= null):((korrespondansepartsPropertyTree == null)||(!korrespondansepartsPropertyTree.isLeaf())))) {
if (this.korrespondanseparts == null) {
_other.korrespondanseparts = null;
} else {
_other.korrespondanseparts = new ArrayList>>();
for (Korrespondansepart _item: this.korrespondanseparts) {
_other.korrespondanseparts.add(((_item == null)?null:_item.newCopyBuilder(_other, korrespondansepartsPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree klassifikasjonsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("klassifikasjons"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(klassifikasjonsPropertyTree!= null):((klassifikasjonsPropertyTree == null)||(!klassifikasjonsPropertyTree.isLeaf())))) {
if (this.klassifikasjons == null) {
_other.klassifikasjons = null;
} else {
_other.klassifikasjons = new ArrayList>>();
for (Klassifikasjon _item: this.klassifikasjons) {
_other.klassifikasjons.add(((_item == null)?null:_item.newCopyBuilder(_other, klassifikasjonsPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree referanseEksternNoekkelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseEksternNoekkel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseEksternNoekkelPropertyTree!= null):((referanseEksternNoekkelPropertyTree == null)||(!referanseEksternNoekkelPropertyTree.isLeaf())))) {
_other.referanseEksternNoekkel = ((this.referanseEksternNoekkel == null)?null:this.referanseEksternNoekkel.newCopyBuilder(_other, referanseEksternNoekkelPropertyTree, _propertyTreeUse));
}
}
public<_B >Registrering.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new Registrering.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
public Registrering.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >Registrering.Builder<_B> copyOf(final Registrering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final Registrering.Builder<_B> _newBuilder = new Registrering.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static Registrering.Builder copyExcept(final Registrering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static Registrering.Builder copyOnly(final Registrering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >implements Buildable
{
protected final _B _parentBuilder;
protected final Registrering _storedValue;
private SystemID.Builder> systemID;
private ZonedDateTime opprettetDato;
private String opprettetAv;
private ZonedDateTime arkivertDato;
private String arkivertAv;
private Kode.Builder> arkivdel;
private ReferanseTilMappe.Builder> referanseForelderMappe;
private List>> parts;
private Skjerming.Builder> skjerming;
private Gradering.Builder> gradering;
private List>> dokumentbeskrivelses;
private String registreringsID;
private String tittel;
private String offentligTittel;
private String beskrivelse;
private List noekkelords;
private List forfatters;
private Dokumentmedium.Builder> dokumentmedium;
private List oppbevaringssteds;
private Object virksomhetsspesifikkeMetadata;
private List>> merknads;
private List>> kryssreferanses;
private List>> korrespondanseparts;
private List>> klassifikasjons;
private EksternNoekkel.Builder> referanseEksternNoekkel;
public Builder(final _B _parentBuilder, final Registrering _other, final boolean _copy) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
this.systemID = ((_other.systemID == null)?null:_other.systemID.newCopyBuilder(this));
this.opprettetDato = _other.opprettetDato;
this.opprettetAv = _other.opprettetAv;
this.arkivertDato = _other.arkivertDato;
this.arkivertAv = _other.arkivertAv;
this.arkivdel = ((_other.arkivdel == null)?null:_other.arkivdel.newCopyBuilder(this));
this.referanseForelderMappe = ((_other.referanseForelderMappe == null)?null:_other.referanseForelderMappe.newCopyBuilder(this));
if (_other.parts == null) {
this.parts = null;
} else {
this.parts = new ArrayList>>();
for (Part _item: _other.parts) {
this.parts.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
this.skjerming = ((_other.skjerming == null)?null:_other.skjerming.newCopyBuilder(this));
this.gradering = ((_other.gradering == null)?null:_other.gradering.newCopyBuilder(this));
if (_other.dokumentbeskrivelses == null) {
this.dokumentbeskrivelses = null;
} else {
this.dokumentbeskrivelses = new ArrayList>>();
for (Dokumentbeskrivelse _item: _other.dokumentbeskrivelses) {
this.dokumentbeskrivelses.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
this.registreringsID = _other.registreringsID;
this.tittel = _other.tittel;
this.offentligTittel = _other.offentligTittel;
this.beskrivelse = _other.beskrivelse;
if (_other.noekkelords == null) {
this.noekkelords = null;
} else {
this.noekkelords = new ArrayList();
for (String _item: _other.noekkelords) {
this.noekkelords.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
if (_other.forfatters == null) {
this.forfatters = null;
} else {
this.forfatters = new ArrayList();
for (String _item: _other.forfatters) {
this.forfatters.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
this.dokumentmedium = ((_other.dokumentmedium == null)?null:_other.dokumentmedium.newCopyBuilder(this));
if (_other.oppbevaringssteds == null) {
this.oppbevaringssteds = null;
} else {
this.oppbevaringssteds = new ArrayList();
for (String _item: _other.oppbevaringssteds) {
this.oppbevaringssteds.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
this.virksomhetsspesifikkeMetadata = _other.virksomhetsspesifikkeMetadata;
if (_other.merknads == null) {
this.merknads = null;
} else {
this.merknads = new ArrayList>>();
for (Merknad _item: _other.merknads) {
this.merknads.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
if (_other.kryssreferanses == null) {
this.kryssreferanses = null;
} else {
this.kryssreferanses = new ArrayList>>();
for (Kryssreferanse _item: _other.kryssreferanses) {
this.kryssreferanses.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
if (_other.korrespondanseparts == null) {
this.korrespondanseparts = null;
} else {
this.korrespondanseparts = new ArrayList>>();
for (Korrespondansepart _item: _other.korrespondanseparts) {
this.korrespondanseparts.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
if (_other.klassifikasjons == null) {
this.klassifikasjons = null;
} else {
this.klassifikasjons = new ArrayList>>();
for (Klassifikasjon _item: _other.klassifikasjons) {
this.klassifikasjons.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
this.referanseEksternNoekkel = ((_other.referanseEksternNoekkel == null)?null:_other.referanseEksternNoekkel.newCopyBuilder(this));
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public Builder(final _B _parentBuilder, final Registrering _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
final PropertyTree systemIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("systemID"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(systemIDPropertyTree!= null):((systemIDPropertyTree == null)||(!systemIDPropertyTree.isLeaf())))) {
this.systemID = ((_other.systemID == null)?null:_other.systemID.newCopyBuilder(this, systemIDPropertyTree, _propertyTreeUse));
}
final PropertyTree opprettetDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("opprettetDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(opprettetDatoPropertyTree!= null):((opprettetDatoPropertyTree == null)||(!opprettetDatoPropertyTree.isLeaf())))) {
this.opprettetDato = _other.opprettetDato;
}
final PropertyTree opprettetAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("opprettetAv"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(opprettetAvPropertyTree!= null):((opprettetAvPropertyTree == null)||(!opprettetAvPropertyTree.isLeaf())))) {
this.opprettetAv = _other.opprettetAv;
}
final PropertyTree arkivertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("arkivertDato"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(arkivertDatoPropertyTree!= null):((arkivertDatoPropertyTree == null)||(!arkivertDatoPropertyTree.isLeaf())))) {
this.arkivertDato = _other.arkivertDato;
}
final PropertyTree arkivertAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("arkivertAv"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(arkivertAvPropertyTree!= null):((arkivertAvPropertyTree == null)||(!arkivertAvPropertyTree.isLeaf())))) {
this.arkivertAv = _other.arkivertAv;
}
final PropertyTree arkivdelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("arkivdel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(arkivdelPropertyTree!= null):((arkivdelPropertyTree == null)||(!arkivdelPropertyTree.isLeaf())))) {
this.arkivdel = ((_other.arkivdel == null)?null:_other.arkivdel.newCopyBuilder(this, arkivdelPropertyTree, _propertyTreeUse));
}
final PropertyTree referanseForelderMappePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseForelderMappe"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseForelderMappePropertyTree!= null):((referanseForelderMappePropertyTree == null)||(!referanseForelderMappePropertyTree.isLeaf())))) {
this.referanseForelderMappe = ((_other.referanseForelderMappe == null)?null:_other.referanseForelderMappe.newCopyBuilder(this, referanseForelderMappePropertyTree, _propertyTreeUse));
}
final PropertyTree partsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("parts"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(partsPropertyTree!= null):((partsPropertyTree == null)||(!partsPropertyTree.isLeaf())))) {
if (_other.parts == null) {
this.parts = null;
} else {
this.parts = new ArrayList>>();
for (Part _item: _other.parts) {
this.parts.add(((_item == null)?null:_item.newCopyBuilder(this, partsPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree skjermingPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("skjerming"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(skjermingPropertyTree!= null):((skjermingPropertyTree == null)||(!skjermingPropertyTree.isLeaf())))) {
this.skjerming = ((_other.skjerming == null)?null:_other.skjerming.newCopyBuilder(this, skjermingPropertyTree, _propertyTreeUse));
}
final PropertyTree graderingPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("gradering"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(graderingPropertyTree!= null):((graderingPropertyTree == null)||(!graderingPropertyTree.isLeaf())))) {
this.gradering = ((_other.gradering == null)?null:_other.gradering.newCopyBuilder(this, graderingPropertyTree, _propertyTreeUse));
}
final PropertyTree dokumentbeskrivelsesPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentbeskrivelses"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentbeskrivelsesPropertyTree!= null):((dokumentbeskrivelsesPropertyTree == null)||(!dokumentbeskrivelsesPropertyTree.isLeaf())))) {
if (_other.dokumentbeskrivelses == null) {
this.dokumentbeskrivelses = null;
} else {
this.dokumentbeskrivelses = new ArrayList>>();
for (Dokumentbeskrivelse _item: _other.dokumentbeskrivelses) {
this.dokumentbeskrivelses.add(((_item == null)?null:_item.newCopyBuilder(this, dokumentbeskrivelsesPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree registreringsIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("registreringsID"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(registreringsIDPropertyTree!= null):((registreringsIDPropertyTree == null)||(!registreringsIDPropertyTree.isLeaf())))) {
this.registreringsID = _other.registreringsID;
}
final PropertyTree tittelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("tittel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(tittelPropertyTree!= null):((tittelPropertyTree == null)||(!tittelPropertyTree.isLeaf())))) {
this.tittel = _other.tittel;
}
final PropertyTree offentligTittelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("offentligTittel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(offentligTittelPropertyTree!= null):((offentligTittelPropertyTree == null)||(!offentligTittelPropertyTree.isLeaf())))) {
this.offentligTittel = _other.offentligTittel;
}
final PropertyTree beskrivelsePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("beskrivelse"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(beskrivelsePropertyTree!= null):((beskrivelsePropertyTree == null)||(!beskrivelsePropertyTree.isLeaf())))) {
this.beskrivelse = _other.beskrivelse;
}
final PropertyTree noekkelordsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("noekkelords"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(noekkelordsPropertyTree!= null):((noekkelordsPropertyTree == null)||(!noekkelordsPropertyTree.isLeaf())))) {
if (_other.noekkelords == null) {
this.noekkelords = null;
} else {
this.noekkelords = new ArrayList();
for (String _item: _other.noekkelords) {
this.noekkelords.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree forfattersPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forfatters"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forfattersPropertyTree!= null):((forfattersPropertyTree == null)||(!forfattersPropertyTree.isLeaf())))) {
if (_other.forfatters == null) {
this.forfatters = null;
} else {
this.forfatters = new ArrayList();
for (String _item: _other.forfatters) {
this.forfatters.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree dokumentmediumPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentmedium"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentmediumPropertyTree!= null):((dokumentmediumPropertyTree == null)||(!dokumentmediumPropertyTree.isLeaf())))) {
this.dokumentmedium = ((_other.dokumentmedium == null)?null:_other.dokumentmedium.newCopyBuilder(this, dokumentmediumPropertyTree, _propertyTreeUse));
}
final PropertyTree oppbevaringsstedsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("oppbevaringssteds"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(oppbevaringsstedsPropertyTree!= null):((oppbevaringsstedsPropertyTree == null)||(!oppbevaringsstedsPropertyTree.isLeaf())))) {
if (_other.oppbevaringssteds == null) {
this.oppbevaringssteds = null;
} else {
this.oppbevaringssteds = new ArrayList();
for (String _item: _other.oppbevaringssteds) {
this.oppbevaringssteds.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree virksomhetsspesifikkeMetadataPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("virksomhetsspesifikkeMetadata"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(virksomhetsspesifikkeMetadataPropertyTree!= null):((virksomhetsspesifikkeMetadataPropertyTree == null)||(!virksomhetsspesifikkeMetadataPropertyTree.isLeaf())))) {
this.virksomhetsspesifikkeMetadata = _other.virksomhetsspesifikkeMetadata;
}
final PropertyTree merknadsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("merknads"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(merknadsPropertyTree!= null):((merknadsPropertyTree == null)||(!merknadsPropertyTree.isLeaf())))) {
if (_other.merknads == null) {
this.merknads = null;
} else {
this.merknads = new ArrayList>>();
for (Merknad _item: _other.merknads) {
this.merknads.add(((_item == null)?null:_item.newCopyBuilder(this, merknadsPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree kryssreferansesPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kryssreferanses"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kryssreferansesPropertyTree!= null):((kryssreferansesPropertyTree == null)||(!kryssreferansesPropertyTree.isLeaf())))) {
if (_other.kryssreferanses == null) {
this.kryssreferanses = null;
} else {
this.kryssreferanses = new ArrayList>>();
for (Kryssreferanse _item: _other.kryssreferanses) {
this.kryssreferanses.add(((_item == null)?null:_item.newCopyBuilder(this, kryssreferansesPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree korrespondansepartsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("korrespondanseparts"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(korrespondansepartsPropertyTree!= null):((korrespondansepartsPropertyTree == null)||(!korrespondansepartsPropertyTree.isLeaf())))) {
if (_other.korrespondanseparts == null) {
this.korrespondanseparts = null;
} else {
this.korrespondanseparts = new ArrayList>>();
for (Korrespondansepart _item: _other.korrespondanseparts) {
this.korrespondanseparts.add(((_item == null)?null:_item.newCopyBuilder(this, korrespondansepartsPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree klassifikasjonsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("klassifikasjons"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(klassifikasjonsPropertyTree!= null):((klassifikasjonsPropertyTree == null)||(!klassifikasjonsPropertyTree.isLeaf())))) {
if (_other.klassifikasjons == null) {
this.klassifikasjons = null;
} else {
this.klassifikasjons = new ArrayList>>();
for (Klassifikasjon _item: _other.klassifikasjons) {
this.klassifikasjons.add(((_item == null)?null:_item.newCopyBuilder(this, klassifikasjonsPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree referanseEksternNoekkelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseEksternNoekkel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseEksternNoekkelPropertyTree!= null):((referanseEksternNoekkelPropertyTree == null)||(!referanseEksternNoekkelPropertyTree.isLeaf())))) {
this.referanseEksternNoekkel = ((_other.referanseEksternNoekkel == null)?null:_other.referanseEksternNoekkel.newCopyBuilder(this, referanseEksternNoekkelPropertyTree, _propertyTreeUse));
}
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public _B end() {
return this._parentBuilder;
}
protected<_P extends Registrering >_P init(final _P _product) {
_product.systemID = ((this.systemID == null)?null:this.systemID.build());
_product.opprettetDato = this.opprettetDato;
_product.opprettetAv = this.opprettetAv;
_product.arkivertDato = this.arkivertDato;
_product.arkivertAv = this.arkivertAv;
_product.arkivdel = ((this.arkivdel == null)?null:this.arkivdel.build());
_product.referanseForelderMappe = ((this.referanseForelderMappe == null)?null:this.referanseForelderMappe.build());
if (this.parts!= null) {
final List parts = new ArrayList(this.parts.size());
for (Part.Builder> _item: this.parts) {
parts.add(_item.build());
}
_product.parts = parts;
}
_product.skjerming = ((this.skjerming == null)?null:this.skjerming.build());
_product.gradering = ((this.gradering == null)?null:this.gradering.build());
if (this.dokumentbeskrivelses!= null) {
final List dokumentbeskrivelses = new ArrayList(this.dokumentbeskrivelses.size());
for (Dokumentbeskrivelse.Builder> _item: this.dokumentbeskrivelses) {
dokumentbeskrivelses.add(_item.build());
}
_product.dokumentbeskrivelses = dokumentbeskrivelses;
}
_product.registreringsID = this.registreringsID;
_product.tittel = this.tittel;
_product.offentligTittel = this.offentligTittel;
_product.beskrivelse = this.beskrivelse;
if (this.noekkelords!= null) {
final List noekkelords = new ArrayList(this.noekkelords.size());
for (Buildable _item: this.noekkelords) {
noekkelords.add(((String) _item.build()));
}
_product.noekkelords = noekkelords;
}
if (this.forfatters!= null) {
final List forfatters = new ArrayList(this.forfatters.size());
for (Buildable _item: this.forfatters) {
forfatters.add(((String) _item.build()));
}
_product.forfatters = forfatters;
}
_product.dokumentmedium = ((this.dokumentmedium == null)?null:this.dokumentmedium.build());
if (this.oppbevaringssteds!= null) {
final List oppbevaringssteds = new ArrayList(this.oppbevaringssteds.size());
for (Buildable _item: this.oppbevaringssteds) {
oppbevaringssteds.add(((String) _item.build()));
}
_product.oppbevaringssteds = oppbevaringssteds;
}
_product.virksomhetsspesifikkeMetadata = this.virksomhetsspesifikkeMetadata;
if (this.merknads!= null) {
final List merknads = new ArrayList(this.merknads.size());
for (Merknad.Builder> _item: this.merknads) {
merknads.add(_item.build());
}
_product.merknads = merknads;
}
if (this.kryssreferanses!= null) {
final List kryssreferanses = new ArrayList(this.kryssreferanses.size());
for (Kryssreferanse.Builder> _item: this.kryssreferanses) {
kryssreferanses.add(_item.build());
}
_product.kryssreferanses = kryssreferanses;
}
if (this.korrespondanseparts!= null) {
final List korrespondanseparts = new ArrayList(this.korrespondanseparts.size());
for (Korrespondansepart.Builder> _item: this.korrespondanseparts) {
korrespondanseparts.add(_item.build());
}
_product.korrespondanseparts = korrespondanseparts;
}
if (this.klassifikasjons!= null) {
final List klassifikasjons = new ArrayList(this.klassifikasjons.size());
for (Klassifikasjon.Builder> _item: this.klassifikasjons) {
klassifikasjons.add(_item.build());
}
_product.klassifikasjons = klassifikasjons;
}
_product.referanseEksternNoekkel = ((this.referanseEksternNoekkel == null)?null:this.referanseEksternNoekkel.build());
return _product;
}
/**
* Sets the new value of "systemID" (any previous value will be replaced)
*
* @param systemID
* New value of the "systemID" property.
*/
public Registrering.Builder<_B> withSystemID(final SystemID systemID) {
this.systemID = ((systemID == null)?null:new SystemID.Builder>(this, systemID, false));
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 Registrering.Builder<_B>> withSystemID() {
if (this.systemID!= null) {
return this.systemID;
}
return this.systemID = new SystemID.Builder>(this, null, false);
}
/**
* Sets the new value of "opprettetDato" (any previous value will be replaced)
*
* @param opprettetDato
* New value of the "opprettetDato" property.
*/
public Registrering.Builder<_B> withOpprettetDato(final ZonedDateTime opprettetDato) {
this.opprettetDato = opprettetDato;
return this;
}
/**
* Sets the new value of "opprettetAv" (any previous value will be replaced)
*
* @param opprettetAv
* New value of the "opprettetAv" property.
*/
public Registrering.Builder<_B> withOpprettetAv(final String opprettetAv) {
this.opprettetAv = opprettetAv;
return this;
}
/**
* Sets the new value of "arkivertDato" (any previous value will be replaced)
*
* @param arkivertDato
* New value of the "arkivertDato" property.
*/
public Registrering.Builder<_B> withArkivertDato(final ZonedDateTime arkivertDato) {
this.arkivertDato = arkivertDato;
return this;
}
/**
* Sets the new value of "arkivertAv" (any previous value will be replaced)
*
* @param arkivertAv
* New value of the "arkivertAv" property.
*/
public Registrering.Builder<_B> withArkivertAv(final String arkivertAv) {
this.arkivertAv = arkivertAv;
return this;
}
/**
* Sets the new value of "arkivdel" (any previous value will be replaced)
*
* @param arkivdel
* New value of the "arkivdel" property.
*/
public Registrering.Builder<_B> withArkivdel(final Kode arkivdel) {
this.arkivdel = ((arkivdel == null)?null:new Kode.Builder>(this, arkivdel, false));
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 Registrering.Builder<_B>> withArkivdel() {
if (this.arkivdel!= null) {
return this.arkivdel;
}
return this.arkivdel = new Kode.Builder>(this, null, false);
}
/**
* Sets the new value of "referanseForelderMappe" (any previous value will be
* replaced)
*
* @param referanseForelderMappe
* New value of the "referanseForelderMappe" property.
*/
public Registrering.Builder<_B> withReferanseForelderMappe(final ReferanseTilMappe referanseForelderMappe) {
this.referanseForelderMappe = ((referanseForelderMappe == null)?null:new ReferanseTilMappe.Builder>(this, referanseForelderMappe, false));
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 Registrering.Builder<_B>> withReferanseForelderMappe() {
if (this.referanseForelderMappe!= null) {
return this.referanseForelderMappe;
}
return this.referanseForelderMappe = new ReferanseTilMappe.Builder>(this, null, false);
}
/**
* Adds the given items to the value of "parts"
*
* @param parts
* Items to add to the value of the "parts" property
*/
public Registrering.Builder<_B> addParts(final Iterable extends Part> parts) {
if (parts!= null) {
if (this.parts == null) {
this.parts = new ArrayList>>();
}
for (Part _item: parts) {
this.parts.add(new Part.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "parts" (any previous value will be replaced)
*
* @param parts
* New value of the "parts" property.
*/
public Registrering.Builder<_B> withParts(final Iterable extends Part> parts) {
if (this.parts!= null) {
this.parts.clear();
}
return addParts(parts);
}
/**
* Adds the given items to the value of "parts"
*
* @param parts
* Items to add to the value of the "parts" property
*/
public Registrering.Builder<_B> addParts(Part... parts) {
addParts(Arrays.asList(parts));
return this;
}
/**
* Sets the new value of "parts" (any previous value will be replaced)
*
* @param parts
* New value of the "parts" property.
*/
public Registrering.Builder<_B> withParts(Part... parts) {
withParts(Arrays.asList(parts));
return this;
}
/**
* Returns a new builder to build an additional value of the "Parts" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivmelding.opprett.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.arkivmelding.opprett.Part.Builder#end()} to
* return to the current builder.
*/
public Part.Builder extends Registrering.Builder<_B>> addParts() {
if (this.parts == null) {
this.parts = new ArrayList>>();
}
final Part.Builder> parts_Builder = new Part.Builder>(this, null, false);
this.parts.add(parts_Builder);
return parts_Builder;
}
/**
* Sets the new value of "skjerming" (any previous value will be replaced)
*
* @param skjerming
* New value of the "skjerming" property.
*/
public Registrering.Builder<_B> withSkjerming(final Skjerming skjerming) {
this.skjerming = ((skjerming == null)?null:new Skjerming.Builder>(this, skjerming, false));
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.arkivmelding.opprett.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.arkivmelding.opprett.Skjerming.Builder#end()} to
* return to the current builder.
*/
public Skjerming.Builder extends Registrering.Builder<_B>> withSkjerming() {
if (this.skjerming!= null) {
return this.skjerming;
}
return this.skjerming = new Skjerming.Builder>(this, null, false);
}
/**
* Sets the new value of "gradering" (any previous value will be replaced)
*
* @param gradering
* New value of the "gradering" property.
*/
public Registrering.Builder<_B> withGradering(final Gradering gradering) {
this.gradering = ((gradering == null)?null:new Gradering.Builder>(this, gradering, false));
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.arkivmelding.opprett.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.arkivmelding.opprett.Gradering.Builder#end()} to
* return to the current builder.
*/
public Gradering.Builder extends Registrering.Builder<_B>> withGradering() {
if (this.gradering!= null) {
return this.gradering;
}
return this.gradering = new Gradering.Builder>(this, null, false);
}
/**
* Adds the given items to the value of "dokumentbeskrivelses"
*
* @param dokumentbeskrivelses
* Items to add to the value of the "dokumentbeskrivelses" property
*/
public Registrering.Builder<_B> addDokumentbeskrivelses(final Iterable extends Dokumentbeskrivelse> dokumentbeskrivelses) {
if (dokumentbeskrivelses!= null) {
if (this.dokumentbeskrivelses == null) {
this.dokumentbeskrivelses = new ArrayList>>();
}
for (Dokumentbeskrivelse _item: dokumentbeskrivelses) {
this.dokumentbeskrivelses.add(new Dokumentbeskrivelse.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "dokumentbeskrivelses" (any previous value will be
* replaced)
*
* @param dokumentbeskrivelses
* New value of the "dokumentbeskrivelses" property.
*/
public Registrering.Builder<_B> withDokumentbeskrivelses(final Iterable extends Dokumentbeskrivelse> dokumentbeskrivelses) {
if (this.dokumentbeskrivelses!= null) {
this.dokumentbeskrivelses.clear();
}
return addDokumentbeskrivelses(dokumentbeskrivelses);
}
/**
* Adds the given items to the value of "dokumentbeskrivelses"
*
* @param dokumentbeskrivelses
* Items to add to the value of the "dokumentbeskrivelses" property
*/
public Registrering.Builder<_B> addDokumentbeskrivelses(Dokumentbeskrivelse... dokumentbeskrivelses) {
addDokumentbeskrivelses(Arrays.asList(dokumentbeskrivelses));
return this;
}
/**
* Sets the new value of "dokumentbeskrivelses" (any previous value will be
* replaced)
*
* @param dokumentbeskrivelses
* New value of the "dokumentbeskrivelses" property.
*/
public Registrering.Builder<_B> withDokumentbeskrivelses(Dokumentbeskrivelse... dokumentbeskrivelses) {
withDokumentbeskrivelses(Arrays.asList(dokumentbeskrivelses));
return this;
}
/**
* Returns a new builder to build an additional value of the "Dokumentbeskrivelses"
* property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivmelding.opprett.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.arkivmelding.opprett.Dokumentbeskrivelse.Builder#end()} to
* return to the current builder.
*/
public Dokumentbeskrivelse.Builder extends Registrering.Builder<_B>> addDokumentbeskrivelses() {
if (this.dokumentbeskrivelses == null) {
this.dokumentbeskrivelses = new ArrayList>>();
}
final Dokumentbeskrivelse.Builder> dokumentbeskrivelses_Builder = new Dokumentbeskrivelse.Builder>(this, null, false);
this.dokumentbeskrivelses.add(dokumentbeskrivelses_Builder);
return dokumentbeskrivelses_Builder;
}
/**
* Sets the new value of "registreringsID" (any previous value will be replaced)
*
* @param registreringsID
* New value of the "registreringsID" property.
*/
public Registrering.Builder<_B> withRegistreringsID(final String registreringsID) {
this.registreringsID = registreringsID;
return this;
}
/**
* Sets the new value of "tittel" (any previous value will be replaced)
*
* @param tittel
* New value of the "tittel" property.
*/
public Registrering.Builder<_B> withTittel(final String tittel) {
this.tittel = tittel;
return this;
}
/**
* Sets the new value of "offentligTittel" (any previous value will be replaced)
*
* @param offentligTittel
* New value of the "offentligTittel" property.
*/
public Registrering.Builder<_B> withOffentligTittel(final String offentligTittel) {
this.offentligTittel = offentligTittel;
return this;
}
/**
* Sets the new value of "beskrivelse" (any previous value will be replaced)
*
* @param beskrivelse
* New value of the "beskrivelse" property.
*/
public Registrering.Builder<_B> withBeskrivelse(final String beskrivelse) {
this.beskrivelse = beskrivelse;
return this;
}
/**
* Adds the given items to the value of "noekkelords"
*
* @param noekkelords
* Items to add to the value of the "noekkelords" property
*/
public Registrering.Builder<_B> addNoekkelords(final Iterable extends String> noekkelords) {
if (noekkelords!= null) {
if (this.noekkelords == null) {
this.noekkelords = new ArrayList();
}
for (String _item: noekkelords) {
this.noekkelords.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "noekkelords" (any previous value will be replaced)
*
* @param noekkelords
* New value of the "noekkelords" property.
*/
public Registrering.Builder<_B> withNoekkelords(final Iterable extends String> noekkelords) {
if (this.noekkelords!= null) {
this.noekkelords.clear();
}
return addNoekkelords(noekkelords);
}
/**
* Adds the given items to the value of "noekkelords"
*
* @param noekkelords
* Items to add to the value of the "noekkelords" property
*/
public Registrering.Builder<_B> addNoekkelords(String... noekkelords) {
addNoekkelords(Arrays.asList(noekkelords));
return this;
}
/**
* Sets the new value of "noekkelords" (any previous value will be replaced)
*
* @param noekkelords
* New value of the "noekkelords" property.
*/
public Registrering.Builder<_B> withNoekkelords(String... noekkelords) {
withNoekkelords(Arrays.asList(noekkelords));
return this;
}
/**
* Adds the given items to the value of "forfatters"
*
* @param forfatters
* Items to add to the value of the "forfatters" property
*/
public Registrering.Builder<_B> addForfatters(final Iterable extends String> forfatters) {
if (forfatters!= null) {
if (this.forfatters == null) {
this.forfatters = new ArrayList();
}
for (String _item: forfatters) {
this.forfatters.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "forfatters" (any previous value will be replaced)
*
* @param forfatters
* New value of the "forfatters" property.
*/
public Registrering.Builder<_B> withForfatters(final Iterable extends String> forfatters) {
if (this.forfatters!= null) {
this.forfatters.clear();
}
return addForfatters(forfatters);
}
/**
* Adds the given items to the value of "forfatters"
*
* @param forfatters
* Items to add to the value of the "forfatters" property
*/
public Registrering.Builder<_B> addForfatters(String... forfatters) {
addForfatters(Arrays.asList(forfatters));
return this;
}
/**
* Sets the new value of "forfatters" (any previous value will be replaced)
*
* @param forfatters
* New value of the "forfatters" property.
*/
public Registrering.Builder<_B> withForfatters(String... forfatters) {
withForfatters(Arrays.asList(forfatters));
return this;
}
/**
* Sets the new value of "dokumentmedium" (any previous value will be replaced)
*
* @param dokumentmedium
* New value of the "dokumentmedium" property.
*/
public Registrering.Builder<_B> withDokumentmedium(final Dokumentmedium dokumentmedium) {
this.dokumentmedium = ((dokumentmedium == null)?null:new Dokumentmedium.Builder>(this, dokumentmedium, false));
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 Registrering.Builder<_B>> withDokumentmedium() {
if (this.dokumentmedium!= null) {
return this.dokumentmedium;
}
return this.dokumentmedium = new Dokumentmedium.Builder>(this, null, false);
}
/**
* Adds the given items to the value of "oppbevaringssteds"
*
* @param oppbevaringssteds
* Items to add to the value of the "oppbevaringssteds" property
*/
public Registrering.Builder<_B> addOppbevaringssteds(final Iterable extends String> oppbevaringssteds) {
if (oppbevaringssteds!= null) {
if (this.oppbevaringssteds == null) {
this.oppbevaringssteds = new ArrayList();
}
for (String _item: oppbevaringssteds) {
this.oppbevaringssteds.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "oppbevaringssteds" (any previous value will be replaced)
*
* @param oppbevaringssteds
* New value of the "oppbevaringssteds" property.
*/
public Registrering.Builder<_B> withOppbevaringssteds(final Iterable extends String> oppbevaringssteds) {
if (this.oppbevaringssteds!= null) {
this.oppbevaringssteds.clear();
}
return addOppbevaringssteds(oppbevaringssteds);
}
/**
* Adds the given items to the value of "oppbevaringssteds"
*
* @param oppbevaringssteds
* Items to add to the value of the "oppbevaringssteds" property
*/
public Registrering.Builder<_B> addOppbevaringssteds(String... oppbevaringssteds) {
addOppbevaringssteds(Arrays.asList(oppbevaringssteds));
return this;
}
/**
* Sets the new value of "oppbevaringssteds" (any previous value will be replaced)
*
* @param oppbevaringssteds
* New value of the "oppbevaringssteds" property.
*/
public Registrering.Builder<_B> withOppbevaringssteds(String... oppbevaringssteds) {
withOppbevaringssteds(Arrays.asList(oppbevaringssteds));
return this;
}
/**
* Sets the new value of "virksomhetsspesifikkeMetadata" (any previous value will
* be replaced)
*
* @param virksomhetsspesifikkeMetadata
* New value of the "virksomhetsspesifikkeMetadata" property.
*/
public Registrering.Builder<_B> withVirksomhetsspesifikkeMetadata(final Object virksomhetsspesifikkeMetadata) {
this.virksomhetsspesifikkeMetadata = virksomhetsspesifikkeMetadata;
return this;
}
/**
* Adds the given items to the value of "merknads"
*
* @param merknads
* Items to add to the value of the "merknads" property
*/
public Registrering.Builder<_B> addMerknads(final Iterable extends Merknad> merknads) {
if (merknads!= null) {
if (this.merknads == null) {
this.merknads = new ArrayList>>();
}
for (Merknad _item: merknads) {
this.merknads.add(new Merknad.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "merknads" (any previous value will be replaced)
*
* @param merknads
* New value of the "merknads" property.
*/
public Registrering.Builder<_B> withMerknads(final Iterable extends Merknad> merknads) {
if (this.merknads!= null) {
this.merknads.clear();
}
return addMerknads(merknads);
}
/**
* Adds the given items to the value of "merknads"
*
* @param merknads
* Items to add to the value of the "merknads" property
*/
public Registrering.Builder<_B> addMerknads(Merknad... merknads) {
addMerknads(Arrays.asList(merknads));
return this;
}
/**
* Sets the new value of "merknads" (any previous value will be replaced)
*
* @param merknads
* New value of the "merknads" property.
*/
public Registrering.Builder<_B> withMerknads(Merknad... merknads) {
withMerknads(Arrays.asList(merknads));
return this;
}
/**
* Returns a new builder to build an additional value of the "Merknads" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivmelding.opprett.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.arkivmelding.opprett.Merknad.Builder#end()} to
* return to the current builder.
*/
public Merknad.Builder extends Registrering.Builder<_B>> addMerknads() {
if (this.merknads == null) {
this.merknads = new ArrayList>>();
}
final Merknad.Builder> merknads_Builder = new Merknad.Builder>(this, null, false);
this.merknads.add(merknads_Builder);
return merknads_Builder;
}
/**
* Adds the given items to the value of "kryssreferanses"
*
* @param kryssreferanses
* Items to add to the value of the "kryssreferanses" property
*/
public Registrering.Builder<_B> addKryssreferanses(final Iterable extends Kryssreferanse> kryssreferanses) {
if (kryssreferanses!= null) {
if (this.kryssreferanses == null) {
this.kryssreferanses = new ArrayList>>();
}
for (Kryssreferanse _item: kryssreferanses) {
this.kryssreferanses.add(new Kryssreferanse.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "kryssreferanses" (any previous value will be replaced)
*
* @param kryssreferanses
* New value of the "kryssreferanses" property.
*/
public Registrering.Builder<_B> withKryssreferanses(final Iterable extends Kryssreferanse> kryssreferanses) {
if (this.kryssreferanses!= null) {
this.kryssreferanses.clear();
}
return addKryssreferanses(kryssreferanses);
}
/**
* Adds the given items to the value of "kryssreferanses"
*
* @param kryssreferanses
* Items to add to the value of the "kryssreferanses" property
*/
public Registrering.Builder<_B> addKryssreferanses(Kryssreferanse... kryssreferanses) {
addKryssreferanses(Arrays.asList(kryssreferanses));
return this;
}
/**
* Sets the new value of "kryssreferanses" (any previous value will be replaced)
*
* @param kryssreferanses
* New value of the "kryssreferanses" property.
*/
public Registrering.Builder<_B> withKryssreferanses(Kryssreferanse... kryssreferanses) {
withKryssreferanses(Arrays.asList(kryssreferanses));
return this;
}
/**
* Returns a new builder to build an additional value of the "Kryssreferanses"
* property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivmelding.opprett.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.arkivmelding.opprett.Kryssreferanse.Builder#end()} to return
* to the current builder.
*/
public Kryssreferanse.Builder extends Registrering.Builder<_B>> addKryssreferanses() {
if (this.kryssreferanses == null) {
this.kryssreferanses = new ArrayList>>();
}
final Kryssreferanse.Builder> kryssreferanses_Builder = new Kryssreferanse.Builder>(this, null, false);
this.kryssreferanses.add(kryssreferanses_Builder);
return kryssreferanses_Builder;
}
/**
* Adds the given items to the value of "korrespondanseparts"
*
* @param korrespondanseparts
* Items to add to the value of the "korrespondanseparts" property
*/
public Registrering.Builder<_B> addKorrespondanseparts(final Iterable extends Korrespondansepart> korrespondanseparts) {
if (korrespondanseparts!= null) {
if (this.korrespondanseparts == null) {
this.korrespondanseparts = new ArrayList>>();
}
for (Korrespondansepart _item: korrespondanseparts) {
this.korrespondanseparts.add(new Korrespondansepart.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "korrespondanseparts" (any previous value will be
* replaced)
*
* @param korrespondanseparts
* New value of the "korrespondanseparts" property.
*/
public Registrering.Builder<_B> withKorrespondanseparts(final Iterable extends Korrespondansepart> korrespondanseparts) {
if (this.korrespondanseparts!= null) {
this.korrespondanseparts.clear();
}
return addKorrespondanseparts(korrespondanseparts);
}
/**
* Adds the given items to the value of "korrespondanseparts"
*
* @param korrespondanseparts
* Items to add to the value of the "korrespondanseparts" property
*/
public Registrering.Builder<_B> addKorrespondanseparts(Korrespondansepart... korrespondanseparts) {
addKorrespondanseparts(Arrays.asList(korrespondanseparts));
return this;
}
/**
* Sets the new value of "korrespondanseparts" (any previous value will be
* replaced)
*
* @param korrespondanseparts
* New value of the "korrespondanseparts" property.
*/
public Registrering.Builder<_B> withKorrespondanseparts(Korrespondansepart... korrespondanseparts) {
withKorrespondanseparts(Arrays.asList(korrespondanseparts));
return this;
}
/**
* Returns a new builder to build an additional value of the "Korrespondanseparts"
* property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivmelding.opprett.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.arkivmelding.opprett.Korrespondansepart.Builder#end()} to
* return to the current builder.
*/
public Korrespondansepart.Builder extends Registrering.Builder<_B>> addKorrespondanseparts() {
if (this.korrespondanseparts == null) {
this.korrespondanseparts = new ArrayList>>();
}
final Korrespondansepart.Builder> korrespondanseparts_Builder = new Korrespondansepart.Builder>(this, null, false);
this.korrespondanseparts.add(korrespondanseparts_Builder);
return korrespondanseparts_Builder;
}
/**
* Adds the given items to the value of "klassifikasjons"
*
* @param klassifikasjons
* Items to add to the value of the "klassifikasjons" property
*/
public Registrering.Builder<_B> addKlassifikasjons(final Iterable extends Klassifikasjon> klassifikasjons) {
if (klassifikasjons!= null) {
if (this.klassifikasjons == null) {
this.klassifikasjons = new ArrayList>>();
}
for (Klassifikasjon _item: klassifikasjons) {
this.klassifikasjons.add(new Klassifikasjon.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "klassifikasjons" (any previous value will be replaced)
*
* @param klassifikasjons
* New value of the "klassifikasjons" property.
*/
public Registrering.Builder<_B> withKlassifikasjons(final Iterable extends Klassifikasjon> klassifikasjons) {
if (this.klassifikasjons!= null) {
this.klassifikasjons.clear();
}
return addKlassifikasjons(klassifikasjons);
}
/**
* Adds the given items to the value of "klassifikasjons"
*
* @param klassifikasjons
* Items to add to the value of the "klassifikasjons" property
*/
public Registrering.Builder<_B> addKlassifikasjons(Klassifikasjon... klassifikasjons) {
addKlassifikasjons(Arrays.asList(klassifikasjons));
return this;
}
/**
* Sets the new value of "klassifikasjons" (any previous value will be replaced)
*
* @param klassifikasjons
* New value of the "klassifikasjons" property.
*/
public Registrering.Builder<_B> withKlassifikasjons(Klassifikasjon... klassifikasjons) {
withKlassifikasjons(Arrays.asList(klassifikasjons));
return this;
}
/**
* Returns a new builder to build an additional value of the "Klassifikasjons"
* property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivmelding.opprett.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.arkivmelding.opprett.Klassifikasjon.Builder#end()} to return
* to the current builder.
*/
public Klassifikasjon.Builder extends Registrering.Builder<_B>> addKlassifikasjons() {
if (this.klassifikasjons == null) {
this.klassifikasjons = new ArrayList>>();
}
final Klassifikasjon.Builder> klassifikasjons_Builder = new Klassifikasjon.Builder>(this, null, false);
this.klassifikasjons.add(klassifikasjons_Builder);
return klassifikasjons_Builder;
}
/**
* Sets the new value of "referanseEksternNoekkel" (any previous value will be
* replaced)
*
* @param referanseEksternNoekkel
* New value of the "referanseEksternNoekkel" property.
*/
public Registrering.Builder<_B> withReferanseEksternNoekkel(final EksternNoekkel referanseEksternNoekkel) {
this.referanseEksternNoekkel = ((referanseEksternNoekkel == null)?null:new EksternNoekkel.Builder>(this, referanseEksternNoekkel, false));
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 Registrering.Builder<_B>> withReferanseEksternNoekkel() {
if (this.referanseEksternNoekkel!= null) {
return this.referanseEksternNoekkel;
}
return this.referanseEksternNoekkel = new EksternNoekkel.Builder>(this, null, false);
}
@Override
public Registrering build() {
if (_storedValue == null) {
return this.init(new Registrering());
} else {
return ((Registrering) _storedValue);
}
}
public Registrering.Builder<_B> copyOf(final Registrering _other) {
_other.copyTo(this);
return this;
}
public Registrering.Builder<_B> copyOf(final Registrering.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends Registrering.Selector
{
Select() {
super(null, null, null);
}
public static Registrering.Select _root() {
return new Registrering.Select();
}
}
public static class Selector , TParent >
extends com.kscs.util.jaxb.Selector
{
private SystemID.Selector> systemID = null;
private com.kscs.util.jaxb.Selector> opprettetDato = null;
private com.kscs.util.jaxb.Selector> opprettetAv = null;
private com.kscs.util.jaxb.Selector> arkivertDato = null;
private com.kscs.util.jaxb.Selector> arkivertAv = null;
private Kode.Selector> arkivdel = null;
private ReferanseTilMappe.Selector> referanseForelderMappe = null;
private Part.Selector> parts = null;
private Skjerming.Selector> skjerming = null;
private Gradering.Selector> gradering = null;
private Dokumentbeskrivelse.Selector> dokumentbeskrivelses = null;
private com.kscs.util.jaxb.Selector> registreringsID = null;
private com.kscs.util.jaxb.Selector> tittel = null;
private com.kscs.util.jaxb.Selector> offentligTittel = null;
private com.kscs.util.jaxb.Selector> beskrivelse = null;
private com.kscs.util.jaxb.Selector> noekkelords = null;
private com.kscs.util.jaxb.Selector> forfatters = null;
private Dokumentmedium.Selector> dokumentmedium = null;
private com.kscs.util.jaxb.Selector> oppbevaringssteds = null;
private com.kscs.util.jaxb.Selector> virksomhetsspesifikkeMetadata = null;
private Merknad.Selector> merknads = null;
private Kryssreferanse.Selector> kryssreferanses = null;
private Korrespondansepart.Selector> korrespondanseparts = null;
private Klassifikasjon.Selector> klassifikasjons = null;
private EksternNoekkel.Selector> referanseEksternNoekkel = 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.systemID!= null) {
products.put("systemID", this.systemID.init());
}
if (this.opprettetDato!= null) {
products.put("opprettetDato", this.opprettetDato.init());
}
if (this.opprettetAv!= null) {
products.put("opprettetAv", this.opprettetAv.init());
}
if (this.arkivertDato!= null) {
products.put("arkivertDato", this.arkivertDato.init());
}
if (this.arkivertAv!= null) {
products.put("arkivertAv", this.arkivertAv.init());
}
if (this.arkivdel!= null) {
products.put("arkivdel", this.arkivdel.init());
}
if (this.referanseForelderMappe!= null) {
products.put("referanseForelderMappe", this.referanseForelderMappe.init());
}
if (this.parts!= null) {
products.put("parts", this.parts.init());
}
if (this.skjerming!= null) {
products.put("skjerming", this.skjerming.init());
}
if (this.gradering!= null) {
products.put("gradering", this.gradering.init());
}
if (this.dokumentbeskrivelses!= null) {
products.put("dokumentbeskrivelses", this.dokumentbeskrivelses.init());
}
if (this.registreringsID!= null) {
products.put("registreringsID", this.registreringsID.init());
}
if (this.tittel!= null) {
products.put("tittel", this.tittel.init());
}
if (this.offentligTittel!= null) {
products.put("offentligTittel", this.offentligTittel.init());
}
if (this.beskrivelse!= null) {
products.put("beskrivelse", this.beskrivelse.init());
}
if (this.noekkelords!= null) {
products.put("noekkelords", this.noekkelords.init());
}
if (this.forfatters!= null) {
products.put("forfatters", this.forfatters.init());
}
if (this.dokumentmedium!= null) {
products.put("dokumentmedium", this.dokumentmedium.init());
}
if (this.oppbevaringssteds!= null) {
products.put("oppbevaringssteds", this.oppbevaringssteds.init());
}
if (this.virksomhetsspesifikkeMetadata!= null) {
products.put("virksomhetsspesifikkeMetadata", this.virksomhetsspesifikkeMetadata.init());
}
if (this.merknads!= null) {
products.put("merknads", this.merknads.init());
}
if (this.kryssreferanses!= null) {
products.put("kryssreferanses", this.kryssreferanses.init());
}
if (this.korrespondanseparts!= null) {
products.put("korrespondanseparts", this.korrespondanseparts.init());
}
if (this.klassifikasjons!= null) {
products.put("klassifikasjons", this.klassifikasjons.init());
}
if (this.referanseEksternNoekkel!= null) {
products.put("referanseEksternNoekkel", this.referanseEksternNoekkel.init());
}
return products;
}
public SystemID.Selector> systemID() {
return ((this.systemID == null)?this.systemID = new SystemID.Selector>(this._root, this, "systemID"):this.systemID);
}
public com.kscs.util.jaxb.Selector> opprettetDato() {
return ((this.opprettetDato == null)?this.opprettetDato = new com.kscs.util.jaxb.Selector>(this._root, this, "opprettetDato"):this.opprettetDato);
}
public com.kscs.util.jaxb.Selector> opprettetAv() {
return ((this.opprettetAv == null)?this.opprettetAv = new com.kscs.util.jaxb.Selector>(this._root, this, "opprettetAv"):this.opprettetAv);
}
public com.kscs.util.jaxb.Selector> arkivertDato() {
return ((this.arkivertDato == null)?this.arkivertDato = new com.kscs.util.jaxb.Selector>(this._root, this, "arkivertDato"):this.arkivertDato);
}
public com.kscs.util.jaxb.Selector> arkivertAv() {
return ((this.arkivertAv == null)?this.arkivertAv = new com.kscs.util.jaxb.Selector>(this._root, this, "arkivertAv"):this.arkivertAv);
}
public Kode.Selector> arkivdel() {
return ((this.arkivdel == null)?this.arkivdel = new Kode.Selector>(this._root, this, "arkivdel"):this.arkivdel);
}
public ReferanseTilMappe.Selector> referanseForelderMappe() {
return ((this.referanseForelderMappe == null)?this.referanseForelderMappe = new ReferanseTilMappe.Selector>(this._root, this, "referanseForelderMappe"):this.referanseForelderMappe);
}
public Part.Selector> parts() {
return ((this.parts == null)?this.parts = new Part.Selector>(this._root, this, "parts"):this.parts);
}
public Skjerming.Selector> skjerming() {
return ((this.skjerming == null)?this.skjerming = new Skjerming.Selector>(this._root, this, "skjerming"):this.skjerming);
}
public Gradering.Selector> gradering() {
return ((this.gradering == null)?this.gradering = new Gradering.Selector>(this._root, this, "gradering"):this.gradering);
}
public Dokumentbeskrivelse.Selector> dokumentbeskrivelses() {
return ((this.dokumentbeskrivelses == null)?this.dokumentbeskrivelses = new Dokumentbeskrivelse.Selector>(this._root, this, "dokumentbeskrivelses"):this.dokumentbeskrivelses);
}
public com.kscs.util.jaxb.Selector> registreringsID() {
return ((this.registreringsID == null)?this.registreringsID = new com.kscs.util.jaxb.Selector>(this._root, this, "registreringsID"):this.registreringsID);
}
public com.kscs.util.jaxb.Selector> tittel() {
return ((this.tittel == null)?this.tittel = new com.kscs.util.jaxb.Selector>(this._root, this, "tittel"):this.tittel);
}
public com.kscs.util.jaxb.Selector> offentligTittel() {
return ((this.offentligTittel == null)?this.offentligTittel = new com.kscs.util.jaxb.Selector>(this._root, this, "offentligTittel"):this.offentligTittel);
}
public com.kscs.util.jaxb.Selector> beskrivelse() {
return ((this.beskrivelse == null)?this.beskrivelse = new com.kscs.util.jaxb.Selector>(this._root, this, "beskrivelse"):this.beskrivelse);
}
public com.kscs.util.jaxb.Selector> noekkelords() {
return ((this.noekkelords == null)?this.noekkelords = new com.kscs.util.jaxb.Selector>(this._root, this, "noekkelords"):this.noekkelords);
}
public com.kscs.util.jaxb.Selector> forfatters() {
return ((this.forfatters == null)?this.forfatters = new com.kscs.util.jaxb.Selector>(this._root, this, "forfatters"):this.forfatters);
}
public Dokumentmedium.Selector> dokumentmedium() {
return ((this.dokumentmedium == null)?this.dokumentmedium = new Dokumentmedium.Selector>(this._root, this, "dokumentmedium"):this.dokumentmedium);
}
public com.kscs.util.jaxb.Selector> oppbevaringssteds() {
return ((this.oppbevaringssteds == null)?this.oppbevaringssteds = new com.kscs.util.jaxb.Selector>(this._root, this, "oppbevaringssteds"):this.oppbevaringssteds);
}
public com.kscs.util.jaxb.Selector> virksomhetsspesifikkeMetadata() {
return ((this.virksomhetsspesifikkeMetadata == null)?this.virksomhetsspesifikkeMetadata = new com.kscs.util.jaxb.Selector>(this._root, this, "virksomhetsspesifikkeMetadata"):this.virksomhetsspesifikkeMetadata);
}
public Merknad.Selector> merknads() {
return ((this.merknads == null)?this.merknads = new Merknad.Selector>(this._root, this, "merknads"):this.merknads);
}
public Kryssreferanse.Selector> kryssreferanses() {
return ((this.kryssreferanses == null)?this.kryssreferanses = new Kryssreferanse.Selector>(this._root, this, "kryssreferanses"):this.kryssreferanses);
}
public Korrespondansepart.Selector> korrespondanseparts() {
return ((this.korrespondanseparts == null)?this.korrespondanseparts = new Korrespondansepart.Selector>(this._root, this, "korrespondanseparts"):this.korrespondanseparts);
}
public Klassifikasjon.Selector> klassifikasjons() {
return ((this.klassifikasjons == null)?this.klassifikasjons = new Klassifikasjon.Selector>(this._root, this, "klassifikasjons"):this.klassifikasjons);
}
public EksternNoekkel.Selector> referanseEksternNoekkel() {
return ((this.referanseEksternNoekkel == null)?this.referanseEksternNoekkel = new EksternNoekkel.Selector>(this._root, this, "referanseEksternNoekkel"):this.referanseEksternNoekkel);
}
}
}