no.ks.fiks.arkiv.v1.arkivmelding.oppdater.KorrespondansepartOppdatering Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.6
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.06.23 at 10:32:49 AM CEST
//
package no.ks.fiks.arkiv.v1.arkivmelding.oppdater;
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.XmlType;
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.AdministrativEnhet;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Korrespondanseparttype;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksbehandler;
/**
* Java class for korrespondansepartOppdatering complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="korrespondansepartOppdatering">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="korrespondansepartID" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}korrespondansepartID"/>
* <element name="korrespondanseparttype" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}korrespondanseparttype" minOccurs="0"/>
* <element name="korrespondansepartNavn" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}korrespondansepartNavn" minOccurs="0"/>
* <choice minOccurs="0">
* <element name="organisasjonid" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}organisasjonid" minOccurs="0"/>
* <element name="personid" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}personid" minOccurs="0"/>
* </choice>
* <element name="postadresse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}postadresse" maxOccurs="unbounded" minOccurs="0"/>
* <element name="postnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}postnummer" minOccurs="0"/>
* <element name="poststed" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}poststed" minOccurs="0"/>
* <element name="land" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}land" minOccurs="0"/>
* <element name="epostadresse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}epostadresse" minOccurs="0"/>
* <element name="telefonnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}telefonnummer" maxOccurs="unbounded" minOccurs="0"/>
* <element name="kontaktperson" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}kontaktperson" minOccurs="0"/>
* <element name="administrativEnhet" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}administrativEnhet" minOccurs="0"/>
* <element name="saksbehandler" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksbehandler" minOccurs="0"/>
* <element name="erSkjermet" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}erSkjermet" minOccurs="0"/>
* <element name="erPersonnavn" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}erPersonnavn" minOccurs="0"/>
* <element name="forsendelsesmaate" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}forsendelsesmaate" minOccurs="0"/>
* <element name="deresReferanse" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "korrespondansepartOppdatering", propOrder = {
"korrespondansepartID",
"korrespondanseparttype",
"korrespondansepartNavn",
"personid",
"organisasjonid",
"postadresses",
"postnummer",
"poststed",
"land",
"epostadresse",
"telefonnummers",
"kontaktperson",
"administrativEnhet",
"saksbehandler",
"erSkjermet",
"erPersonnavn",
"forsendelsesmaate",
"deresReferanse"
})
public class KorrespondansepartOppdatering {
@XmlElement(required = true)
protected String korrespondansepartID;
protected Korrespondanseparttype korrespondanseparttype;
protected String korrespondansepartNavn;
protected String personid;
protected String organisasjonid;
@XmlElement(name = "postadresse")
protected List postadresses;
protected String postnummer;
protected String poststed;
protected String land;
protected String epostadresse;
@XmlElement(name = "telefonnummer")
protected List telefonnummers;
protected String kontaktperson;
protected AdministrativEnhet administrativEnhet;
protected Saksbehandler saksbehandler;
protected Boolean erSkjermet;
protected String erPersonnavn;
protected String forsendelsesmaate;
protected String deresReferanse;
/**
* Gets the value of the korrespondansepartID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKorrespondansepartID() {
return korrespondansepartID;
}
/**
* Sets the value of the korrespondansepartID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKorrespondansepartID(String value) {
this.korrespondansepartID = value;
}
/**
* Gets the value of the korrespondanseparttype property.
*
* @return
* possible object is
* {@link Korrespondanseparttype }
*
*/
public Korrespondanseparttype getKorrespondanseparttype() {
return korrespondanseparttype;
}
/**
* Sets the value of the korrespondanseparttype property.
*
* @param value
* allowed object is
* {@link Korrespondanseparttype }
*
*/
public void setKorrespondanseparttype(Korrespondanseparttype value) {
this.korrespondanseparttype = value;
}
/**
* Gets the value of the korrespondansepartNavn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKorrespondansepartNavn() {
return korrespondansepartNavn;
}
/**
* Sets the value of the korrespondansepartNavn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKorrespondansepartNavn(String value) {
this.korrespondansepartNavn = value;
}
/**
* Gets the value of the personid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPersonid() {
return personid;
}
/**
* Sets the value of the personid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPersonid(String value) {
this.personid = value;
}
/**
* Gets the value of the organisasjonid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrganisasjonid() {
return organisasjonid;
}
/**
* Sets the value of the organisasjonid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrganisasjonid(String value) {
this.organisasjonid = value;
}
/**
* Gets the value of the postadresses 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 postadresses property.
*
*
* For example, to add a new item, do as follows:
*
* getPostadresses().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPostadresses() {
if (postadresses == null) {
postadresses = new ArrayList();
}
return this.postadresses;
}
/**
* Gets the value of the postnummer property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPostnummer() {
return postnummer;
}
/**
* Sets the value of the postnummer property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostnummer(String value) {
this.postnummer = value;
}
/**
* Gets the value of the poststed property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPoststed() {
return poststed;
}
/**
* Sets the value of the poststed property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPoststed(String value) {
this.poststed = value;
}
/**
* Gets the value of the land property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLand() {
return land;
}
/**
* Sets the value of the land property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLand(String value) {
this.land = value;
}
/**
* Gets the value of the epostadresse property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEpostadresse() {
return epostadresse;
}
/**
* Sets the value of the epostadresse property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEpostadresse(String value) {
this.epostadresse = value;
}
/**
* Gets the value of the telefonnummers 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 telefonnummers property.
*
*
* For example, to add a new item, do as follows:
*
* getTelefonnummers().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getTelefonnummers() {
if (telefonnummers == null) {
telefonnummers = new ArrayList();
}
return this.telefonnummers;
}
/**
* Gets the value of the kontaktperson property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKontaktperson() {
return kontaktperson;
}
/**
* Sets the value of the kontaktperson property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKontaktperson(String value) {
this.kontaktperson = value;
}
/**
* Gets the value of the administrativEnhet property.
*
* @return
* possible object is
* {@link AdministrativEnhet }
*
*/
public AdministrativEnhet getAdministrativEnhet() {
return administrativEnhet;
}
/**
* Sets the value of the administrativEnhet property.
*
* @param value
* allowed object is
* {@link AdministrativEnhet }
*
*/
public void setAdministrativEnhet(AdministrativEnhet value) {
this.administrativEnhet = value;
}
/**
* Gets the value of the saksbehandler property.
*
* @return
* possible object is
* {@link Saksbehandler }
*
*/
public Saksbehandler getSaksbehandler() {
return saksbehandler;
}
/**
* Sets the value of the saksbehandler property.
*
* @param value
* allowed object is
* {@link Saksbehandler }
*
*/
public void setSaksbehandler(Saksbehandler value) {
this.saksbehandler = value;
}
/**
* Gets the value of the erSkjermet property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isErSkjermet() {
return erSkjermet;
}
/**
* Sets the value of the erSkjermet property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setErSkjermet(Boolean value) {
this.erSkjermet = value;
}
/**
* Gets the value of the erPersonnavn property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErPersonnavn() {
return erPersonnavn;
}
/**
* Sets the value of the erPersonnavn property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErPersonnavn(String value) {
this.erPersonnavn = value;
}
/**
* Gets the value of the forsendelsesmaate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getForsendelsesmaate() {
return forsendelsesmaate;
}
/**
* Sets the value of the forsendelsesmaate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setForsendelsesmaate(String value) {
this.forsendelsesmaate = value;
}
/**
* Gets the value of the deresReferanse property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDeresReferanse() {
return deresReferanse;
}
/**
* Sets the value of the deresReferanse property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDeresReferanse(String value) {
this.deresReferanse = 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 KorrespondansepartOppdatering.Builder<_B> _other) {
_other.korrespondansepartID = this.korrespondansepartID;
_other.korrespondanseparttype = ((this.korrespondanseparttype == null)?null:this.korrespondanseparttype.newCopyBuilder(_other));
_other.korrespondansepartNavn = this.korrespondansepartNavn;
_other.personid = this.personid;
_other.organisasjonid = this.organisasjonid;
if (this.postadresses == null) {
_other.postadresses = null;
} else {
_other.postadresses = new ArrayList();
for (String _item: this.postadresses) {
_other.postadresses.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
_other.postnummer = this.postnummer;
_other.poststed = this.poststed;
_other.land = this.land;
_other.epostadresse = this.epostadresse;
if (this.telefonnummers == null) {
_other.telefonnummers = null;
} else {
_other.telefonnummers = new ArrayList();
for (String _item: this.telefonnummers) {
_other.telefonnummers.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
_other.kontaktperson = this.kontaktperson;
_other.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.newCopyBuilder(_other));
_other.saksbehandler = ((this.saksbehandler == null)?null:this.saksbehandler.newCopyBuilder(_other));
_other.erSkjermet = this.erSkjermet;
_other.erPersonnavn = this.erPersonnavn;
_other.forsendelsesmaate = this.forsendelsesmaate;
_other.deresReferanse = this.deresReferanse;
}
public<_B >KorrespondansepartOppdatering.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new KorrespondansepartOppdatering.Builder<_B>(_parentBuilder, this, true);
}
public KorrespondansepartOppdatering.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static KorrespondansepartOppdatering.Builder builder() {
return new KorrespondansepartOppdatering.Builder(null, null, false);
}
public static<_B >KorrespondansepartOppdatering.Builder<_B> copyOf(final KorrespondansepartOppdatering _other) {
final KorrespondansepartOppdatering.Builder<_B> _newBuilder = new KorrespondansepartOppdatering.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 KorrespondansepartOppdatering.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final PropertyTree korrespondansepartIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("korrespondansepartID"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(korrespondansepartIDPropertyTree!= null):((korrespondansepartIDPropertyTree == null)||(!korrespondansepartIDPropertyTree.isLeaf())))) {
_other.korrespondansepartID = this.korrespondansepartID;
}
final PropertyTree korrespondanseparttypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("korrespondanseparttype"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(korrespondanseparttypePropertyTree!= null):((korrespondanseparttypePropertyTree == null)||(!korrespondanseparttypePropertyTree.isLeaf())))) {
_other.korrespondanseparttype = ((this.korrespondanseparttype == null)?null:this.korrespondanseparttype.newCopyBuilder(_other, korrespondanseparttypePropertyTree, _propertyTreeUse));
}
final PropertyTree korrespondansepartNavnPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("korrespondansepartNavn"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(korrespondansepartNavnPropertyTree!= null):((korrespondansepartNavnPropertyTree == null)||(!korrespondansepartNavnPropertyTree.isLeaf())))) {
_other.korrespondansepartNavn = this.korrespondansepartNavn;
}
final PropertyTree personidPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("personid"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(personidPropertyTree!= null):((personidPropertyTree == null)||(!personidPropertyTree.isLeaf())))) {
_other.personid = this.personid;
}
final PropertyTree organisasjonidPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("organisasjonid"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(organisasjonidPropertyTree!= null):((organisasjonidPropertyTree == null)||(!organisasjonidPropertyTree.isLeaf())))) {
_other.organisasjonid = this.organisasjonid;
}
final PropertyTree postadressesPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("postadresses"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(postadressesPropertyTree!= null):((postadressesPropertyTree == null)||(!postadressesPropertyTree.isLeaf())))) {
if (this.postadresses == null) {
_other.postadresses = null;
} else {
_other.postadresses = new ArrayList();
for (String _item: this.postadresses) {
_other.postadresses.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree postnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("postnummer"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(postnummerPropertyTree!= null):((postnummerPropertyTree == null)||(!postnummerPropertyTree.isLeaf())))) {
_other.postnummer = this.postnummer;
}
final PropertyTree poststedPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("poststed"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(poststedPropertyTree!= null):((poststedPropertyTree == null)||(!poststedPropertyTree.isLeaf())))) {
_other.poststed = this.poststed;
}
final PropertyTree landPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("land"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(landPropertyTree!= null):((landPropertyTree == null)||(!landPropertyTree.isLeaf())))) {
_other.land = this.land;
}
final PropertyTree epostadressePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("epostadresse"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(epostadressePropertyTree!= null):((epostadressePropertyTree == null)||(!epostadressePropertyTree.isLeaf())))) {
_other.epostadresse = this.epostadresse;
}
final PropertyTree telefonnummersPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("telefonnummers"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(telefonnummersPropertyTree!= null):((telefonnummersPropertyTree == null)||(!telefonnummersPropertyTree.isLeaf())))) {
if (this.telefonnummers == null) {
_other.telefonnummers = null;
} else {
_other.telefonnummers = new ArrayList();
for (String _item: this.telefonnummers) {
_other.telefonnummers.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree kontaktpersonPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kontaktperson"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kontaktpersonPropertyTree!= null):((kontaktpersonPropertyTree == null)||(!kontaktpersonPropertyTree.isLeaf())))) {
_other.kontaktperson = this.kontaktperson;
}
final PropertyTree administrativEnhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("administrativEnhet"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(administrativEnhetPropertyTree!= null):((administrativEnhetPropertyTree == null)||(!administrativEnhetPropertyTree.isLeaf())))) {
_other.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.newCopyBuilder(_other, administrativEnhetPropertyTree, _propertyTreeUse));
}
final PropertyTree saksbehandlerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksbehandler"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksbehandlerPropertyTree!= null):((saksbehandlerPropertyTree == null)||(!saksbehandlerPropertyTree.isLeaf())))) {
_other.saksbehandler = ((this.saksbehandler == null)?null:this.saksbehandler.newCopyBuilder(_other, saksbehandlerPropertyTree, _propertyTreeUse));
}
final PropertyTree erSkjermetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("erSkjermet"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(erSkjermetPropertyTree!= null):((erSkjermetPropertyTree == null)||(!erSkjermetPropertyTree.isLeaf())))) {
_other.erSkjermet = this.erSkjermet;
}
final PropertyTree erPersonnavnPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("erPersonnavn"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(erPersonnavnPropertyTree!= null):((erPersonnavnPropertyTree == null)||(!erPersonnavnPropertyTree.isLeaf())))) {
_other.erPersonnavn = this.erPersonnavn;
}
final PropertyTree forsendelsesmaatePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forsendelsesmaate"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forsendelsesmaatePropertyTree!= null):((forsendelsesmaatePropertyTree == null)||(!forsendelsesmaatePropertyTree.isLeaf())))) {
_other.forsendelsesmaate = this.forsendelsesmaate;
}
final PropertyTree deresReferansePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("deresReferanse"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(deresReferansePropertyTree!= null):((deresReferansePropertyTree == null)||(!deresReferansePropertyTree.isLeaf())))) {
_other.deresReferanse = this.deresReferanse;
}
}
public<_B >KorrespondansepartOppdatering.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new KorrespondansepartOppdatering.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
public KorrespondansepartOppdatering.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >KorrespondansepartOppdatering.Builder<_B> copyOf(final KorrespondansepartOppdatering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final KorrespondansepartOppdatering.Builder<_B> _newBuilder = new KorrespondansepartOppdatering.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static KorrespondansepartOppdatering.Builder copyExcept(final KorrespondansepartOppdatering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static KorrespondansepartOppdatering.Builder copyOnly(final KorrespondansepartOppdatering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >implements Buildable
{
protected final _B _parentBuilder;
protected final KorrespondansepartOppdatering _storedValue;
private String korrespondansepartID;
private Korrespondanseparttype.Builder> korrespondanseparttype;
private String korrespondansepartNavn;
private String personid;
private String organisasjonid;
private List postadresses;
private String postnummer;
private String poststed;
private String land;
private String epostadresse;
private List telefonnummers;
private String kontaktperson;
private AdministrativEnhet.Builder> administrativEnhet;
private Saksbehandler.Builder> saksbehandler;
private Boolean erSkjermet;
private String erPersonnavn;
private String forsendelsesmaate;
private String deresReferanse;
public Builder(final _B _parentBuilder, final KorrespondansepartOppdatering _other, final boolean _copy) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
this.korrespondansepartID = _other.korrespondansepartID;
this.korrespondanseparttype = ((_other.korrespondanseparttype == null)?null:_other.korrespondanseparttype.newCopyBuilder(this));
this.korrespondansepartNavn = _other.korrespondansepartNavn;
this.personid = _other.personid;
this.organisasjonid = _other.organisasjonid;
if (_other.postadresses == null) {
this.postadresses = null;
} else {
this.postadresses = new ArrayList();
for (String _item: _other.postadresses) {
this.postadresses.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
this.postnummer = _other.postnummer;
this.poststed = _other.poststed;
this.land = _other.land;
this.epostadresse = _other.epostadresse;
if (_other.telefonnummers == null) {
this.telefonnummers = null;
} else {
this.telefonnummers = new ArrayList();
for (String _item: _other.telefonnummers) {
this.telefonnummers.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
this.kontaktperson = _other.kontaktperson;
this.administrativEnhet = ((_other.administrativEnhet == null)?null:_other.administrativEnhet.newCopyBuilder(this));
this.saksbehandler = ((_other.saksbehandler == null)?null:_other.saksbehandler.newCopyBuilder(this));
this.erSkjermet = _other.erSkjermet;
this.erPersonnavn = _other.erPersonnavn;
this.forsendelsesmaate = _other.forsendelsesmaate;
this.deresReferanse = _other.deresReferanse;
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public Builder(final _B _parentBuilder, final KorrespondansepartOppdatering _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
final PropertyTree korrespondansepartIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("korrespondansepartID"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(korrespondansepartIDPropertyTree!= null):((korrespondansepartIDPropertyTree == null)||(!korrespondansepartIDPropertyTree.isLeaf())))) {
this.korrespondansepartID = _other.korrespondansepartID;
}
final PropertyTree korrespondanseparttypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("korrespondanseparttype"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(korrespondanseparttypePropertyTree!= null):((korrespondanseparttypePropertyTree == null)||(!korrespondanseparttypePropertyTree.isLeaf())))) {
this.korrespondanseparttype = ((_other.korrespondanseparttype == null)?null:_other.korrespondanseparttype.newCopyBuilder(this, korrespondanseparttypePropertyTree, _propertyTreeUse));
}
final PropertyTree korrespondansepartNavnPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("korrespondansepartNavn"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(korrespondansepartNavnPropertyTree!= null):((korrespondansepartNavnPropertyTree == null)||(!korrespondansepartNavnPropertyTree.isLeaf())))) {
this.korrespondansepartNavn = _other.korrespondansepartNavn;
}
final PropertyTree personidPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("personid"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(personidPropertyTree!= null):((personidPropertyTree == null)||(!personidPropertyTree.isLeaf())))) {
this.personid = _other.personid;
}
final PropertyTree organisasjonidPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("organisasjonid"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(organisasjonidPropertyTree!= null):((organisasjonidPropertyTree == null)||(!organisasjonidPropertyTree.isLeaf())))) {
this.organisasjonid = _other.organisasjonid;
}
final PropertyTree postadressesPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("postadresses"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(postadressesPropertyTree!= null):((postadressesPropertyTree == null)||(!postadressesPropertyTree.isLeaf())))) {
if (_other.postadresses == null) {
this.postadresses = null;
} else {
this.postadresses = new ArrayList();
for (String _item: _other.postadresses) {
this.postadresses.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree postnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("postnummer"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(postnummerPropertyTree!= null):((postnummerPropertyTree == null)||(!postnummerPropertyTree.isLeaf())))) {
this.postnummer = _other.postnummer;
}
final PropertyTree poststedPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("poststed"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(poststedPropertyTree!= null):((poststedPropertyTree == null)||(!poststedPropertyTree.isLeaf())))) {
this.poststed = _other.poststed;
}
final PropertyTree landPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("land"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(landPropertyTree!= null):((landPropertyTree == null)||(!landPropertyTree.isLeaf())))) {
this.land = _other.land;
}
final PropertyTree epostadressePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("epostadresse"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(epostadressePropertyTree!= null):((epostadressePropertyTree == null)||(!epostadressePropertyTree.isLeaf())))) {
this.epostadresse = _other.epostadresse;
}
final PropertyTree telefonnummersPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("telefonnummers"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(telefonnummersPropertyTree!= null):((telefonnummersPropertyTree == null)||(!telefonnummersPropertyTree.isLeaf())))) {
if (_other.telefonnummers == null) {
this.telefonnummers = null;
} else {
this.telefonnummers = new ArrayList();
for (String _item: _other.telefonnummers) {
this.telefonnummers.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree kontaktpersonPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kontaktperson"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kontaktpersonPropertyTree!= null):((kontaktpersonPropertyTree == null)||(!kontaktpersonPropertyTree.isLeaf())))) {
this.kontaktperson = _other.kontaktperson;
}
final PropertyTree administrativEnhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("administrativEnhet"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(administrativEnhetPropertyTree!= null):((administrativEnhetPropertyTree == null)||(!administrativEnhetPropertyTree.isLeaf())))) {
this.administrativEnhet = ((_other.administrativEnhet == null)?null:_other.administrativEnhet.newCopyBuilder(this, administrativEnhetPropertyTree, _propertyTreeUse));
}
final PropertyTree saksbehandlerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksbehandler"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksbehandlerPropertyTree!= null):((saksbehandlerPropertyTree == null)||(!saksbehandlerPropertyTree.isLeaf())))) {
this.saksbehandler = ((_other.saksbehandler == null)?null:_other.saksbehandler.newCopyBuilder(this, saksbehandlerPropertyTree, _propertyTreeUse));
}
final PropertyTree erSkjermetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("erSkjermet"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(erSkjermetPropertyTree!= null):((erSkjermetPropertyTree == null)||(!erSkjermetPropertyTree.isLeaf())))) {
this.erSkjermet = _other.erSkjermet;
}
final PropertyTree erPersonnavnPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("erPersonnavn"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(erPersonnavnPropertyTree!= null):((erPersonnavnPropertyTree == null)||(!erPersonnavnPropertyTree.isLeaf())))) {
this.erPersonnavn = _other.erPersonnavn;
}
final PropertyTree forsendelsesmaatePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("forsendelsesmaate"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(forsendelsesmaatePropertyTree!= null):((forsendelsesmaatePropertyTree == null)||(!forsendelsesmaatePropertyTree.isLeaf())))) {
this.forsendelsesmaate = _other.forsendelsesmaate;
}
final PropertyTree deresReferansePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("deresReferanse"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(deresReferansePropertyTree!= null):((deresReferansePropertyTree == null)||(!deresReferansePropertyTree.isLeaf())))) {
this.deresReferanse = _other.deresReferanse;
}
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public _B end() {
return this._parentBuilder;
}
protected<_P extends KorrespondansepartOppdatering >_P init(final _P _product) {
_product.korrespondansepartID = this.korrespondansepartID;
_product.korrespondanseparttype = ((this.korrespondanseparttype == null)?null:this.korrespondanseparttype.build());
_product.korrespondansepartNavn = this.korrespondansepartNavn;
_product.personid = this.personid;
_product.organisasjonid = this.organisasjonid;
if (this.postadresses!= null) {
final List postadresses = new ArrayList(this.postadresses.size());
for (Buildable _item: this.postadresses) {
postadresses.add(((String) _item.build()));
}
_product.postadresses = postadresses;
}
_product.postnummer = this.postnummer;
_product.poststed = this.poststed;
_product.land = this.land;
_product.epostadresse = this.epostadresse;
if (this.telefonnummers!= null) {
final List telefonnummers = new ArrayList(this.telefonnummers.size());
for (Buildable _item: this.telefonnummers) {
telefonnummers.add(((String) _item.build()));
}
_product.telefonnummers = telefonnummers;
}
_product.kontaktperson = this.kontaktperson;
_product.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.build());
_product.saksbehandler = ((this.saksbehandler == null)?null:this.saksbehandler.build());
_product.erSkjermet = this.erSkjermet;
_product.erPersonnavn = this.erPersonnavn;
_product.forsendelsesmaate = this.forsendelsesmaate;
_product.deresReferanse = this.deresReferanse;
return _product;
}
/**
* Sets the new value of "korrespondansepartID" (any previous value will be
* replaced)
*
* @param korrespondansepartID
* New value of the "korrespondansepartID" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withKorrespondansepartID(final String korrespondansepartID) {
this.korrespondansepartID = korrespondansepartID;
return this;
}
/**
* Sets the new value of "korrespondanseparttype" (any previous value will be
* replaced)
*
* @param korrespondanseparttype
* New value of the "korrespondanseparttype" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withKorrespondanseparttype(final Korrespondanseparttype korrespondanseparttype) {
this.korrespondanseparttype = ((korrespondanseparttype == null)?null:new Korrespondanseparttype.Builder>(this, korrespondanseparttype, false));
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "korrespondanseparttype" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Korrespondanseparttype.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "korrespondanseparttype" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Korrespondanseparttype.Builder#end()}
* to return to the current builder.
*/
public Korrespondanseparttype.Builder extends KorrespondansepartOppdatering.Builder<_B>> withKorrespondanseparttype() {
if (this.korrespondanseparttype!= null) {
return this.korrespondanseparttype;
}
return this.korrespondanseparttype = new Korrespondanseparttype.Builder>(this, null, false);
}
/**
* Sets the new value of "korrespondansepartNavn" (any previous value will be
* replaced)
*
* @param korrespondansepartNavn
* New value of the "korrespondansepartNavn" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withKorrespondansepartNavn(final String korrespondansepartNavn) {
this.korrespondansepartNavn = korrespondansepartNavn;
return this;
}
/**
* Sets the new value of "personid" (any previous value will be replaced)
*
* @param personid
* New value of the "personid" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withPersonid(final String personid) {
this.personid = personid;
return this;
}
/**
* Sets the new value of "organisasjonid" (any previous value will be replaced)
*
* @param organisasjonid
* New value of the "organisasjonid" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withOrganisasjonid(final String organisasjonid) {
this.organisasjonid = organisasjonid;
return this;
}
/**
* Adds the given items to the value of "postadresses"
*
* @param postadresses
* Items to add to the value of the "postadresses" property
*/
public KorrespondansepartOppdatering.Builder<_B> addPostadresses(final Iterable extends String> postadresses) {
if (postadresses!= null) {
if (this.postadresses == null) {
this.postadresses = new ArrayList();
}
for (String _item: postadresses) {
this.postadresses.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "postadresses" (any previous value will be replaced)
*
* @param postadresses
* New value of the "postadresses" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withPostadresses(final Iterable extends String> postadresses) {
if (this.postadresses!= null) {
this.postadresses.clear();
}
return addPostadresses(postadresses);
}
/**
* Adds the given items to the value of "postadresses"
*
* @param postadresses
* Items to add to the value of the "postadresses" property
*/
public KorrespondansepartOppdatering.Builder<_B> addPostadresses(String... postadresses) {
addPostadresses(Arrays.asList(postadresses));
return this;
}
/**
* Sets the new value of "postadresses" (any previous value will be replaced)
*
* @param postadresses
* New value of the "postadresses" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withPostadresses(String... postadresses) {
withPostadresses(Arrays.asList(postadresses));
return this;
}
/**
* Sets the new value of "postnummer" (any previous value will be replaced)
*
* @param postnummer
* New value of the "postnummer" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withPostnummer(final String postnummer) {
this.postnummer = postnummer;
return this;
}
/**
* Sets the new value of "poststed" (any previous value will be replaced)
*
* @param poststed
* New value of the "poststed" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withPoststed(final String poststed) {
this.poststed = poststed;
return this;
}
/**
* Sets the new value of "land" (any previous value will be replaced)
*
* @param land
* New value of the "land" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withLand(final String land) {
this.land = land;
return this;
}
/**
* Sets the new value of "epostadresse" (any previous value will be replaced)
*
* @param epostadresse
* New value of the "epostadresse" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withEpostadresse(final String epostadresse) {
this.epostadresse = epostadresse;
return this;
}
/**
* Adds the given items to the value of "telefonnummers"
*
* @param telefonnummers
* Items to add to the value of the "telefonnummers" property
*/
public KorrespondansepartOppdatering.Builder<_B> addTelefonnummers(final Iterable extends String> telefonnummers) {
if (telefonnummers!= null) {
if (this.telefonnummers == null) {
this.telefonnummers = new ArrayList();
}
for (String _item: telefonnummers) {
this.telefonnummers.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "telefonnummers" (any previous value will be replaced)
*
* @param telefonnummers
* New value of the "telefonnummers" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withTelefonnummers(final Iterable extends String> telefonnummers) {
if (this.telefonnummers!= null) {
this.telefonnummers.clear();
}
return addTelefonnummers(telefonnummers);
}
/**
* Adds the given items to the value of "telefonnummers"
*
* @param telefonnummers
* Items to add to the value of the "telefonnummers" property
*/
public KorrespondansepartOppdatering.Builder<_B> addTelefonnummers(String... telefonnummers) {
addTelefonnummers(Arrays.asList(telefonnummers));
return this;
}
/**
* Sets the new value of "telefonnummers" (any previous value will be replaced)
*
* @param telefonnummers
* New value of the "telefonnummers" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withTelefonnummers(String... telefonnummers) {
withTelefonnummers(Arrays.asList(telefonnummers));
return this;
}
/**
* Sets the new value of "kontaktperson" (any previous value will be replaced)
*
* @param kontaktperson
* New value of the "kontaktperson" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withKontaktperson(final String kontaktperson) {
this.kontaktperson = kontaktperson;
return this;
}
/**
* Sets the new value of "administrativEnhet" (any previous value will be replaced)
*
* @param administrativEnhet
* New value of the "administrativEnhet" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withAdministrativEnhet(final AdministrativEnhet administrativEnhet) {
this.administrativEnhet = ((administrativEnhet == null)?null:new AdministrativEnhet.Builder>(this, administrativEnhet, false));
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "administrativEnhet" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.AdministrativEnhet.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "administrativEnhet" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.AdministrativEnhet.Builder#end()}
* to return to the current builder.
*/
public AdministrativEnhet.Builder extends KorrespondansepartOppdatering.Builder<_B>> withAdministrativEnhet() {
if (this.administrativEnhet!= null) {
return this.administrativEnhet;
}
return this.administrativEnhet = new AdministrativEnhet.Builder>(this, null, false);
}
/**
* Sets the new value of "saksbehandler" (any previous value will be replaced)
*
* @param saksbehandler
* New value of the "saksbehandler" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withSaksbehandler(final Saksbehandler saksbehandler) {
this.saksbehandler = ((saksbehandler == null)?null:new Saksbehandler.Builder>(this, saksbehandler, false));
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "saksbehandler" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksbehandler.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "saksbehandler" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksbehandler.Builder#end()}
* to return to the current builder.
*/
public Saksbehandler.Builder extends KorrespondansepartOppdatering.Builder<_B>> withSaksbehandler() {
if (this.saksbehandler!= null) {
return this.saksbehandler;
}
return this.saksbehandler = new Saksbehandler.Builder>(this, null, false);
}
/**
* Sets the new value of "erSkjermet" (any previous value will be replaced)
*
* @param erSkjermet
* New value of the "erSkjermet" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withErSkjermet(final Boolean erSkjermet) {
this.erSkjermet = erSkjermet;
return this;
}
/**
* Sets the new value of "erPersonnavn" (any previous value will be replaced)
*
* @param erPersonnavn
* New value of the "erPersonnavn" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withErPersonnavn(final String erPersonnavn) {
this.erPersonnavn = erPersonnavn;
return this;
}
/**
* Sets the new value of "forsendelsesmaate" (any previous value will be replaced)
*
* @param forsendelsesmaate
* New value of the "forsendelsesmaate" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withForsendelsesmaate(final String forsendelsesmaate) {
this.forsendelsesmaate = forsendelsesmaate;
return this;
}
/**
* Sets the new value of "deresReferanse" (any previous value will be replaced)
*
* @param deresReferanse
* New value of the "deresReferanse" property.
*/
public KorrespondansepartOppdatering.Builder<_B> withDeresReferanse(final String deresReferanse) {
this.deresReferanse = deresReferanse;
return this;
}
@Override
public KorrespondansepartOppdatering build() {
if (_storedValue == null) {
return this.init(new KorrespondansepartOppdatering());
} else {
return ((KorrespondansepartOppdatering) _storedValue);
}
}
public KorrespondansepartOppdatering.Builder<_B> copyOf(final KorrespondansepartOppdatering _other) {
_other.copyTo(this);
return this;
}
public KorrespondansepartOppdatering.Builder<_B> copyOf(final KorrespondansepartOppdatering.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends KorrespondansepartOppdatering.Selector
{
Select() {
super(null, null, null);
}
public static KorrespondansepartOppdatering.Select _root() {
return new KorrespondansepartOppdatering.Select();
}
}
public static class Selector , TParent >
extends com.kscs.util.jaxb.Selector
{
private com.kscs.util.jaxb.Selector> korrespondansepartID = null;
private Korrespondanseparttype.Selector> korrespondanseparttype = null;
private com.kscs.util.jaxb.Selector> korrespondansepartNavn = null;
private com.kscs.util.jaxb.Selector> personid = null;
private com.kscs.util.jaxb.Selector> organisasjonid = null;
private com.kscs.util.jaxb.Selector> postadresses = null;
private com.kscs.util.jaxb.Selector> postnummer = null;
private com.kscs.util.jaxb.Selector> poststed = null;
private com.kscs.util.jaxb.Selector> land = null;
private com.kscs.util.jaxb.Selector> epostadresse = null;
private com.kscs.util.jaxb.Selector> telefonnummers = null;
private com.kscs.util.jaxb.Selector> kontaktperson = null;
private AdministrativEnhet.Selector> administrativEnhet = null;
private Saksbehandler.Selector> saksbehandler = null;
private com.kscs.util.jaxb.Selector> erSkjermet = null;
private com.kscs.util.jaxb.Selector> erPersonnavn = null;
private com.kscs.util.jaxb.Selector> forsendelsesmaate = null;
private com.kscs.util.jaxb.Selector> deresReferanse = 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.korrespondansepartID!= null) {
products.put("korrespondansepartID", this.korrespondansepartID.init());
}
if (this.korrespondanseparttype!= null) {
products.put("korrespondanseparttype", this.korrespondanseparttype.init());
}
if (this.korrespondansepartNavn!= null) {
products.put("korrespondansepartNavn", this.korrespondansepartNavn.init());
}
if (this.personid!= null) {
products.put("personid", this.personid.init());
}
if (this.organisasjonid!= null) {
products.put("organisasjonid", this.organisasjonid.init());
}
if (this.postadresses!= null) {
products.put("postadresses", this.postadresses.init());
}
if (this.postnummer!= null) {
products.put("postnummer", this.postnummer.init());
}
if (this.poststed!= null) {
products.put("poststed", this.poststed.init());
}
if (this.land!= null) {
products.put("land", this.land.init());
}
if (this.epostadresse!= null) {
products.put("epostadresse", this.epostadresse.init());
}
if (this.telefonnummers!= null) {
products.put("telefonnummers", this.telefonnummers.init());
}
if (this.kontaktperson!= null) {
products.put("kontaktperson", this.kontaktperson.init());
}
if (this.administrativEnhet!= null) {
products.put("administrativEnhet", this.administrativEnhet.init());
}
if (this.saksbehandler!= null) {
products.put("saksbehandler", this.saksbehandler.init());
}
if (this.erSkjermet!= null) {
products.put("erSkjermet", this.erSkjermet.init());
}
if (this.erPersonnavn!= null) {
products.put("erPersonnavn", this.erPersonnavn.init());
}
if (this.forsendelsesmaate!= null) {
products.put("forsendelsesmaate", this.forsendelsesmaate.init());
}
if (this.deresReferanse!= null) {
products.put("deresReferanse", this.deresReferanse.init());
}
return products;
}
public com.kscs.util.jaxb.Selector> korrespondansepartID() {
return ((this.korrespondansepartID == null)?this.korrespondansepartID = new com.kscs.util.jaxb.Selector>(this._root, this, "korrespondansepartID"):this.korrespondansepartID);
}
public Korrespondanseparttype.Selector> korrespondanseparttype() {
return ((this.korrespondanseparttype == null)?this.korrespondanseparttype = new Korrespondanseparttype.Selector>(this._root, this, "korrespondanseparttype"):this.korrespondanseparttype);
}
public com.kscs.util.jaxb.Selector> korrespondansepartNavn() {
return ((this.korrespondansepartNavn == null)?this.korrespondansepartNavn = new com.kscs.util.jaxb.Selector>(this._root, this, "korrespondansepartNavn"):this.korrespondansepartNavn);
}
public com.kscs.util.jaxb.Selector> personid() {
return ((this.personid == null)?this.personid = new com.kscs.util.jaxb.Selector>(this._root, this, "personid"):this.personid);
}
public com.kscs.util.jaxb.Selector> organisasjonid() {
return ((this.organisasjonid == null)?this.organisasjonid = new com.kscs.util.jaxb.Selector>(this._root, this, "organisasjonid"):this.organisasjonid);
}
public com.kscs.util.jaxb.Selector> postadresses() {
return ((this.postadresses == null)?this.postadresses = new com.kscs.util.jaxb.Selector>(this._root, this, "postadresses"):this.postadresses);
}
public com.kscs.util.jaxb.Selector> postnummer() {
return ((this.postnummer == null)?this.postnummer = new com.kscs.util.jaxb.Selector>(this._root, this, "postnummer"):this.postnummer);
}
public com.kscs.util.jaxb.Selector> poststed() {
return ((this.poststed == null)?this.poststed = new com.kscs.util.jaxb.Selector>(this._root, this, "poststed"):this.poststed);
}
public com.kscs.util.jaxb.Selector> land() {
return ((this.land == null)?this.land = new com.kscs.util.jaxb.Selector>(this._root, this, "land"):this.land);
}
public com.kscs.util.jaxb.Selector> epostadresse() {
return ((this.epostadresse == null)?this.epostadresse = new com.kscs.util.jaxb.Selector>(this._root, this, "epostadresse"):this.epostadresse);
}
public com.kscs.util.jaxb.Selector> telefonnummers() {
return ((this.telefonnummers == null)?this.telefonnummers = new com.kscs.util.jaxb.Selector>(this._root, this, "telefonnummers"):this.telefonnummers);
}
public com.kscs.util.jaxb.Selector> kontaktperson() {
return ((this.kontaktperson == null)?this.kontaktperson = new com.kscs.util.jaxb.Selector>(this._root, this, "kontaktperson"):this.kontaktperson);
}
public AdministrativEnhet.Selector> administrativEnhet() {
return ((this.administrativEnhet == null)?this.administrativEnhet = new AdministrativEnhet.Selector>(this._root, this, "administrativEnhet"):this.administrativEnhet);
}
public Saksbehandler.Selector> saksbehandler() {
return ((this.saksbehandler == null)?this.saksbehandler = new Saksbehandler.Selector>(this._root, this, "saksbehandler"):this.saksbehandler);
}
public com.kscs.util.jaxb.Selector> erSkjermet() {
return ((this.erSkjermet == null)?this.erSkjermet = new com.kscs.util.jaxb.Selector>(this._root, this, "erSkjermet"):this.erSkjermet);
}
public com.kscs.util.jaxb.Selector> erPersonnavn() {
return ((this.erPersonnavn == null)?this.erPersonnavn = new com.kscs.util.jaxb.Selector>(this._root, this, "erPersonnavn"):this.erPersonnavn);
}
public com.kscs.util.jaxb.Selector> forsendelsesmaate() {
return ((this.forsendelsesmaate == null)?this.forsendelsesmaate = new com.kscs.util.jaxb.Selector>(this._root, this, "forsendelsesmaate"):this.forsendelsesmaate);
}
public com.kscs.util.jaxb.Selector> deresReferanse() {
return ((this.deresReferanse == null)?this.deresReferanse = new com.kscs.util.jaxb.Selector>(this._root, this, "deresReferanse"):this.deresReferanse);
}
}
}