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

no.ks.fiks.arkiv.v1.arkivmelding.opprett.Mappe Maven / Gradle / Ivy

There is a newer version: 1.0.12
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.6 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.06.23 at 10:32:49 AM CEST 
//


package no.ks.fiks.arkiv.v1.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 mappe complex type. * *

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

 * <complexType name="mappe">
 *   <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="mappeID" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}mappeID" minOccurs="0"/>
 *         <element name="referanseForeldermappe" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseTilMappe" 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="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="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="avsluttetDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}avsluttetDato" minOccurs="0"/>
 *         <element name="avsluttetAv" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}avsluttetAv" minOccurs="0"/>
 *         <element name="arkivdel" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}kode" minOccurs="0"/>
 *         <element name="virksomhetsspesifikkeMetadata" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
 *         <element name="part" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}part" 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="merknad" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}merknad" 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="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"/>
 *         <element name="mappetype" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}kode" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "mappe", propOrder = { "systemID", "mappeID", "referanseForeldermappe", "tittel", "offentligTittel", "beskrivelse", "noekkelords", "dokumentmedium", "oppbevaringssteds", "opprettetDato", "opprettetAv", "avsluttetDato", "avsluttetAv", "arkivdel", "virksomhetsspesifikkeMetadata", "parts", "kryssreferanses", "merknads", "skjerming", "gradering", "klassifikasjons", "referanseEksternNoekkel", "mappetype" }) @XmlSeeAlso({ Saksmappe.class }) public class Mappe { protected SystemID systemID; protected String mappeID; protected ReferanseTilMappe referanseForeldermappe; @XmlElement(required = true) protected String tittel; protected String offentligTittel; protected String beskrivelse; @XmlElement(name = "noekkelord") protected List noekkelords; protected Dokumentmedium dokumentmedium; @XmlElement(name = "oppbevaringssted") protected List oppbevaringssteds; @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 avsluttetDato; protected String avsluttetAv; protected Kode arkivdel; protected Object virksomhetsspesifikkeMetadata; @XmlElement(name = "part") protected List parts; @XmlElement(name = "kryssreferanse") protected List kryssreferanses; @XmlElement(name = "merknad") protected List merknads; protected Skjerming skjerming; protected Gradering gradering; @XmlElement(name = "klassifikasjon") protected List klassifikasjons; protected EksternNoekkel referanseEksternNoekkel; protected Kode mappetype; /** * 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 mappeID property. * * @return * possible object is * {@link String } * */ public String getMappeID() { return mappeID; } /** * Sets the value of the mappeID property. * * @param value * allowed object is * {@link String } * */ public void setMappeID(String value) { this.mappeID = 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 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 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 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 avsluttetDato property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getAvsluttetDato() { return avsluttetDato; } /** * Sets the value of the avsluttetDato property. * * @param value * allowed object is * {@link String } * */ public void setAvsluttetDato(ZonedDateTime value) { this.avsluttetDato = value; } /** * Gets the value of the avsluttetAv property. * * @return * possible object is * {@link String } * */ public String getAvsluttetAv() { return avsluttetAv; } /** * Sets the value of the avsluttetAv property. * * @param value * allowed object is * {@link String } * */ public void setAvsluttetAv(String value) { this.avsluttetAv = 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 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 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 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 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 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 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; } /** * Gets the value of the mappetype property. * * @return * possible object is * {@link Kode } * */ public Kode getMappetype() { return mappetype; } /** * Sets the value of the mappetype property. * * @param value * allowed object is * {@link Kode } * */ public void setMappetype(Kode value) { this.mappetype = 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 Mappe.Builder<_B> _other) { _other.systemID = ((this.systemID == null)?null:this.systemID.newCopyBuilder(_other)); _other.mappeID = this.mappeID; _other.referanseForeldermappe = ((this.referanseForeldermappe == null)?null:this.referanseForeldermappe.newCopyBuilder(_other)); _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))); } } _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.opprettetDato = this.opprettetDato; _other.opprettetAv = this.opprettetAv; _other.avsluttetDato = this.avsluttetDato; _other.avsluttetAv = this.avsluttetAv; _other.arkivdel = ((this.arkivdel == null)?null:this.arkivdel.newCopyBuilder(_other)); _other.virksomhetsspesifikkeMetadata = this.virksomhetsspesifikkeMetadata; 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))); } } 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.merknads == null) { _other.merknads = null; } else { _other.merknads = new ArrayList>>(); for (Merknad _item: this.merknads) { _other.merknads.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.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)); _other.mappetype = ((this.mappetype == null)?null:this.mappetype.newCopyBuilder(_other)); } public<_B >Mappe.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new Mappe.Builder<_B>(_parentBuilder, this, true); } public Mappe.Builder newCopyBuilder() { return newCopyBuilder(null); } public static Mappe.Builder builder() { return new Mappe.Builder(null, null, false); } public static<_B >Mappe.Builder<_B> copyOf(final Mappe _other) { final Mappe.Builder<_B> _newBuilder = new Mappe.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 Mappe.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 mappeIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mappeID")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mappeIDPropertyTree!= null):((mappeIDPropertyTree == null)||(!mappeIDPropertyTree.isLeaf())))) { _other.mappeID = this.mappeID; } 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 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 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 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 avsluttetDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("avsluttetDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(avsluttetDatoPropertyTree!= null):((avsluttetDatoPropertyTree == null)||(!avsluttetDatoPropertyTree.isLeaf())))) { _other.avsluttetDato = this.avsluttetDato; } final PropertyTree avsluttetAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("avsluttetAv")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(avsluttetAvPropertyTree!= null):((avsluttetAvPropertyTree == null)||(!avsluttetAvPropertyTree.isLeaf())))) { _other.avsluttetAv = this.avsluttetAv; } 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 virksomhetsspesifikkeMetadataPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("virksomhetsspesifikkeMetadata")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(virksomhetsspesifikkeMetadataPropertyTree!= null):((virksomhetsspesifikkeMetadataPropertyTree == null)||(!virksomhetsspesifikkeMetadataPropertyTree.isLeaf())))) { _other.virksomhetsspesifikkeMetadata = this.virksomhetsspesifikkeMetadata; } 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 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 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 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 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)); } final PropertyTree mappetypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mappetype")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mappetypePropertyTree!= null):((mappetypePropertyTree == null)||(!mappetypePropertyTree.isLeaf())))) { _other.mappetype = ((this.mappetype == null)?null:this.mappetype.newCopyBuilder(_other, mappetypePropertyTree, _propertyTreeUse)); } } public<_B >Mappe.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new Mappe.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public Mappe.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >Mappe.Builder<_B> copyOf(final Mappe _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Mappe.Builder<_B> _newBuilder = new Mappe.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static Mappe.Builder copyExcept(final Mappe _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static Mappe.Builder copyOnly(final Mappe _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final Mappe _storedValue; private SystemID.Builder> systemID; private String mappeID; private ReferanseTilMappe.Builder> referanseForeldermappe; private String tittel; private String offentligTittel; private String beskrivelse; private List noekkelords; private Dokumentmedium.Builder> dokumentmedium; private List oppbevaringssteds; private ZonedDateTime opprettetDato; private String opprettetAv; private ZonedDateTime avsluttetDato; private String avsluttetAv; private Kode.Builder> arkivdel; private Object virksomhetsspesifikkeMetadata; private List>> parts; private List>> kryssreferanses; private List>> merknads; private Skjerming.Builder> skjerming; private Gradering.Builder> gradering; private List>> klassifikasjons; private EksternNoekkel.Builder> referanseEksternNoekkel; private Kode.Builder> mappetype; public Builder(final _B _parentBuilder, final Mappe _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.mappeID = _other.mappeID; this.referanseForeldermappe = ((_other.referanseForeldermappe == null)?null:_other.referanseForeldermappe.newCopyBuilder(this)); 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))); } } 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.opprettetDato = _other.opprettetDato; this.opprettetAv = _other.opprettetAv; this.avsluttetDato = _other.avsluttetDato; this.avsluttetAv = _other.avsluttetAv; this.arkivdel = ((_other.arkivdel == null)?null:_other.arkivdel.newCopyBuilder(this)); this.virksomhetsspesifikkeMetadata = _other.virksomhetsspesifikkeMetadata; 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))); } } 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.merknads == null) { this.merknads = null; } else { this.merknads = new ArrayList>>(); for (Merknad _item: _other.merknads) { this.merknads.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.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)); this.mappetype = ((_other.mappetype == null)?null:_other.mappetype.newCopyBuilder(this)); } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final Mappe _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 mappeIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mappeID")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mappeIDPropertyTree!= null):((mappeIDPropertyTree == null)||(!mappeIDPropertyTree.isLeaf())))) { this.mappeID = _other.mappeID; } 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 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 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 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 avsluttetDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("avsluttetDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(avsluttetDatoPropertyTree!= null):((avsluttetDatoPropertyTree == null)||(!avsluttetDatoPropertyTree.isLeaf())))) { this.avsluttetDato = _other.avsluttetDato; } final PropertyTree avsluttetAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("avsluttetAv")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(avsluttetAvPropertyTree!= null):((avsluttetAvPropertyTree == null)||(!avsluttetAvPropertyTree.isLeaf())))) { this.avsluttetAv = _other.avsluttetAv; } 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 virksomhetsspesifikkeMetadataPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("virksomhetsspesifikkeMetadata")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(virksomhetsspesifikkeMetadataPropertyTree!= null):((virksomhetsspesifikkeMetadataPropertyTree == null)||(!virksomhetsspesifikkeMetadataPropertyTree.isLeaf())))) { this.virksomhetsspesifikkeMetadata = _other.virksomhetsspesifikkeMetadata; } 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 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 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 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 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)); } final PropertyTree mappetypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mappetype")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mappetypePropertyTree!= null):((mappetypePropertyTree == null)||(!mappetypePropertyTree.isLeaf())))) { this.mappetype = ((_other.mappetype == null)?null:_other.mappetype.newCopyBuilder(this, mappetypePropertyTree, _propertyTreeUse)); } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends Mappe >_P init(final _P _product) { _product.systemID = ((this.systemID == null)?null:this.systemID.build()); _product.mappeID = this.mappeID; _product.referanseForeldermappe = ((this.referanseForeldermappe == null)?null:this.referanseForeldermappe.build()); _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; } _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.opprettetDato = this.opprettetDato; _product.opprettetAv = this.opprettetAv; _product.avsluttetDato = this.avsluttetDato; _product.avsluttetAv = this.avsluttetAv; _product.arkivdel = ((this.arkivdel == null)?null:this.arkivdel.build()); _product.virksomhetsspesifikkeMetadata = this.virksomhetsspesifikkeMetadata; 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; } 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.merknads!= null) { final List merknads = new ArrayList(this.merknads.size()); for (Merknad.Builder> _item: this.merknads) { merknads.add(_item.build()); } _product.merknads = merknads; } _product.skjerming = ((this.skjerming == null)?null:this.skjerming.build()); _product.gradering = ((this.gradering == null)?null:this.gradering.build()); 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()); _product.mappetype = ((this.mappetype == null)?null:this.mappetype.build()); return _product; } /** * Sets the new value of "systemID" (any previous value will be replaced) * * @param systemID * New value of the "systemID" property. */ public Mappe.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> withSystemID() { if (this.systemID!= null) { return this.systemID; } return this.systemID = new SystemID.Builder>(this, null, false); } /** * Sets the new value of "mappeID" (any previous value will be replaced) * * @param mappeID * New value of the "mappeID" property. */ public Mappe.Builder<_B> withMappeID(final String mappeID) { this.mappeID = mappeID; return this; } /** * Sets the new value of "referanseForeldermappe" (any previous value will be * replaced) * * @param referanseForeldermappe * New value of the "referanseForeldermappe" property. */ public Mappe.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> withReferanseForeldermappe() { if (this.referanseForeldermappe!= null) { return this.referanseForeldermappe; } return this.referanseForeldermappe = new ReferanseTilMappe.Builder>(this, null, false); } /** * Sets the new value of "tittel" (any previous value will be replaced) * * @param tittel * New value of the "tittel" property. */ public Mappe.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 Mappe.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 Mappe.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 Mappe.Builder<_B> addNoekkelords(final Iterable 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 Mappe.Builder<_B> withNoekkelords(final Iterable 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 Mappe.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 Mappe.Builder<_B> withNoekkelords(String... noekkelords) { withNoekkelords(Arrays.asList(noekkelords)); return this; } /** * Sets the new value of "dokumentmedium" (any previous value will be replaced) * * @param dokumentmedium * New value of the "dokumentmedium" property. */ public Mappe.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> 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 Mappe.Builder<_B> addOppbevaringssteds(final Iterable 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 Mappe.Builder<_B> withOppbevaringssteds(final Iterable 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 Mappe.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 Mappe.Builder<_B> withOppbevaringssteds(String... oppbevaringssteds) { withOppbevaringssteds(Arrays.asList(oppbevaringssteds)); return this; } /** * Sets the new value of "opprettetDato" (any previous value will be replaced) * * @param opprettetDato * New value of the "opprettetDato" property. */ public Mappe.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 Mappe.Builder<_B> withOpprettetAv(final String opprettetAv) { this.opprettetAv = opprettetAv; return this; } /** * Sets the new value of "avsluttetDato" (any previous value will be replaced) * * @param avsluttetDato * New value of the "avsluttetDato" property. */ public Mappe.Builder<_B> withAvsluttetDato(final ZonedDateTime avsluttetDato) { this.avsluttetDato = avsluttetDato; return this; } /** * Sets the new value of "avsluttetAv" (any previous value will be replaced) * * @param avsluttetAv * New value of the "avsluttetAv" property. */ public Mappe.Builder<_B> withAvsluttetAv(final String avsluttetAv) { this.avsluttetAv = avsluttetAv; return this; } /** * Sets the new value of "arkivdel" (any previous value will be replaced) * * @param arkivdel * New value of the "arkivdel" property. */ public Mappe.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> withArkivdel() { if (this.arkivdel!= null) { return this.arkivdel; } return this.arkivdel = new Kode.Builder>(this, null, false); } /** * Sets the new value of "virksomhetsspesifikkeMetadata" (any previous value will * be replaced) * * @param virksomhetsspesifikkeMetadata * New value of the "virksomhetsspesifikkeMetadata" property. */ public Mappe.Builder<_B> withVirksomhetsspesifikkeMetadata(final Object virksomhetsspesifikkeMetadata) { this.virksomhetsspesifikkeMetadata = virksomhetsspesifikkeMetadata; return this; } /** * Adds the given items to the value of "parts" * * @param parts * Items to add to the value of the "parts" property */ public Mappe.Builder<_B> addParts(final Iterable 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 Mappe.Builder<_B> withParts(final Iterable 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 Mappe.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 Mappe.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> 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; } /** * Adds the given items to the value of "kryssreferanses" * * @param kryssreferanses * Items to add to the value of the "kryssreferanses" property */ public Mappe.Builder<_B> addKryssreferanses(final Iterable 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 Mappe.Builder<_B> withKryssreferanses(final Iterable 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 Mappe.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 Mappe.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> 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 "merknads" * * @param merknads * Items to add to the value of the "merknads" property */ public Mappe.Builder<_B> addMerknads(final Iterable 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 Mappe.Builder<_B> withMerknads(final Iterable 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 Mappe.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 Mappe.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> 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; } /** * Sets the new value of "skjerming" (any previous value will be replaced) * * @param skjerming * New value of the "skjerming" property. */ public Mappe.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> 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 Mappe.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> 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 "klassifikasjons" * * @param klassifikasjons * Items to add to the value of the "klassifikasjons" property */ public Mappe.Builder<_B> addKlassifikasjons(final Iterable 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 Mappe.Builder<_B> withKlassifikasjons(final Iterable 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 Mappe.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 Mappe.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> 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 Mappe.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> withReferanseEksternNoekkel() { if (this.referanseEksternNoekkel!= null) { return this.referanseEksternNoekkel; } return this.referanseEksternNoekkel = new EksternNoekkel.Builder>(this, null, false); } /** * Sets the new value of "mappetype" (any previous value will be replaced) * * @param mappetype * New value of the "mappetype" property. */ public Mappe.Builder<_B> withMappetype(final Kode mappetype) { this.mappetype = ((mappetype == null)?null:new Kode.Builder>(this, mappetype, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "mappetype" 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 "mappetype" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode.Builder#end()} * to return to the current builder. */ public Kode.Builder> withMappetype() { if (this.mappetype!= null) { return this.mappetype; } return this.mappetype = new Kode.Builder>(this, null, false); } @Override public Mappe build() { if (_storedValue == null) { return this.init(new Mappe()); } else { return ((Mappe) _storedValue); } } public Mappe.Builder<_B> copyOf(final Mappe _other) { _other.copyTo(this); return this; } public Mappe.Builder<_B> copyOf(final Mappe.Builder _other) { return copyOf(_other.build()); } } public static class Select extends Mappe.Selector { Select() { super(null, null, null); } public static Mappe.Select _root() { return new Mappe.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private SystemID.Selector> systemID = null; private com.kscs.util.jaxb.Selector> mappeID = null; private ReferanseTilMappe.Selector> referanseForeldermappe = 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 Dokumentmedium.Selector> dokumentmedium = null; private com.kscs.util.jaxb.Selector> oppbevaringssteds = null; private com.kscs.util.jaxb.Selector> opprettetDato = null; private com.kscs.util.jaxb.Selector> opprettetAv = null; private com.kscs.util.jaxb.Selector> avsluttetDato = null; private com.kscs.util.jaxb.Selector> avsluttetAv = null; private Kode.Selector> arkivdel = null; private com.kscs.util.jaxb.Selector> virksomhetsspesifikkeMetadata = null; private Part.Selector> parts = null; private Kryssreferanse.Selector> kryssreferanses = null; private Merknad.Selector> merknads = null; private Skjerming.Selector> skjerming = null; private Gradering.Selector> gradering = null; private Klassifikasjon.Selector> klassifikasjons = null; private EksternNoekkel.Selector> referanseEksternNoekkel = null; private Kode.Selector> mappetype = 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.mappeID!= null) { products.put("mappeID", this.mappeID.init()); } if (this.referanseForeldermappe!= null) { products.put("referanseForeldermappe", this.referanseForeldermappe.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.dokumentmedium!= null) { products.put("dokumentmedium", this.dokumentmedium.init()); } if (this.oppbevaringssteds!= null) { products.put("oppbevaringssteds", this.oppbevaringssteds.init()); } if (this.opprettetDato!= null) { products.put("opprettetDato", this.opprettetDato.init()); } if (this.opprettetAv!= null) { products.put("opprettetAv", this.opprettetAv.init()); } if (this.avsluttetDato!= null) { products.put("avsluttetDato", this.avsluttetDato.init()); } if (this.avsluttetAv!= null) { products.put("avsluttetAv", this.avsluttetAv.init()); } if (this.arkivdel!= null) { products.put("arkivdel", this.arkivdel.init()); } if (this.virksomhetsspesifikkeMetadata!= null) { products.put("virksomhetsspesifikkeMetadata", this.virksomhetsspesifikkeMetadata.init()); } if (this.parts!= null) { products.put("parts", this.parts.init()); } if (this.kryssreferanses!= null) { products.put("kryssreferanses", this.kryssreferanses.init()); } if (this.merknads!= null) { products.put("merknads", this.merknads.init()); } if (this.skjerming!= null) { products.put("skjerming", this.skjerming.init()); } if (this.gradering!= null) { products.put("gradering", this.gradering.init()); } if (this.klassifikasjons!= null) { products.put("klassifikasjons", this.klassifikasjons.init()); } if (this.referanseEksternNoekkel!= null) { products.put("referanseEksternNoekkel", this.referanseEksternNoekkel.init()); } if (this.mappetype!= null) { products.put("mappetype", this.mappetype.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> mappeID() { return ((this.mappeID == null)?this.mappeID = new com.kscs.util.jaxb.Selector>(this._root, this, "mappeID"):this.mappeID); } public ReferanseTilMappe.Selector> referanseForeldermappe() { return ((this.referanseForeldermappe == null)?this.referanseForeldermappe = new ReferanseTilMappe.Selector>(this._root, this, "referanseForeldermappe"):this.referanseForeldermappe); } 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 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> 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> avsluttetDato() { return ((this.avsluttetDato == null)?this.avsluttetDato = new com.kscs.util.jaxb.Selector>(this._root, this, "avsluttetDato"):this.avsluttetDato); } public com.kscs.util.jaxb.Selector> avsluttetAv() { return ((this.avsluttetAv == null)?this.avsluttetAv = new com.kscs.util.jaxb.Selector>(this._root, this, "avsluttetAv"):this.avsluttetAv); } public Kode.Selector> arkivdel() { return ((this.arkivdel == null)?this.arkivdel = new Kode.Selector>(this._root, this, "arkivdel"):this.arkivdel); } 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 Part.Selector> parts() { return ((this.parts == null)?this.parts = new Part.Selector>(this._root, this, "parts"):this.parts); } public Kryssreferanse.Selector> kryssreferanses() { return ((this.kryssreferanses == null)?this.kryssreferanses = new Kryssreferanse.Selector>(this._root, this, "kryssreferanses"):this.kryssreferanses); } public Merknad.Selector> merknads() { return ((this.merknads == null)?this.merknads = new Merknad.Selector>(this._root, this, "merknads"):this.merknads); } 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 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); } public Kode.Selector> mappetype() { return ((this.mappetype == null)?this.mappetype = new Kode.Selector>(this._root, this, "mappetype"):this.mappetype); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy