
no.arkivverket.standarder.noark5.arkivmelding.Mappe Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.7
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.10.09 at 07:52:57 AM UTC
//
package no.arkivverket.standarder.noark5.arkivmelding;
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.datatype.XMLGregorianCalendar;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
import no.arkivverket.standarder.noark5.metadatakatalog.Dokumentmedium;
/**
* 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="{http://www.arkivverket.no/standarder/noark5/arkivmelding}GUID"/>
* <element name="mappeID" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}mappeID" minOccurs="0"/>
* <element name="ReferanseForeldermappe" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}GUID" minOccurs="0"/>
* <element name="tittel" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}tittel"/>
* <element name="offentligTittel" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}offentligTittel" minOccurs="0"/>
* <element name="beskrivelse" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}beskrivelse" minOccurs="0"/>
* <element name="noekkelord" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}noekkelord" maxOccurs="unbounded" minOccurs="0"/>
* <element name="dokumentmedium" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}dokumentmedium" minOccurs="0"/>
* <element name="oppbevaringssted" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}oppbevaringssted" maxOccurs="unbounded" minOccurs="0"/>
* <element name="opprettetDato" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}opprettetDato"/>
* <element name="opprettetAv" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}opprettetAv"/>
* <element name="avsluttetDato" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}avsluttetDato" minOccurs="0"/>
* <element name="avsluttetAv" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}avsluttetAv" minOccurs="0"/>
* <element name="referanseArkivdel" type="{http://www.arkivverket.no/standarder/noark5/metadatakatalog}referanseArkivdel" maxOccurs="unbounded" minOccurs="0"/>
* <element name="virksomhetsspesifikkeMetadata" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* <element name="kryssreferanse" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}kryssreferanse" maxOccurs="unbounded" minOccurs="0"/>
* <element name="merknad" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}merknad" maxOccurs="unbounded" minOccurs="0"/>
* <element name="skjerming" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}skjerming" minOccurs="0"/>
* <element name="gradering" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}gradering" minOccurs="0"/>
* <element name="klassifikasjon" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}klassifikasjon" maxOccurs="unbounded" minOccurs="0"/>
* <choice minOccurs="0">
* <element name="mappe" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}mappe" maxOccurs="unbounded" minOccurs="0"/>
* <element name="basisregistrering" type="{http://www.arkivverket.no/standarder/noark5/arkivmelding}basisregistrering" maxOccurs="unbounded" minOccurs="0"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mappe", propOrder = {
"systemID",
"mappeID",
"referanseForeldermappe",
"tittel",
"offentligTittel",
"beskrivelse",
"noekkelord",
"dokumentmedium",
"oppbevaringssted",
"opprettetDato",
"opprettetAv",
"avsluttetDato",
"avsluttetAv",
"referanseArkivdel",
"virksomhetsspesifikkeMetadata",
"kryssreferanse",
"merknad",
"skjerming",
"gradering",
"klassifikasjon",
"mappe",
"basisregistrering"
})
@XmlSeeAlso({
Saksmappe.class
})
public class Mappe {
@XmlElement(required = true)
protected String systemID;
protected String mappeID;
@XmlElement(name = "ReferanseForeldermappe")
protected String referanseForeldermappe;
@XmlElement(required = true)
protected String tittel;
protected String offentligTittel;
protected String beskrivelse;
protected List noekkelord;
@XmlSchemaType(name = "string")
protected Dokumentmedium dokumentmedium;
protected List oppbevaringssted;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar opprettetDato;
@XmlElement(required = true)
protected String opprettetAv;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar avsluttetDato;
protected String avsluttetAv;
protected List referanseArkivdel;
protected Object virksomhetsspesifikkeMetadata;
protected List kryssreferanse;
protected List merknad;
protected Skjerming skjerming;
protected Gradering gradering;
protected List klassifikasjon;
protected List mappe;
protected List basisregistrering;
/**
* Gets the value of the systemID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSystemID() {
return systemID;
}
/**
* Sets the value of the systemID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSystemID(String 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 String }
*
*/
public String getReferanseForeldermappe() {
return referanseForeldermappe;
}
/**
* Sets the value of the referanseForeldermappe property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReferanseForeldermappe(String 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 noekkelord 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 noekkelord property.
*
*
* For example, to add a new item, do as follows:
*
* getNoekkelord().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNoekkelord() {
if (noekkelord == null) {
noekkelord = new ArrayList();
}
return this.noekkelord;
}
/**
* 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 oppbevaringssted 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 oppbevaringssted property.
*
*
* For example, to add a new item, do as follows:
*
* getOppbevaringssted().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getOppbevaringssted() {
if (oppbevaringssted == null) {
oppbevaringssted = new ArrayList();
}
return this.oppbevaringssted;
}
/**
* Gets the value of the opprettetDato property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getOpprettetDato() {
return opprettetDato;
}
/**
* Sets the value of the opprettetDato property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setOpprettetDato(XMLGregorianCalendar 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 XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getAvsluttetDato() {
return avsluttetDato;
}
/**
* Sets the value of the avsluttetDato property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setAvsluttetDato(XMLGregorianCalendar 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 referanseArkivdel 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 referanseArkivdel property.
*
*
* For example, to add a new item, do as follows:
*
* getReferanseArkivdel().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getReferanseArkivdel() {
if (referanseArkivdel == null) {
referanseArkivdel = new ArrayList();
}
return this.referanseArkivdel;
}
/**
* 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 kryssreferanse 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 kryssreferanse property.
*
*
* For example, to add a new item, do as follows:
*
* getKryssreferanse().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Kryssreferanse }
*
*
*/
public List getKryssreferanse() {
if (kryssreferanse == null) {
kryssreferanse = new ArrayList();
}
return this.kryssreferanse;
}
/**
* Gets the value of the merknad 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 merknad property.
*
*
* For example, to add a new item, do as follows:
*
* getMerknad().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Merknad }
*
*
*/
public List getMerknad() {
if (merknad == null) {
merknad = new ArrayList();
}
return this.merknad;
}
/**
* 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 klassifikasjon 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 klassifikasjon property.
*
*
* For example, to add a new item, do as follows:
*
* getKlassifikasjon().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Klassifikasjon }
*
*
*/
public List getKlassifikasjon() {
if (klassifikasjon == null) {
klassifikasjon = new ArrayList();
}
return this.klassifikasjon;
}
/**
* Gets the value of the mappe 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 mappe property.
*
*
* For example, to add a new item, do as follows:
*
* getMappe().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Mappe }
*
*
*/
public List getMappe() {
if (mappe == null) {
mappe = new ArrayList();
}
return this.mappe;
}
/**
* Gets the value of the basisregistrering 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 basisregistrering property.
*
*
* For example, to add a new item, do as follows:
*
* getBasisregistrering().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Basisregistrering }
*
*
*/
public List getBasisregistrering() {
if (basisregistrering == null) {
basisregistrering = new ArrayList();
}
return this.basisregistrering;
}
/**
* 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;
_other.mappeID = this.mappeID;
_other.referanseForeldermappe = this.referanseForeldermappe;
_other.tittel = this.tittel;
_other.offentligTittel = this.offentligTittel;
_other.beskrivelse = this.beskrivelse;
if (this.noekkelord == null) {
_other.noekkelord = null;
} else {
_other.noekkelord = new ArrayList();
for (String _item: this.noekkelord) {
_other.noekkelord.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
_other.dokumentmedium = this.dokumentmedium;
if (this.oppbevaringssted == null) {
_other.oppbevaringssted = null;
} else {
_other.oppbevaringssted = new ArrayList();
for (String _item: this.oppbevaringssted) {
_other.oppbevaringssted.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
_other.opprettetDato = ((this.opprettetDato == null)?null:((XMLGregorianCalendar) this.opprettetDato.clone()));
_other.opprettetAv = this.opprettetAv;
_other.avsluttetDato = ((this.avsluttetDato == null)?null:((XMLGregorianCalendar) this.avsluttetDato.clone()));
_other.avsluttetAv = this.avsluttetAv;
if (this.referanseArkivdel == null) {
_other.referanseArkivdel = null;
} else {
_other.referanseArkivdel = new ArrayList();
for (String _item: this.referanseArkivdel) {
_other.referanseArkivdel.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
_other.virksomhetsspesifikkeMetadata = this.virksomhetsspesifikkeMetadata;
if (this.kryssreferanse == null) {
_other.kryssreferanse = null;
} else {
_other.kryssreferanse = new ArrayList>>();
for (Kryssreferanse _item: this.kryssreferanse) {
_other.kryssreferanse.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
if (this.merknad == null) {
_other.merknad = null;
} else {
_other.merknad = new ArrayList>>();
for (Merknad _item: this.merknad) {
_other.merknad.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.klassifikasjon == null) {
_other.klassifikasjon = null;
} else {
_other.klassifikasjon = new ArrayList>>();
for (Klassifikasjon _item: this.klassifikasjon) {
_other.klassifikasjon.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
if (this.mappe == null) {
_other.mappe = null;
} else {
_other.mappe = new ArrayList>>();
for (Mappe _item: this.mappe) {
_other.mappe.add(((_item == null)?null:_item.newCopyBuilder(_other)));
}
}
if (this.basisregistrering == null) {
_other.basisregistrering = null;
} else {
_other.basisregistrering = new ArrayList>>();
for (Basisregistrering _item: this.basisregistrering) {
_other.basisregistrering.add(((_item == null)?null:_item.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;
}
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;
}
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 noekkelordPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("noekkelord"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(noekkelordPropertyTree!= null):((noekkelordPropertyTree == null)||(!noekkelordPropertyTree.isLeaf())))) {
if (this.noekkelord == null) {
_other.noekkelord = null;
} else {
_other.noekkelord = new ArrayList();
for (String _item: this.noekkelord) {
_other.noekkelord.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;
}
final PropertyTree oppbevaringsstedPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("oppbevaringssted"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(oppbevaringsstedPropertyTree!= null):((oppbevaringsstedPropertyTree == null)||(!oppbevaringsstedPropertyTree.isLeaf())))) {
if (this.oppbevaringssted == null) {
_other.oppbevaringssted = null;
} else {
_other.oppbevaringssted = new ArrayList();
for (String _item: this.oppbevaringssted) {
_other.oppbevaringssted.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 == null)?null:((XMLGregorianCalendar) this.opprettetDato.clone()));
}
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 == null)?null:((XMLGregorianCalendar) this.avsluttetDato.clone()));
}
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 referanseArkivdelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseArkivdel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseArkivdelPropertyTree!= null):((referanseArkivdelPropertyTree == null)||(!referanseArkivdelPropertyTree.isLeaf())))) {
if (this.referanseArkivdel == null) {
_other.referanseArkivdel = null;
} else {
_other.referanseArkivdel = new ArrayList();
for (String _item: this.referanseArkivdel) {
_other.referanseArkivdel.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 kryssreferansePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kryssreferanse"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kryssreferansePropertyTree!= null):((kryssreferansePropertyTree == null)||(!kryssreferansePropertyTree.isLeaf())))) {
if (this.kryssreferanse == null) {
_other.kryssreferanse = null;
} else {
_other.kryssreferanse = new ArrayList>>();
for (Kryssreferanse _item: this.kryssreferanse) {
_other.kryssreferanse.add(((_item == null)?null:_item.newCopyBuilder(_other, kryssreferansePropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree merknadPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("merknad"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(merknadPropertyTree!= null):((merknadPropertyTree == null)||(!merknadPropertyTree.isLeaf())))) {
if (this.merknad == null) {
_other.merknad = null;
} else {
_other.merknad = new ArrayList>>();
for (Merknad _item: this.merknad) {
_other.merknad.add(((_item == null)?null:_item.newCopyBuilder(_other, merknadPropertyTree, _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 klassifikasjonPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("klassifikasjon"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(klassifikasjonPropertyTree!= null):((klassifikasjonPropertyTree == null)||(!klassifikasjonPropertyTree.isLeaf())))) {
if (this.klassifikasjon == null) {
_other.klassifikasjon = null;
} else {
_other.klassifikasjon = new ArrayList>>();
for (Klassifikasjon _item: this.klassifikasjon) {
_other.klassifikasjon.add(((_item == null)?null:_item.newCopyBuilder(_other, klassifikasjonPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree mappePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mappe"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mappePropertyTree!= null):((mappePropertyTree == null)||(!mappePropertyTree.isLeaf())))) {
if (this.mappe == null) {
_other.mappe = null;
} else {
_other.mappe = new ArrayList>>();
for (Mappe _item: this.mappe) {
_other.mappe.add(((_item == null)?null:_item.newCopyBuilder(_other, mappePropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree basisregistreringPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("basisregistrering"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(basisregistreringPropertyTree!= null):((basisregistreringPropertyTree == null)||(!basisregistreringPropertyTree.isLeaf())))) {
if (this.basisregistrering == null) {
_other.basisregistrering = null;
} else {
_other.basisregistrering = new ArrayList>>();
for (Basisregistrering _item: this.basisregistrering) {
_other.basisregistrering.add(((_item == null)?null:_item.newCopyBuilder(_other, basisregistreringPropertyTree, _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 String systemID;
private String mappeID;
private String referanseForeldermappe;
private String tittel;
private String offentligTittel;
private String beskrivelse;
private List noekkelord;
private Dokumentmedium dokumentmedium;
private List oppbevaringssted;
private XMLGregorianCalendar opprettetDato;
private String opprettetAv;
private XMLGregorianCalendar avsluttetDato;
private String avsluttetAv;
private List referanseArkivdel;
private Object virksomhetsspesifikkeMetadata;
private List>> kryssreferanse;
private List>> merknad;
private Skjerming.Builder> skjerming;
private Gradering.Builder> gradering;
private List>> klassifikasjon;
private List>> mappe;
private List>> basisregistrering;
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;
this.mappeID = _other.mappeID;
this.referanseForeldermappe = _other.referanseForeldermappe;
this.tittel = _other.tittel;
this.offentligTittel = _other.offentligTittel;
this.beskrivelse = _other.beskrivelse;
if (_other.noekkelord == null) {
this.noekkelord = null;
} else {
this.noekkelord = new ArrayList();
for (String _item: _other.noekkelord) {
this.noekkelord.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
this.dokumentmedium = _other.dokumentmedium;
if (_other.oppbevaringssted == null) {
this.oppbevaringssted = null;
} else {
this.oppbevaringssted = new ArrayList();
for (String _item: _other.oppbevaringssted) {
this.oppbevaringssted.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
this.opprettetDato = ((_other.opprettetDato == null)?null:((XMLGregorianCalendar) _other.opprettetDato.clone()));
this.opprettetAv = _other.opprettetAv;
this.avsluttetDato = ((_other.avsluttetDato == null)?null:((XMLGregorianCalendar) _other.avsluttetDato.clone()));
this.avsluttetAv = _other.avsluttetAv;
if (_other.referanseArkivdel == null) {
this.referanseArkivdel = null;
} else {
this.referanseArkivdel = new ArrayList();
for (String _item: _other.referanseArkivdel) {
this.referanseArkivdel.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
this.virksomhetsspesifikkeMetadata = _other.virksomhetsspesifikkeMetadata;
if (_other.kryssreferanse == null) {
this.kryssreferanse = null;
} else {
this.kryssreferanse = new ArrayList>>();
for (Kryssreferanse _item: _other.kryssreferanse) {
this.kryssreferanse.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
if (_other.merknad == null) {
this.merknad = null;
} else {
this.merknad = new ArrayList>>();
for (Merknad _item: _other.merknad) {
this.merknad.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.klassifikasjon == null) {
this.klassifikasjon = null;
} else {
this.klassifikasjon = new ArrayList>>();
for (Klassifikasjon _item: _other.klassifikasjon) {
this.klassifikasjon.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
if (_other.mappe == null) {
this.mappe = null;
} else {
this.mappe = new ArrayList>>();
for (Mappe _item: _other.mappe) {
this.mappe.add(((_item == null)?null:_item.newCopyBuilder(this)));
}
}
if (_other.basisregistrering == null) {
this.basisregistrering = null;
} else {
this.basisregistrering = new ArrayList>>();
for (Basisregistrering _item: _other.basisregistrering) {
this.basisregistrering.add(((_item == null)?null:_item.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;
}
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;
}
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 noekkelordPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("noekkelord"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(noekkelordPropertyTree!= null):((noekkelordPropertyTree == null)||(!noekkelordPropertyTree.isLeaf())))) {
if (_other.noekkelord == null) {
this.noekkelord = null;
} else {
this.noekkelord = new ArrayList();
for (String _item: _other.noekkelord) {
this.noekkelord.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;
}
final PropertyTree oppbevaringsstedPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("oppbevaringssted"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(oppbevaringsstedPropertyTree!= null):((oppbevaringsstedPropertyTree == null)||(!oppbevaringsstedPropertyTree.isLeaf())))) {
if (_other.oppbevaringssted == null) {
this.oppbevaringssted = null;
} else {
this.oppbevaringssted = new ArrayList();
for (String _item: _other.oppbevaringssted) {
this.oppbevaringssted.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 == null)?null:((XMLGregorianCalendar) _other.opprettetDato.clone()));
}
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 == null)?null:((XMLGregorianCalendar) _other.avsluttetDato.clone()));
}
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 referanseArkivdelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseArkivdel"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseArkivdelPropertyTree!= null):((referanseArkivdelPropertyTree == null)||(!referanseArkivdelPropertyTree.isLeaf())))) {
if (_other.referanseArkivdel == null) {
this.referanseArkivdel = null;
} else {
this.referanseArkivdel = new ArrayList();
for (String _item: _other.referanseArkivdel) {
this.referanseArkivdel.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 kryssreferansePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kryssreferanse"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kryssreferansePropertyTree!= null):((kryssreferansePropertyTree == null)||(!kryssreferansePropertyTree.isLeaf())))) {
if (_other.kryssreferanse == null) {
this.kryssreferanse = null;
} else {
this.kryssreferanse = new ArrayList>>();
for (Kryssreferanse _item: _other.kryssreferanse) {
this.kryssreferanse.add(((_item == null)?null:_item.newCopyBuilder(this, kryssreferansePropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree merknadPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("merknad"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(merknadPropertyTree!= null):((merknadPropertyTree == null)||(!merknadPropertyTree.isLeaf())))) {
if (_other.merknad == null) {
this.merknad = null;
} else {
this.merknad = new ArrayList>>();
for (Merknad _item: _other.merknad) {
this.merknad.add(((_item == null)?null:_item.newCopyBuilder(this, merknadPropertyTree, _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 klassifikasjonPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("klassifikasjon"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(klassifikasjonPropertyTree!= null):((klassifikasjonPropertyTree == null)||(!klassifikasjonPropertyTree.isLeaf())))) {
if (_other.klassifikasjon == null) {
this.klassifikasjon = null;
} else {
this.klassifikasjon = new ArrayList>>();
for (Klassifikasjon _item: _other.klassifikasjon) {
this.klassifikasjon.add(((_item == null)?null:_item.newCopyBuilder(this, klassifikasjonPropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree mappePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mappe"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mappePropertyTree!= null):((mappePropertyTree == null)||(!mappePropertyTree.isLeaf())))) {
if (_other.mappe == null) {
this.mappe = null;
} else {
this.mappe = new ArrayList>>();
for (Mappe _item: _other.mappe) {
this.mappe.add(((_item == null)?null:_item.newCopyBuilder(this, mappePropertyTree, _propertyTreeUse)));
}
}
}
final PropertyTree basisregistreringPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("basisregistrering"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(basisregistreringPropertyTree!= null):((basisregistreringPropertyTree == null)||(!basisregistreringPropertyTree.isLeaf())))) {
if (_other.basisregistrering == null) {
this.basisregistrering = null;
} else {
this.basisregistrering = new ArrayList>>();
for (Basisregistrering _item: _other.basisregistrering) {
this.basisregistrering.add(((_item == null)?null:_item.newCopyBuilder(this, basisregistreringPropertyTree, _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;
_product.mappeID = this.mappeID;
_product.referanseForeldermappe = this.referanseForeldermappe;
_product.tittel = this.tittel;
_product.offentligTittel = this.offentligTittel;
_product.beskrivelse = this.beskrivelse;
if (this.noekkelord!= null) {
final List noekkelord = new ArrayList(this.noekkelord.size());
for (Buildable _item: this.noekkelord) {
noekkelord.add(((String) _item.build()));
}
_product.noekkelord = noekkelord;
}
_product.dokumentmedium = this.dokumentmedium;
if (this.oppbevaringssted!= null) {
final List oppbevaringssted = new ArrayList(this.oppbevaringssted.size());
for (Buildable _item: this.oppbevaringssted) {
oppbevaringssted.add(((String) _item.build()));
}
_product.oppbevaringssted = oppbevaringssted;
}
_product.opprettetDato = this.opprettetDato;
_product.opprettetAv = this.opprettetAv;
_product.avsluttetDato = this.avsluttetDato;
_product.avsluttetAv = this.avsluttetAv;
if (this.referanseArkivdel!= null) {
final List referanseArkivdel = new ArrayList(this.referanseArkivdel.size());
for (Buildable _item: this.referanseArkivdel) {
referanseArkivdel.add(((String) _item.build()));
}
_product.referanseArkivdel = referanseArkivdel;
}
_product.virksomhetsspesifikkeMetadata = this.virksomhetsspesifikkeMetadata;
if (this.kryssreferanse!= null) {
final List kryssreferanse = new ArrayList(this.kryssreferanse.size());
for (Kryssreferanse.Builder> _item: this.kryssreferanse) {
kryssreferanse.add(_item.build());
}
_product.kryssreferanse = kryssreferanse;
}
if (this.merknad!= null) {
final List merknad = new ArrayList(this.merknad.size());
for (Merknad.Builder> _item: this.merknad) {
merknad.add(_item.build());
}
_product.merknad = merknad;
}
_product.skjerming = ((this.skjerming == null)?null:this.skjerming.build());
_product.gradering = ((this.gradering == null)?null:this.gradering.build());
if (this.klassifikasjon!= null) {
final List klassifikasjon = new ArrayList(this.klassifikasjon.size());
for (Klassifikasjon.Builder> _item: this.klassifikasjon) {
klassifikasjon.add(_item.build());
}
_product.klassifikasjon = klassifikasjon;
}
if (this.mappe!= null) {
final List mappe = new ArrayList(this.mappe.size());
for (Mappe.Builder> _item: this.mappe) {
mappe.add(_item.build());
}
_product.mappe = mappe;
}
if (this.basisregistrering!= null) {
final List basisregistrering = new ArrayList(this.basisregistrering.size());
for (Basisregistrering.Builder> _item: this.basisregistrering) {
basisregistrering.add(_item.build());
}
_product.basisregistrering = basisregistrering;
}
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 String systemID) {
this.systemID = systemID;
return this;
}
/**
* 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 String referanseForeldermappe) {
this.referanseForeldermappe = referanseForeldermappe;
return this;
}
/**
* 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 "noekkelord"
*
* @param noekkelord
* Items to add to the value of the "noekkelord" property
*/
public Mappe.Builder<_B> addNoekkelord(final Iterable extends String> noekkelord) {
if (noekkelord!= null) {
if (this.noekkelord == null) {
this.noekkelord = new ArrayList();
}
for (String _item: noekkelord) {
this.noekkelord.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "noekkelord" (any previous value will be replaced)
*
* @param noekkelord
* New value of the "noekkelord" property.
*/
public Mappe.Builder<_B> withNoekkelord(final Iterable extends String> noekkelord) {
if (this.noekkelord!= null) {
this.noekkelord.clear();
}
return addNoekkelord(noekkelord);
}
/**
* Adds the given items to the value of "noekkelord"
*
* @param noekkelord
* Items to add to the value of the "noekkelord" property
*/
public Mappe.Builder<_B> addNoekkelord(String... noekkelord) {
addNoekkelord(Arrays.asList(noekkelord));
return this;
}
/**
* Sets the new value of "noekkelord" (any previous value will be replaced)
*
* @param noekkelord
* New value of the "noekkelord" property.
*/
public Mappe.Builder<_B> withNoekkelord(String... noekkelord) {
withNoekkelord(Arrays.asList(noekkelord));
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;
return this;
}
/**
* Adds the given items to the value of "oppbevaringssted"
*
* @param oppbevaringssted
* Items to add to the value of the "oppbevaringssted" property
*/
public Mappe.Builder<_B> addOppbevaringssted(final Iterable extends String> oppbevaringssted) {
if (oppbevaringssted!= null) {
if (this.oppbevaringssted == null) {
this.oppbevaringssted = new ArrayList();
}
for (String _item: oppbevaringssted) {
this.oppbevaringssted.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "oppbevaringssted" (any previous value will be replaced)
*
* @param oppbevaringssted
* New value of the "oppbevaringssted" property.
*/
public Mappe.Builder<_B> withOppbevaringssted(final Iterable extends String> oppbevaringssted) {
if (this.oppbevaringssted!= null) {
this.oppbevaringssted.clear();
}
return addOppbevaringssted(oppbevaringssted);
}
/**
* Adds the given items to the value of "oppbevaringssted"
*
* @param oppbevaringssted
* Items to add to the value of the "oppbevaringssted" property
*/
public Mappe.Builder<_B> addOppbevaringssted(String... oppbevaringssted) {
addOppbevaringssted(Arrays.asList(oppbevaringssted));
return this;
}
/**
* Sets the new value of "oppbevaringssted" (any previous value will be replaced)
*
* @param oppbevaringssted
* New value of the "oppbevaringssted" property.
*/
public Mappe.Builder<_B> withOppbevaringssted(String... oppbevaringssted) {
withOppbevaringssted(Arrays.asList(oppbevaringssted));
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 XMLGregorianCalendar 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 XMLGregorianCalendar 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;
}
/**
* Adds the given items to the value of "referanseArkivdel"
*
* @param referanseArkivdel
* Items to add to the value of the "referanseArkivdel" property
*/
public Mappe.Builder<_B> addReferanseArkivdel(final Iterable extends String> referanseArkivdel) {
if (referanseArkivdel!= null) {
if (this.referanseArkivdel == null) {
this.referanseArkivdel = new ArrayList();
}
for (String _item: referanseArkivdel) {
this.referanseArkivdel.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "referanseArkivdel" (any previous value will be replaced)
*
* @param referanseArkivdel
* New value of the "referanseArkivdel" property.
*/
public Mappe.Builder<_B> withReferanseArkivdel(final Iterable extends String> referanseArkivdel) {
if (this.referanseArkivdel!= null) {
this.referanseArkivdel.clear();
}
return addReferanseArkivdel(referanseArkivdel);
}
/**
* Adds the given items to the value of "referanseArkivdel"
*
* @param referanseArkivdel
* Items to add to the value of the "referanseArkivdel" property
*/
public Mappe.Builder<_B> addReferanseArkivdel(String... referanseArkivdel) {
addReferanseArkivdel(Arrays.asList(referanseArkivdel));
return this;
}
/**
* Sets the new value of "referanseArkivdel" (any previous value will be replaced)
*
* @param referanseArkivdel
* New value of the "referanseArkivdel" property.
*/
public Mappe.Builder<_B> withReferanseArkivdel(String... referanseArkivdel) {
withReferanseArkivdel(Arrays.asList(referanseArkivdel));
return this;
}
/**
* 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 "kryssreferanse"
*
* @param kryssreferanse
* Items to add to the value of the "kryssreferanse" property
*/
public Mappe.Builder<_B> addKryssreferanse(final Iterable extends Kryssreferanse> kryssreferanse) {
if (kryssreferanse!= null) {
if (this.kryssreferanse == null) {
this.kryssreferanse = new ArrayList>>();
}
for (Kryssreferanse _item: kryssreferanse) {
this.kryssreferanse.add(new Kryssreferanse.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "kryssreferanse" (any previous value will be replaced)
*
* @param kryssreferanse
* New value of the "kryssreferanse" property.
*/
public Mappe.Builder<_B> withKryssreferanse(final Iterable extends Kryssreferanse> kryssreferanse) {
if (this.kryssreferanse!= null) {
this.kryssreferanse.clear();
}
return addKryssreferanse(kryssreferanse);
}
/**
* Adds the given items to the value of "kryssreferanse"
*
* @param kryssreferanse
* Items to add to the value of the "kryssreferanse" property
*/
public Mappe.Builder<_B> addKryssreferanse(Kryssreferanse... kryssreferanse) {
addKryssreferanse(Arrays.asList(kryssreferanse));
return this;
}
/**
* Sets the new value of "kryssreferanse" (any previous value will be replaced)
*
* @param kryssreferanse
* New value of the "kryssreferanse" property.
*/
public Mappe.Builder<_B> withKryssreferanse(Kryssreferanse... kryssreferanse) {
withKryssreferanse(Arrays.asList(kryssreferanse));
return this;
}
/**
* Returns a new builder to build an additional value of the "Kryssreferanse" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Kryssreferanse.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "Kryssreferanse" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Kryssreferanse.Builder#end()} to return to the current builder.
*/
public Kryssreferanse.Builder extends Mappe.Builder<_B>> addKryssreferanse() {
if (this.kryssreferanse == null) {
this.kryssreferanse = new ArrayList>>();
}
final Kryssreferanse.Builder> kryssreferanse_Builder = new Kryssreferanse.Builder>(this, null, false);
this.kryssreferanse.add(kryssreferanse_Builder);
return kryssreferanse_Builder;
}
/**
* Adds the given items to the value of "merknad"
*
* @param merknad
* Items to add to the value of the "merknad" property
*/
public Mappe.Builder<_B> addMerknad(final Iterable extends Merknad> merknad) {
if (merknad!= null) {
if (this.merknad == null) {
this.merknad = new ArrayList>>();
}
for (Merknad _item: merknad) {
this.merknad.add(new Merknad.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "merknad" (any previous value will be replaced)
*
* @param merknad
* New value of the "merknad" property.
*/
public Mappe.Builder<_B> withMerknad(final Iterable extends Merknad> merknad) {
if (this.merknad!= null) {
this.merknad.clear();
}
return addMerknad(merknad);
}
/**
* Adds the given items to the value of "merknad"
*
* @param merknad
* Items to add to the value of the "merknad" property
*/
public Mappe.Builder<_B> addMerknad(Merknad... merknad) {
addMerknad(Arrays.asList(merknad));
return this;
}
/**
* Sets the new value of "merknad" (any previous value will be replaced)
*
* @param merknad
* New value of the "merknad" property.
*/
public Mappe.Builder<_B> withMerknad(Merknad... merknad) {
withMerknad(Arrays.asList(merknad));
return this;
}
/**
* Returns a new builder to build an additional value of the "Merknad" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Merknad.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "Merknad" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Merknad.Builder#end()} to return to the current builder.
*/
public Merknad.Builder extends Mappe.Builder<_B>> addMerknad() {
if (this.merknad == null) {
this.merknad = new ArrayList>>();
}
final Merknad.Builder> merknad_Builder = new Merknad.Builder>(this, null, false);
this.merknad.add(merknad_Builder);
return merknad_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.arkivverket.standarder.noark5.arkivmelding.Skjerming.Builder#end()} to return to the current builder.
*
* @return
* A new builder to build the value of the "skjerming" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Skjerming.Builder#end()} to return to the current builder.
*/
public Skjerming.Builder extends Mappe.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 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.arkivverket.standarder.noark5.arkivmelding.Gradering.Builder#end()} to return to the current builder.
*
* @return
* A new builder to build the value of the "gradering" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Gradering.Builder#end()} to return to the current builder.
*/
public Gradering.Builder extends Mappe.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 "klassifikasjon"
*
* @param klassifikasjon
* Items to add to the value of the "klassifikasjon" property
*/
public Mappe.Builder<_B> addKlassifikasjon(final Iterable extends Klassifikasjon> klassifikasjon) {
if (klassifikasjon!= null) {
if (this.klassifikasjon == null) {
this.klassifikasjon = new ArrayList>>();
}
for (Klassifikasjon _item: klassifikasjon) {
this.klassifikasjon.add(new Klassifikasjon.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "klassifikasjon" (any previous value will be replaced)
*
* @param klassifikasjon
* New value of the "klassifikasjon" property.
*/
public Mappe.Builder<_B> withKlassifikasjon(final Iterable extends Klassifikasjon> klassifikasjon) {
if (this.klassifikasjon!= null) {
this.klassifikasjon.clear();
}
return addKlassifikasjon(klassifikasjon);
}
/**
* Adds the given items to the value of "klassifikasjon"
*
* @param klassifikasjon
* Items to add to the value of the "klassifikasjon" property
*/
public Mappe.Builder<_B> addKlassifikasjon(Klassifikasjon... klassifikasjon) {
addKlassifikasjon(Arrays.asList(klassifikasjon));
return this;
}
/**
* Sets the new value of "klassifikasjon" (any previous value will be replaced)
*
* @param klassifikasjon
* New value of the "klassifikasjon" property.
*/
public Mappe.Builder<_B> withKlassifikasjon(Klassifikasjon... klassifikasjon) {
withKlassifikasjon(Arrays.asList(klassifikasjon));
return this;
}
/**
* Returns a new builder to build an additional value of the "Klassifikasjon" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Klassifikasjon.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "Klassifikasjon" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Klassifikasjon.Builder#end()} to return to the current builder.
*/
public Klassifikasjon.Builder extends Mappe.Builder<_B>> addKlassifikasjon() {
if (this.klassifikasjon == null) {
this.klassifikasjon = new ArrayList>>();
}
final Klassifikasjon.Builder> klassifikasjon_Builder = new Klassifikasjon.Builder>(this, null, false);
this.klassifikasjon.add(klassifikasjon_Builder);
return klassifikasjon_Builder;
}
/**
* Adds the given items to the value of "mappe"
*
* @param mappe
* Items to add to the value of the "mappe" property
*/
public Mappe.Builder<_B> addMappe(final Iterable extends Mappe> mappe) {
if (mappe!= null) {
if (this.mappe == null) {
this.mappe = new ArrayList>>();
}
for (Mappe _item: mappe) {
this.mappe.add(new Mappe.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "mappe" (any previous value will be replaced)
*
* @param mappe
* New value of the "mappe" property.
*/
public Mappe.Builder<_B> withMappe(final Iterable extends Mappe> mappe) {
if (this.mappe!= null) {
this.mappe.clear();
}
return addMappe(mappe);
}
/**
* Adds the given items to the value of "mappe"
*
* @param mappe
* Items to add to the value of the "mappe" property
*/
public Mappe.Builder<_B> addMappe(Mappe... mappe) {
addMappe(Arrays.asList(mappe));
return this;
}
/**
* Sets the new value of "mappe" (any previous value will be replaced)
*
* @param mappe
* New value of the "mappe" property.
*/
public Mappe.Builder<_B> withMappe(Mappe... mappe) {
withMappe(Arrays.asList(mappe));
return this;
}
/**
* Returns a new builder to build an additional value of the "Mappe" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Mappe.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "Mappe" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Mappe.Builder#end()} to return to the current builder.
*/
public Mappe.Builder extends Mappe.Builder<_B>> addMappe() {
if (this.mappe == null) {
this.mappe = new ArrayList>>();
}
final Mappe.Builder> mappe_Builder = new Mappe.Builder>(this, null, false);
this.mappe.add(mappe_Builder);
return mappe_Builder;
}
/**
* Adds the given items to the value of "basisregistrering"
*
* @param basisregistrering
* Items to add to the value of the "basisregistrering" property
*/
public Mappe.Builder<_B> addBasisregistrering(final Iterable extends Basisregistrering> basisregistrering) {
if (basisregistrering!= null) {
if (this.basisregistrering == null) {
this.basisregistrering = new ArrayList>>();
}
for (Basisregistrering _item: basisregistrering) {
this.basisregistrering.add(new Basisregistrering.Builder>(this, _item, false));
}
}
return this;
}
/**
* Sets the new value of "basisregistrering" (any previous value will be replaced)
*
* @param basisregistrering
* New value of the "basisregistrering" property.
*/
public Mappe.Builder<_B> withBasisregistrering(final Iterable extends Basisregistrering> basisregistrering) {
if (this.basisregistrering!= null) {
this.basisregistrering.clear();
}
return addBasisregistrering(basisregistrering);
}
/**
* Adds the given items to the value of "basisregistrering"
*
* @param basisregistrering
* Items to add to the value of the "basisregistrering" property
*/
public Mappe.Builder<_B> addBasisregistrering(Basisregistrering... basisregistrering) {
addBasisregistrering(Arrays.asList(basisregistrering));
return this;
}
/**
* Sets the new value of "basisregistrering" (any previous value will be replaced)
*
* @param basisregistrering
* New value of the "basisregistrering" property.
*/
public Mappe.Builder<_B> withBasisregistrering(Basisregistrering... basisregistrering) {
withBasisregistrering(Arrays.asList(basisregistrering));
return this;
}
/**
* Returns a new builder to build an additional value of the "Basisregistrering" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Basisregistrering.Builder#end()} to return to the current builder.
*
* @return
* a new builder to build an additional value of the "Basisregistrering" property.
* Use {@link no.arkivverket.standarder.noark5.arkivmelding.Basisregistrering.Builder#end()} to return to the current builder.
*/
public Basisregistrering.Builder extends Mappe.Builder<_B>> addBasisregistrering() {
if (this.basisregistrering == null) {
this.basisregistrering = new ArrayList>>();
}
final Basisregistrering.Builder> basisregistrering_Builder = new Basisregistrering.Builder>(this, null, false);
this.basisregistrering.add(basisregistrering_Builder);
return basisregistrering_Builder;
}
@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 com.kscs.util.jaxb.Selector> systemID = null;
private com.kscs.util.jaxb.Selector> mappeID = null;
private com.kscs.util.jaxb.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> noekkelord = null;
private com.kscs.util.jaxb.Selector> dokumentmedium = null;
private com.kscs.util.jaxb.Selector> oppbevaringssted = 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 com.kscs.util.jaxb.Selector> referanseArkivdel = null;
private com.kscs.util.jaxb.Selector> virksomhetsspesifikkeMetadata = null;
private Kryssreferanse.Selector> kryssreferanse = null;
private Merknad.Selector> merknad = null;
private Skjerming.Selector> skjerming = null;
private Gradering.Selector> gradering = null;
private Klassifikasjon.Selector> klassifikasjon = null;
private Mappe.Selector> mappe = null;
private Basisregistrering.Selector> basisregistrering = 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.noekkelord!= null) {
products.put("noekkelord", this.noekkelord.init());
}
if (this.dokumentmedium!= null) {
products.put("dokumentmedium", this.dokumentmedium.init());
}
if (this.oppbevaringssted!= null) {
products.put("oppbevaringssted", this.oppbevaringssted.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.referanseArkivdel!= null) {
products.put("referanseArkivdel", this.referanseArkivdel.init());
}
if (this.virksomhetsspesifikkeMetadata!= null) {
products.put("virksomhetsspesifikkeMetadata", this.virksomhetsspesifikkeMetadata.init());
}
if (this.kryssreferanse!= null) {
products.put("kryssreferanse", this.kryssreferanse.init());
}
if (this.merknad!= null) {
products.put("merknad", this.merknad.init());
}
if (this.skjerming!= null) {
products.put("skjerming", this.skjerming.init());
}
if (this.gradering!= null) {
products.put("gradering", this.gradering.init());
}
if (this.klassifikasjon!= null) {
products.put("klassifikasjon", this.klassifikasjon.init());
}
if (this.mappe!= null) {
products.put("mappe", this.mappe.init());
}
if (this.basisregistrering!= null) {
products.put("basisregistrering", this.basisregistrering.init());
}
return products;
}
public com.kscs.util.jaxb.Selector> systemID() {
return ((this.systemID == null)?this.systemID = new com.kscs.util.jaxb.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 com.kscs.util.jaxb.Selector> referanseForeldermappe() {
return ((this.referanseForeldermappe == null)?this.referanseForeldermappe = new com.kscs.util.jaxb.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> noekkelord() {
return ((this.noekkelord == null)?this.noekkelord = new com.kscs.util.jaxb.Selector>(this._root, this, "noekkelord"):this.noekkelord);
}
public com.kscs.util.jaxb.Selector> dokumentmedium() {
return ((this.dokumentmedium == null)?this.dokumentmedium = new com.kscs.util.jaxb.Selector>(this._root, this, "dokumentmedium"):this.dokumentmedium);
}
public com.kscs.util.jaxb.Selector> oppbevaringssted() {
return ((this.oppbevaringssted == null)?this.oppbevaringssted = new com.kscs.util.jaxb.Selector>(this._root, this, "oppbevaringssted"):this.oppbevaringssted);
}
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 com.kscs.util.jaxb.Selector> referanseArkivdel() {
return ((this.referanseArkivdel == null)?this.referanseArkivdel = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseArkivdel"):this.referanseArkivdel);
}
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 Kryssreferanse.Selector> kryssreferanse() {
return ((this.kryssreferanse == null)?this.kryssreferanse = new Kryssreferanse.Selector>(this._root, this, "kryssreferanse"):this.kryssreferanse);
}
public Merknad.Selector> merknad() {
return ((this.merknad == null)?this.merknad = new Merknad.Selector>(this._root, this, "merknad"):this.merknad);
}
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> klassifikasjon() {
return ((this.klassifikasjon == null)?this.klassifikasjon = new Klassifikasjon.Selector>(this._root, this, "klassifikasjon"):this.klassifikasjon);
}
public Mappe.Selector> mappe() {
return ((this.mappe == null)?this.mappe = new Mappe.Selector>(this._root, this, "mappe"):this.mappe);
}
public Basisregistrering.Selector> basisregistrering() {
return ((this.basisregistrering == null)?this.basisregistrering = new Basisregistrering.Selector>(this._root, this, "basisregistrering"):this.basisregistrering);
}
}
}