no.ks.fiks.arkiv.v1.arkivstruktur.Moeteregistrering Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.6
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.06.23 at 10:32:49 AM CEST
//
package no.ks.fiks.arkiv.v1.arkivstruktur;
import java.time.ZonedDateTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.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.Dokumentmedium;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Moeteregistreringsstatus;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Moeteregistreringstype;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Moetesakstype;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksbehandler;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;
/**
* Java class for moeteregistrering complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="moeteregistrering">
* <complexContent>
* <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}registrering">
* <sequence>
* <element name="moeteregistreringstype" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}moeteregistreringstype"/>
* <element name="moetesakstype" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}moetesakstype" minOccurs="0"/>
* <element name="moeteregistreringsstatus" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}moeteregistreringsstatus" minOccurs="0"/>
* <element name="administrativEnhet" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}administrativEnhet"/>
* <element name="saksbehandler" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksbehandler"/>
* <element name="referanseTilMoeteregistrering" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseTilMoeteregistrering" maxOccurs="unbounded" minOccurs="0"/>
* <element name="referanseFraMoeteregistrering" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseFraMoeteregistrering" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "moeteregistrering", propOrder = {
"moeteregistreringstype",
"moetesakstype",
"moeteregistreringsstatus",
"administrativEnhet",
"saksbehandler",
"referanseTilMoeteregistrerings",
"referanseFraMoeteregistrerings"
})
public class Moeteregistrering
extends Registrering
{
@XmlElement(required = true)
protected Moeteregistreringstype moeteregistreringstype;
protected Moetesakstype moetesakstype;
protected Moeteregistreringsstatus moeteregistreringsstatus;
@XmlElement(required = true)
protected AdministrativEnhet administrativEnhet;
@XmlElement(required = true)
protected Saksbehandler saksbehandler;
@XmlElement(name = "referanseTilMoeteregistrering")
protected List referanseTilMoeteregistrerings;
@XmlElement(name = "referanseFraMoeteregistrering")
protected List referanseFraMoeteregistrerings;
/**
* Gets the value of the moeteregistreringstype property.
*
* @return
* possible object is
* {@link Moeteregistreringstype }
*
*/
public Moeteregistreringstype getMoeteregistreringstype() {
return moeteregistreringstype;
}
/**
* Sets the value of the moeteregistreringstype property.
*
* @param value
* allowed object is
* {@link Moeteregistreringstype }
*
*/
public void setMoeteregistreringstype(Moeteregistreringstype value) {
this.moeteregistreringstype = value;
}
/**
* Gets the value of the moetesakstype property.
*
* @return
* possible object is
* {@link Moetesakstype }
*
*/
public Moetesakstype getMoetesakstype() {
return moetesakstype;
}
/**
* Sets the value of the moetesakstype property.
*
* @param value
* allowed object is
* {@link Moetesakstype }
*
*/
public void setMoetesakstype(Moetesakstype value) {
this.moetesakstype = value;
}
/**
* Gets the value of the moeteregistreringsstatus property.
*
* @return
* possible object is
* {@link Moeteregistreringsstatus }
*
*/
public Moeteregistreringsstatus getMoeteregistreringsstatus() {
return moeteregistreringsstatus;
}
/**
* Sets the value of the moeteregistreringsstatus property.
*
* @param value
* allowed object is
* {@link Moeteregistreringsstatus }
*
*/
public void setMoeteregistreringsstatus(Moeteregistreringsstatus value) {
this.moeteregistreringsstatus = 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 referanseTilMoeteregistrerings 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 referanseTilMoeteregistrerings property.
*
*
* For example, to add a new item, do as follows:
*
* getReferanseTilMoeteregistrerings().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getReferanseTilMoeteregistrerings() {
if (referanseTilMoeteregistrerings == null) {
referanseTilMoeteregistrerings = new ArrayList();
}
return this.referanseTilMoeteregistrerings;
}
/**
* Gets the value of the referanseFraMoeteregistrerings 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 referanseFraMoeteregistrerings property.
*
*
* For example, to add a new item, do as follows:
*
* getReferanseFraMoeteregistrerings().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getReferanseFraMoeteregistrerings() {
if (referanseFraMoeteregistrerings == null) {
referanseFraMoeteregistrerings = new ArrayList();
}
return this.referanseFraMoeteregistrerings;
}
/**
* 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 Moeteregistrering.Builder<_B> _other) {
super.copyTo(_other);
_other.moeteregistreringstype = ((this.moeteregistreringstype == null)?null:this.moeteregistreringstype.newCopyBuilder(_other));
_other.moetesakstype = ((this.moetesakstype == null)?null:this.moetesakstype.newCopyBuilder(_other));
_other.moeteregistreringsstatus = ((this.moeteregistreringsstatus == null)?null:this.moeteregistreringsstatus.newCopyBuilder(_other));
_other.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.newCopyBuilder(_other));
_other.saksbehandler = ((this.saksbehandler == null)?null:this.saksbehandler.newCopyBuilder(_other));
if (this.referanseTilMoeteregistrerings == null) {
_other.referanseTilMoeteregistrerings = null;
} else {
_other.referanseTilMoeteregistrerings = new ArrayList();
for (String _item: this.referanseTilMoeteregistrerings) {
_other.referanseTilMoeteregistrerings.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
if (this.referanseFraMoeteregistrerings == null) {
_other.referanseFraMoeteregistrerings = null;
} else {
_other.referanseFraMoeteregistrerings = new ArrayList();
for (String _item: this.referanseFraMoeteregistrerings) {
_other.referanseFraMoeteregistrerings.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
@Override
public<_B >Moeteregistrering.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new Moeteregistrering.Builder<_B>(_parentBuilder, this, true);
}
@Override
public Moeteregistrering.Builder newCopyBuilder() {
return newCopyBuilder(null);
}
public static Moeteregistrering.Builder builder() {
return new Moeteregistrering.Builder(null, null, false);
}
public static<_B >Moeteregistrering.Builder<_B> copyOf(final Registrering _other) {
final Moeteregistrering.Builder<_B> _newBuilder = new Moeteregistrering.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder);
return _newBuilder;
}
public static<_B >Moeteregistrering.Builder<_B> copyOf(final Moeteregistrering _other) {
final Moeteregistrering.Builder<_B> _newBuilder = new Moeteregistrering.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 Moeteregistrering.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super.copyTo(_other, _propertyTree, _propertyTreeUse);
final PropertyTree moeteregistreringstypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moeteregistreringstype"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moeteregistreringstypePropertyTree!= null):((moeteregistreringstypePropertyTree == null)||(!moeteregistreringstypePropertyTree.isLeaf())))) {
_other.moeteregistreringstype = ((this.moeteregistreringstype == null)?null:this.moeteregistreringstype.newCopyBuilder(_other, moeteregistreringstypePropertyTree, _propertyTreeUse));
}
final PropertyTree moetesakstypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetesakstype"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetesakstypePropertyTree!= null):((moetesakstypePropertyTree == null)||(!moetesakstypePropertyTree.isLeaf())))) {
_other.moetesakstype = ((this.moetesakstype == null)?null:this.moetesakstype.newCopyBuilder(_other, moetesakstypePropertyTree, _propertyTreeUse));
}
final PropertyTree moeteregistreringsstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moeteregistreringsstatus"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moeteregistreringsstatusPropertyTree!= null):((moeteregistreringsstatusPropertyTree == null)||(!moeteregistreringsstatusPropertyTree.isLeaf())))) {
_other.moeteregistreringsstatus = ((this.moeteregistreringsstatus == null)?null:this.moeteregistreringsstatus.newCopyBuilder(_other, moeteregistreringsstatusPropertyTree, _propertyTreeUse));
}
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 referanseTilMoeteregistreringsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilMoeteregistrerings"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilMoeteregistreringsPropertyTree!= null):((referanseTilMoeteregistreringsPropertyTree == null)||(!referanseTilMoeteregistreringsPropertyTree.isLeaf())))) {
if (this.referanseTilMoeteregistrerings == null) {
_other.referanseTilMoeteregistrerings = null;
} else {
_other.referanseTilMoeteregistrerings = new ArrayList();
for (String _item: this.referanseTilMoeteregistrerings) {
_other.referanseTilMoeteregistrerings.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree referanseFraMoeteregistreringsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseFraMoeteregistrerings"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseFraMoeteregistreringsPropertyTree!= null):((referanseFraMoeteregistreringsPropertyTree == null)||(!referanseFraMoeteregistreringsPropertyTree.isLeaf())))) {
if (this.referanseFraMoeteregistrerings == null) {
_other.referanseFraMoeteregistrerings = null;
} else {
_other.referanseFraMoeteregistrerings = new ArrayList();
for (String _item: this.referanseFraMoeteregistrerings) {
_other.referanseFraMoeteregistrerings.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
}
@Override
public<_B >Moeteregistrering.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new Moeteregistrering.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
@Override
public Moeteregistrering.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >Moeteregistrering.Builder<_B> copyOf(final Registrering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final Moeteregistrering.Builder<_B> _newBuilder = new Moeteregistrering.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static<_B >Moeteregistrering.Builder<_B> copyOf(final Moeteregistrering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final Moeteregistrering.Builder<_B> _newBuilder = new Moeteregistrering.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static Moeteregistrering.Builder copyExcept(final Registrering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static Moeteregistrering.Builder copyExcept(final Moeteregistrering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static Moeteregistrering.Builder copyOnly(final Registrering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static Moeteregistrering.Builder copyOnly(final Moeteregistrering _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >
extends Registrering.Builder<_B>
implements Buildable
{
private Moeteregistreringstype.Builder> moeteregistreringstype;
private Moetesakstype.Builder> moetesakstype;
private Moeteregistreringsstatus.Builder> moeteregistreringsstatus;
private AdministrativEnhet.Builder> administrativEnhet;
private Saksbehandler.Builder> saksbehandler;
private List referanseTilMoeteregistrerings;
private List referanseFraMoeteregistrerings;
public Builder(final _B _parentBuilder, final Moeteregistrering _other, final boolean _copy) {
super(_parentBuilder, _other, _copy);
if (_other!= null) {
this.moeteregistreringstype = ((_other.moeteregistreringstype == null)?null:_other.moeteregistreringstype.newCopyBuilder(this));
this.moetesakstype = ((_other.moetesakstype == null)?null:_other.moetesakstype.newCopyBuilder(this));
this.moeteregistreringsstatus = ((_other.moeteregistreringsstatus == null)?null:_other.moeteregistreringsstatus.newCopyBuilder(this));
this.administrativEnhet = ((_other.administrativEnhet == null)?null:_other.administrativEnhet.newCopyBuilder(this));
this.saksbehandler = ((_other.saksbehandler == null)?null:_other.saksbehandler.newCopyBuilder(this));
if (_other.referanseTilMoeteregistrerings == null) {
this.referanseTilMoeteregistrerings = null;
} else {
this.referanseTilMoeteregistrerings = new ArrayList();
for (String _item: _other.referanseTilMoeteregistrerings) {
this.referanseTilMoeteregistrerings.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
if (_other.referanseFraMoeteregistrerings == null) {
this.referanseFraMoeteregistrerings = null;
} else {
this.referanseFraMoeteregistrerings = new ArrayList();
for (String _item: _other.referanseFraMoeteregistrerings) {
this.referanseFraMoeteregistrerings.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
}
public Builder(final _B _parentBuilder, final Moeteregistrering _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse);
if (_other!= null) {
final PropertyTree moeteregistreringstypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moeteregistreringstype"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moeteregistreringstypePropertyTree!= null):((moeteregistreringstypePropertyTree == null)||(!moeteregistreringstypePropertyTree.isLeaf())))) {
this.moeteregistreringstype = ((_other.moeteregistreringstype == null)?null:_other.moeteregistreringstype.newCopyBuilder(this, moeteregistreringstypePropertyTree, _propertyTreeUse));
}
final PropertyTree moetesakstypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetesakstype"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetesakstypePropertyTree!= null):((moetesakstypePropertyTree == null)||(!moetesakstypePropertyTree.isLeaf())))) {
this.moetesakstype = ((_other.moetesakstype == null)?null:_other.moetesakstype.newCopyBuilder(this, moetesakstypePropertyTree, _propertyTreeUse));
}
final PropertyTree moeteregistreringsstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moeteregistreringsstatus"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moeteregistreringsstatusPropertyTree!= null):((moeteregistreringsstatusPropertyTree == null)||(!moeteregistreringsstatusPropertyTree.isLeaf())))) {
this.moeteregistreringsstatus = ((_other.moeteregistreringsstatus == null)?null:_other.moeteregistreringsstatus.newCopyBuilder(this, moeteregistreringsstatusPropertyTree, _propertyTreeUse));
}
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 referanseTilMoeteregistreringsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilMoeteregistrerings"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilMoeteregistreringsPropertyTree!= null):((referanseTilMoeteregistreringsPropertyTree == null)||(!referanseTilMoeteregistreringsPropertyTree.isLeaf())))) {
if (_other.referanseTilMoeteregistrerings == null) {
this.referanseTilMoeteregistrerings = null;
} else {
this.referanseTilMoeteregistrerings = new ArrayList();
for (String _item: _other.referanseTilMoeteregistrerings) {
this.referanseTilMoeteregistrerings.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
final PropertyTree referanseFraMoeteregistreringsPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseFraMoeteregistrerings"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseFraMoeteregistreringsPropertyTree!= null):((referanseFraMoeteregistreringsPropertyTree == null)||(!referanseFraMoeteregistreringsPropertyTree.isLeaf())))) {
if (_other.referanseFraMoeteregistrerings == null) {
this.referanseFraMoeteregistrerings = null;
} else {
this.referanseFraMoeteregistrerings = new ArrayList();
for (String _item: _other.referanseFraMoeteregistrerings) {
this.referanseFraMoeteregistrerings.add(((_item == null)?null:new Buildable.PrimitiveBuildable(_item)));
}
}
}
}
}
protected<_P extends Moeteregistrering >_P init(final _P _product) {
_product.moeteregistreringstype = ((this.moeteregistreringstype == null)?null:this.moeteregistreringstype.build());
_product.moetesakstype = ((this.moetesakstype == null)?null:this.moetesakstype.build());
_product.moeteregistreringsstatus = ((this.moeteregistreringsstatus == null)?null:this.moeteregistreringsstatus.build());
_product.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.build());
_product.saksbehandler = ((this.saksbehandler == null)?null:this.saksbehandler.build());
if (this.referanseTilMoeteregistrerings!= null) {
final List referanseTilMoeteregistrerings = new ArrayList(this.referanseTilMoeteregistrerings.size());
for (Buildable _item: this.referanseTilMoeteregistrerings) {
referanseTilMoeteregistrerings.add(((String) _item.build()));
}
_product.referanseTilMoeteregistrerings = referanseTilMoeteregistrerings;
}
if (this.referanseFraMoeteregistrerings!= null) {
final List referanseFraMoeteregistrerings = new ArrayList(this.referanseFraMoeteregistrerings.size());
for (Buildable _item: this.referanseFraMoeteregistrerings) {
referanseFraMoeteregistrerings.add(((String) _item.build()));
}
_product.referanseFraMoeteregistrerings = referanseFraMoeteregistrerings;
}
return super.init(_product);
}
/**
* Sets the new value of "moeteregistreringstype" (any previous value will be
* replaced)
*
* @param moeteregistreringstype
* New value of the "moeteregistreringstype" property.
*/
public Moeteregistrering.Builder<_B> withMoeteregistreringstype(final Moeteregistreringstype moeteregistreringstype) {
this.moeteregistreringstype = ((moeteregistreringstype == null)?null:new Moeteregistreringstype.Builder>(this, moeteregistreringstype, false));
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "moeteregistreringstype" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Moeteregistreringstype.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "moeteregistreringstype" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Moeteregistreringstype.Builder#end()}
* to return to the current builder.
*/
public Moeteregistreringstype.Builder extends Moeteregistrering.Builder<_B>> withMoeteregistreringstype() {
if (this.moeteregistreringstype!= null) {
return this.moeteregistreringstype;
}
return this.moeteregistreringstype = new Moeteregistreringstype.Builder>(this, null, false);
}
/**
* Sets the new value of "moetesakstype" (any previous value will be replaced)
*
* @param moetesakstype
* New value of the "moetesakstype" property.
*/
public Moeteregistrering.Builder<_B> withMoetesakstype(final Moetesakstype moetesakstype) {
this.moetesakstype = ((moetesakstype == null)?null:new Moetesakstype.Builder>(this, moetesakstype, false));
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "moetesakstype" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Moetesakstype.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "moetesakstype" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Moetesakstype.Builder#end()}
* to return to the current builder.
*/
public Moetesakstype.Builder extends Moeteregistrering.Builder<_B>> withMoetesakstype() {
if (this.moetesakstype!= null) {
return this.moetesakstype;
}
return this.moetesakstype = new Moetesakstype.Builder>(this, null, false);
}
/**
* Sets the new value of "moeteregistreringsstatus" (any previous value will be
* replaced)
*
* @param moeteregistreringsstatus
* New value of the "moeteregistreringsstatus" property.
*/
public Moeteregistrering.Builder<_B> withMoeteregistreringsstatus(final Moeteregistreringsstatus moeteregistreringsstatus) {
this.moeteregistreringsstatus = ((moeteregistreringsstatus == null)?null:new Moeteregistreringsstatus.Builder>(this, moeteregistreringsstatus, false));
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "moeteregistreringsstatus" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Moeteregistreringsstatus.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "moeteregistreringsstatus" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Moeteregistreringsstatus.Builder#end()}
* to return to the current builder.
*/
public Moeteregistreringsstatus.Builder extends Moeteregistrering.Builder<_B>> withMoeteregistreringsstatus() {
if (this.moeteregistreringsstatus!= null) {
return this.moeteregistreringsstatus;
}
return this.moeteregistreringsstatus = new Moeteregistreringsstatus.Builder>(this, null, false);
}
/**
* Sets the new value of "administrativEnhet" (any previous value will be replaced)
*
* @param administrativEnhet
* New value of the "administrativEnhet" property.
*/
public Moeteregistrering.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 Moeteregistrering.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 Moeteregistrering.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 Moeteregistrering.Builder<_B>> withSaksbehandler() {
if (this.saksbehandler!= null) {
return this.saksbehandler;
}
return this.saksbehandler = new Saksbehandler.Builder>(this, null, false);
}
/**
* Adds the given items to the value of "referanseTilMoeteregistrerings"
*
* @param referanseTilMoeteregistrerings
* Items to add to the value of the "referanseTilMoeteregistrerings" property
*/
public Moeteregistrering.Builder<_B> addReferanseTilMoeteregistrerings(final Iterable extends String> referanseTilMoeteregistrerings) {
if (referanseTilMoeteregistrerings!= null) {
if (this.referanseTilMoeteregistrerings == null) {
this.referanseTilMoeteregistrerings = new ArrayList();
}
for (String _item: referanseTilMoeteregistrerings) {
this.referanseTilMoeteregistrerings.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "referanseTilMoeteregistrerings" (any previous value will
* be replaced)
*
* @param referanseTilMoeteregistrerings
* New value of the "referanseTilMoeteregistrerings" property.
*/
public Moeteregistrering.Builder<_B> withReferanseTilMoeteregistrerings(final Iterable extends String> referanseTilMoeteregistrerings) {
if (this.referanseTilMoeteregistrerings!= null) {
this.referanseTilMoeteregistrerings.clear();
}
return addReferanseTilMoeteregistrerings(referanseTilMoeteregistrerings);
}
/**
* Adds the given items to the value of "referanseTilMoeteregistrerings"
*
* @param referanseTilMoeteregistrerings
* Items to add to the value of the "referanseTilMoeteregistrerings" property
*/
public Moeteregistrering.Builder<_B> addReferanseTilMoeteregistrerings(String... referanseTilMoeteregistrerings) {
addReferanseTilMoeteregistrerings(Arrays.asList(referanseTilMoeteregistrerings));
return this;
}
/**
* Sets the new value of "referanseTilMoeteregistrerings" (any previous value will
* be replaced)
*
* @param referanseTilMoeteregistrerings
* New value of the "referanseTilMoeteregistrerings" property.
*/
public Moeteregistrering.Builder<_B> withReferanseTilMoeteregistrerings(String... referanseTilMoeteregistrerings) {
withReferanseTilMoeteregistrerings(Arrays.asList(referanseTilMoeteregistrerings));
return this;
}
/**
* Adds the given items to the value of "referanseFraMoeteregistrerings"
*
* @param referanseFraMoeteregistrerings
* Items to add to the value of the "referanseFraMoeteregistrerings" property
*/
public Moeteregistrering.Builder<_B> addReferanseFraMoeteregistrerings(final Iterable extends String> referanseFraMoeteregistrerings) {
if (referanseFraMoeteregistrerings!= null) {
if (this.referanseFraMoeteregistrerings == null) {
this.referanseFraMoeteregistrerings = new ArrayList();
}
for (String _item: referanseFraMoeteregistrerings) {
this.referanseFraMoeteregistrerings.add(new Buildable.PrimitiveBuildable(_item));
}
}
return this;
}
/**
* Sets the new value of "referanseFraMoeteregistrerings" (any previous value will
* be replaced)
*
* @param referanseFraMoeteregistrerings
* New value of the "referanseFraMoeteregistrerings" property.
*/
public Moeteregistrering.Builder<_B> withReferanseFraMoeteregistrerings(final Iterable extends String> referanseFraMoeteregistrerings) {
if (this.referanseFraMoeteregistrerings!= null) {
this.referanseFraMoeteregistrerings.clear();
}
return addReferanseFraMoeteregistrerings(referanseFraMoeteregistrerings);
}
/**
* Adds the given items to the value of "referanseFraMoeteregistrerings"
*
* @param referanseFraMoeteregistrerings
* Items to add to the value of the "referanseFraMoeteregistrerings" property
*/
public Moeteregistrering.Builder<_B> addReferanseFraMoeteregistrerings(String... referanseFraMoeteregistrerings) {
addReferanseFraMoeteregistrerings(Arrays.asList(referanseFraMoeteregistrerings));
return this;
}
/**
* Sets the new value of "referanseFraMoeteregistrerings" (any previous value will
* be replaced)
*
* @param referanseFraMoeteregistrerings
* New value of the "referanseFraMoeteregistrerings" property.
*/
public Moeteregistrering.Builder<_B> withReferanseFraMoeteregistrerings(String... referanseFraMoeteregistrerings) {
withReferanseFraMoeteregistrerings(Arrays.asList(referanseFraMoeteregistrerings));
return this;
}
/**
* Sets the new value of "systemID" (any previous value will be replaced)
*
* @param systemID
* New value of the "systemID" property.
*/
@Override
public Moeteregistrering.Builder<_B> withSystemID(final SystemID systemID) {
super.withSystemID(systemID);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "systemID" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID.Builder#end()} to
* return to the current builder.
*
* @return
* A new builder to build the value of the "systemID" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID.Builder#end()} to
* return to the current builder.
*/
public SystemID.Builder extends Moeteregistrering.Builder<_B>> withSystemID() {
return ((SystemID.Builder extends Moeteregistrering.Builder<_B>> ) super.withSystemID());
}
/**
* Sets the new value of "opprettetDato" (any previous value will be replaced)
*
* @param opprettetDato
* New value of the "opprettetDato" property.
*/
@Override
public Moeteregistrering.Builder<_B> withOpprettetDato(final ZonedDateTime opprettetDato) {
super.withOpprettetDato(opprettetDato);
return this;
}
/**
* Sets the new value of "opprettetAv" (any previous value will be replaced)
*
* @param opprettetAv
* New value of the "opprettetAv" property.
*/
@Override
public Moeteregistrering.Builder<_B> withOpprettetAv(final String opprettetAv) {
super.withOpprettetAv(opprettetAv);
return this;
}
/**
* Sets the new value of "arkivertDato" (any previous value will be replaced)
*
* @param arkivertDato
* New value of the "arkivertDato" property.
*/
@Override
public Moeteregistrering.Builder<_B> withArkivertDato(final ZonedDateTime arkivertDato) {
super.withArkivertDato(arkivertDato);
return this;
}
/**
* Sets the new value of "arkivertAv" (any previous value will be replaced)
*
* @param arkivertAv
* New value of the "arkivertAv" property.
*/
@Override
public Moeteregistrering.Builder<_B> withArkivertAv(final String arkivertAv) {
super.withArkivertAv(arkivertAv);
return this;
}
/**
* Sets the new value of "arkivdel" (any previous value will be replaced)
*
* @param arkivdel
* New value of the "arkivdel" property.
*/
@Override
public Moeteregistrering.Builder<_B> withArkivdel(final Kode arkivdel) {
super.withArkivdel(arkivdel);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "arkivdel" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "arkivdel" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode.Builder#end()}
* to return to the current builder.
*/
public Kode.Builder extends Moeteregistrering.Builder<_B>> withArkivdel() {
return ((Kode.Builder extends Moeteregistrering.Builder<_B>> ) super.withArkivdel());
}
/**
* Sets the new value of "referanseForelderMappe" (any previous value will be
* replaced)
*
* @param referanseForelderMappe
* New value of the "referanseForelderMappe" property.
*/
@Override
public Moeteregistrering.Builder<_B> withReferanseForelderMappe(final ReferanseTilMappe referanseForelderMappe) {
super.withReferanseForelderMappe(referanseForelderMappe);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "referanseForelderMappe" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "referanseForelderMappe" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe.Builder#end()}
* to return to the current builder.
*/
public ReferanseTilMappe.Builder extends Moeteregistrering.Builder<_B>> withReferanseForelderMappe() {
return ((ReferanseTilMappe.Builder extends Moeteregistrering.Builder<_B>> ) super.withReferanseForelderMappe());
}
/**
* Adds the given items to the value of "parts"
*
* @param parts
* Items to add to the value of the "parts" property
*/
@Override
public Moeteregistrering.Builder<_B> addParts(final Iterable extends Part> parts) {
super.addParts(parts);
return this;
}
/**
* Adds the given items to the value of "parts"
*
* @param parts
* Items to add to the value of the "parts" property
*/
@Override
public Moeteregistrering.Builder<_B> addParts(Part... parts) {
super.addParts(parts);
return this;
}
/**
* Sets the new value of "parts" (any previous value will be replaced)
*
* @param parts
* New value of the "parts" property.
*/
@Override
public Moeteregistrering.Builder<_B> withParts(final Iterable extends Part> parts) {
super.withParts(parts);
return this;
}
/**
* Sets the new value of "parts" (any previous value will be replaced)
*
* @param parts
* New value of the "parts" property.
*/
@Override
public Moeteregistrering.Builder<_B> withParts(Part... parts) {
super.withParts(parts);
return this;
}
/**
* Returns a new builder to build an additional value of the "parts" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Part.Builder#end()} to return to
* the current builder.
*
* @return
* a new builder to build an additional value of the "parts" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Part.Builder#end()} to return to
* the current builder.
*/
@Override
public Part.Builder extends Moeteregistrering.Builder<_B>> addParts() {
return ((Part.Builder extends Moeteregistrering.Builder<_B>> ) super.addParts());
}
/**
* Sets the new value of "kassasjon" (any previous value will be replaced)
*
* @param kassasjon
* New value of the "kassasjon" property.
*/
@Override
public Moeteregistrering.Builder<_B> withKassasjon(final Kassasjon kassasjon) {
super.withKassasjon(kassasjon);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "kassasjon" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kassasjon.Builder#end()} to return
* to the current builder.
*
* @return
* A new builder to build the value of the "kassasjon" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kassasjon.Builder#end()} to return
* to the current builder.
*/
public Kassasjon.Builder extends Moeteregistrering.Builder<_B>> withKassasjon() {
return ((Kassasjon.Builder extends Moeteregistrering.Builder<_B>> ) super.withKassasjon());
}
/**
* Sets the new value of "skjerming" (any previous value will be replaced)
*
* @param skjerming
* New value of the "skjerming" property.
*/
@Override
public Moeteregistrering.Builder<_B> withSkjerming(final Skjerming skjerming) {
super.withSkjerming(skjerming);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "skjerming" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Skjerming.Builder#end()} to return
* to the current builder.
*
* @return
* A new builder to build the value of the "skjerming" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Skjerming.Builder#end()} to return
* to the current builder.
*/
public Skjerming.Builder extends Moeteregistrering.Builder<_B>> withSkjerming() {
return ((Skjerming.Builder extends Moeteregistrering.Builder<_B>> ) super.withSkjerming());
}
/**
* Sets the new value of "gradering" (any previous value will be replaced)
*
* @param gradering
* New value of the "gradering" property.
*/
@Override
public Moeteregistrering.Builder<_B> withGradering(final Gradering gradering) {
super.withGradering(gradering);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "gradering" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Gradering.Builder#end()} to return
* to the current builder.
*
* @return
* A new builder to build the value of the "gradering" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Gradering.Builder#end()} to return
* to the current builder.
*/
public Gradering.Builder extends Moeteregistrering.Builder<_B>> withGradering() {
return ((Gradering.Builder extends Moeteregistrering.Builder<_B>> ) super.withGradering());
}
/**
* Adds the given items to the value of "dokumentbeskrivelses"
*
* @param dokumentbeskrivelses
* Items to add to the value of the "dokumentbeskrivelses" property
*/
@Override
public Moeteregistrering.Builder<_B> addDokumentbeskrivelses(final Iterable extends Dokumentbeskrivelse> dokumentbeskrivelses) {
super.addDokumentbeskrivelses(dokumentbeskrivelses);
return this;
}
/**
* Adds the given items to the value of "dokumentbeskrivelses"
*
* @param dokumentbeskrivelses
* Items to add to the value of the "dokumentbeskrivelses" property
*/
@Override
public Moeteregistrering.Builder<_B> addDokumentbeskrivelses(Dokumentbeskrivelse... dokumentbeskrivelses) {
super.addDokumentbeskrivelses(dokumentbeskrivelses);
return this;
}
/**
* Sets the new value of "dokumentbeskrivelses" (any previous value will be
* replaced)
*
* @param dokumentbeskrivelses
* New value of the "dokumentbeskrivelses" property.
*/
@Override
public Moeteregistrering.Builder<_B> withDokumentbeskrivelses(final Iterable extends Dokumentbeskrivelse> dokumentbeskrivelses) {
super.withDokumentbeskrivelses(dokumentbeskrivelses);
return this;
}
/**
* Sets the new value of "dokumentbeskrivelses" (any previous value will be
* replaced)
*
* @param dokumentbeskrivelses
* New value of the "dokumentbeskrivelses" property.
*/
@Override
public Moeteregistrering.Builder<_B> withDokumentbeskrivelses(Dokumentbeskrivelse... dokumentbeskrivelses) {
super.withDokumentbeskrivelses(dokumentbeskrivelses);
return this;
}
/**
* Returns a new builder to build an additional value of the "dokumentbeskrivelses"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentbeskrivelse.Builder#end()}
* to return to the current builder.
*
* @return
* a new builder to build an additional value of the "dokumentbeskrivelses"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Dokumentbeskrivelse.Builder#end()}
* to return to the current builder.
*/
@Override
public Dokumentbeskrivelse.Builder extends Moeteregistrering.Builder<_B>> addDokumentbeskrivelses() {
return ((Dokumentbeskrivelse.Builder extends Moeteregistrering.Builder<_B>> ) super.addDokumentbeskrivelses());
}
/**
* Sets the new value of "registreringsID" (any previous value will be replaced)
*
* @param registreringsID
* New value of the "registreringsID" property.
*/
@Override
public Moeteregistrering.Builder<_B> withRegistreringsID(final String registreringsID) {
super.withRegistreringsID(registreringsID);
return this;
}
/**
* Sets the new value of "tittel" (any previous value will be replaced)
*
* @param tittel
* New value of the "tittel" property.
*/
@Override
public Moeteregistrering.Builder<_B> withTittel(final String tittel) {
super.withTittel(tittel);
return this;
}
/**
* Sets the new value of "offentligTittel" (any previous value will be replaced)
*
* @param offentligTittel
* New value of the "offentligTittel" property.
*/
@Override
public Moeteregistrering.Builder<_B> withOffentligTittel(final String offentligTittel) {
super.withOffentligTittel(offentligTittel);
return this;
}
/**
* Sets the new value of "beskrivelse" (any previous value will be replaced)
*
* @param beskrivelse
* New value of the "beskrivelse" property.
*/
@Override
public Moeteregistrering.Builder<_B> withBeskrivelse(final String beskrivelse) {
super.withBeskrivelse(beskrivelse);
return this;
}
/**
* Adds the given items to the value of "noekkelords"
*
* @param noekkelords
* Items to add to the value of the "noekkelords" property
*/
@Override
public Moeteregistrering.Builder<_B> addNoekkelords(final Iterable extends String> noekkelords) {
super.addNoekkelords(noekkelords);
return this;
}
/**
* Adds the given items to the value of "noekkelords"
*
* @param noekkelords
* Items to add to the value of the "noekkelords" property
*/
@Override
public Moeteregistrering.Builder<_B> addNoekkelords(String... noekkelords) {
super.addNoekkelords(noekkelords);
return this;
}
/**
* Sets the new value of "noekkelords" (any previous value will be replaced)
*
* @param noekkelords
* New value of the "noekkelords" property.
*/
@Override
public Moeteregistrering.Builder<_B> withNoekkelords(final Iterable extends String> noekkelords) {
super.withNoekkelords(noekkelords);
return this;
}
/**
* Sets the new value of "noekkelords" (any previous value will be replaced)
*
* @param noekkelords
* New value of the "noekkelords" property.
*/
@Override
public Moeteregistrering.Builder<_B> withNoekkelords(String... noekkelords) {
super.withNoekkelords(noekkelords);
return this;
}
/**
* Adds the given items to the value of "forfatters"
*
* @param forfatters
* Items to add to the value of the "forfatters" property
*/
@Override
public Moeteregistrering.Builder<_B> addForfatters(final Iterable extends String> forfatters) {
super.addForfatters(forfatters);
return this;
}
/**
* Adds the given items to the value of "forfatters"
*
* @param forfatters
* Items to add to the value of the "forfatters" property
*/
@Override
public Moeteregistrering.Builder<_B> addForfatters(String... forfatters) {
super.addForfatters(forfatters);
return this;
}
/**
* Sets the new value of "forfatters" (any previous value will be replaced)
*
* @param forfatters
* New value of the "forfatters" property.
*/
@Override
public Moeteregistrering.Builder<_B> withForfatters(final Iterable extends String> forfatters) {
super.withForfatters(forfatters);
return this;
}
/**
* Sets the new value of "forfatters" (any previous value will be replaced)
*
* @param forfatters
* New value of the "forfatters" property.
*/
@Override
public Moeteregistrering.Builder<_B> withForfatters(String... forfatters) {
super.withForfatters(forfatters);
return this;
}
/**
* Sets the new value of "dokumentmedium" (any previous value will be replaced)
*
* @param dokumentmedium
* New value of the "dokumentmedium" property.
*/
@Override
public Moeteregistrering.Builder<_B> withDokumentmedium(final Dokumentmedium dokumentmedium) {
super.withDokumentmedium(dokumentmedium);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "dokumentmedium" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Dokumentmedium.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "dokumentmedium" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Dokumentmedium.Builder#end()}
* to return to the current builder.
*/
public Dokumentmedium.Builder extends Moeteregistrering.Builder<_B>> withDokumentmedium() {
return ((Dokumentmedium.Builder extends Moeteregistrering.Builder<_B>> ) super.withDokumentmedium());
}
/**
* Adds the given items to the value of "oppbevaringssteds"
*
* @param oppbevaringssteds
* Items to add to the value of the "oppbevaringssteds" property
*/
@Override
public Moeteregistrering.Builder<_B> addOppbevaringssteds(final Iterable extends String> oppbevaringssteds) {
super.addOppbevaringssteds(oppbevaringssteds);
return this;
}
/**
* Adds the given items to the value of "oppbevaringssteds"
*
* @param oppbevaringssteds
* Items to add to the value of the "oppbevaringssteds" property
*/
@Override
public Moeteregistrering.Builder<_B> addOppbevaringssteds(String... oppbevaringssteds) {
super.addOppbevaringssteds(oppbevaringssteds);
return this;
}
/**
* Sets the new value of "oppbevaringssteds" (any previous value will be replaced)
*
* @param oppbevaringssteds
* New value of the "oppbevaringssteds" property.
*/
@Override
public Moeteregistrering.Builder<_B> withOppbevaringssteds(final Iterable extends String> oppbevaringssteds) {
super.withOppbevaringssteds(oppbevaringssteds);
return this;
}
/**
* Sets the new value of "oppbevaringssteds" (any previous value will be replaced)
*
* @param oppbevaringssteds
* New value of the "oppbevaringssteds" property.
*/
@Override
public Moeteregistrering.Builder<_B> withOppbevaringssteds(String... oppbevaringssteds) {
super.withOppbevaringssteds(oppbevaringssteds);
return this;
}
/**
* Sets the new value of "virksomhetsspesifikkeMetadata" (any previous value will
* be replaced)
*
* @param virksomhetsspesifikkeMetadata
* New value of the "virksomhetsspesifikkeMetadata" property.
*/
@Override
public Moeteregistrering.Builder<_B> withVirksomhetsspesifikkeMetadata(final Object virksomhetsspesifikkeMetadata) {
super.withVirksomhetsspesifikkeMetadata(virksomhetsspesifikkeMetadata);
return this;
}
/**
* Adds the given items to the value of "merknads"
*
* @param merknads
* Items to add to the value of the "merknads" property
*/
@Override
public Moeteregistrering.Builder<_B> addMerknads(final Iterable extends Merknad> merknads) {
super.addMerknads(merknads);
return this;
}
/**
* Adds the given items to the value of "merknads"
*
* @param merknads
* Items to add to the value of the "merknads" property
*/
@Override
public Moeteregistrering.Builder<_B> addMerknads(Merknad... merknads) {
super.addMerknads(merknads);
return this;
}
/**
* Sets the new value of "merknads" (any previous value will be replaced)
*
* @param merknads
* New value of the "merknads" property.
*/
@Override
public Moeteregistrering.Builder<_B> withMerknads(final Iterable extends Merknad> merknads) {
super.withMerknads(merknads);
return this;
}
/**
* Sets the new value of "merknads" (any previous value will be replaced)
*
* @param merknads
* New value of the "merknads" property.
*/
@Override
public Moeteregistrering.Builder<_B> withMerknads(Merknad... merknads) {
super.withMerknads(merknads);
return this;
}
/**
* Returns a new builder to build an additional value of the "merknads" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Merknad.Builder#end()} to return to
* the current builder.
*
* @return
* a new builder to build an additional value of the "merknads" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Merknad.Builder#end()} to return to
* the current builder.
*/
@Override
public Merknad.Builder extends Moeteregistrering.Builder<_B>> addMerknads() {
return ((Merknad.Builder extends Moeteregistrering.Builder<_B>> ) super.addMerknads());
}
/**
* Adds the given items to the value of "kryssreferanses"
*
* @param kryssreferanses
* Items to add to the value of the "kryssreferanses" property
*/
@Override
public Moeteregistrering.Builder<_B> addKryssreferanses(final Iterable extends Kryssreferanse> kryssreferanses) {
super.addKryssreferanses(kryssreferanses);
return this;
}
/**
* Adds the given items to the value of "kryssreferanses"
*
* @param kryssreferanses
* Items to add to the value of the "kryssreferanses" property
*/
@Override
public Moeteregistrering.Builder<_B> addKryssreferanses(Kryssreferanse... kryssreferanses) {
super.addKryssreferanses(kryssreferanses);
return this;
}
/**
* Sets the new value of "kryssreferanses" (any previous value will be replaced)
*
* @param kryssreferanses
* New value of the "kryssreferanses" property.
*/
@Override
public Moeteregistrering.Builder<_B> withKryssreferanses(final Iterable extends Kryssreferanse> kryssreferanses) {
super.withKryssreferanses(kryssreferanses);
return this;
}
/**
* Sets the new value of "kryssreferanses" (any previous value will be replaced)
*
* @param kryssreferanses
* New value of the "kryssreferanses" property.
*/
@Override
public Moeteregistrering.Builder<_B> withKryssreferanses(Kryssreferanse... kryssreferanses) {
super.withKryssreferanses(kryssreferanses);
return this;
}
/**
* Returns a new builder to build an additional value of the "kryssreferanses"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kryssreferanse.Builder#end()} to
* return to the current builder.
*
* @return
* a new builder to build an additional value of the "kryssreferanses" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Kryssreferanse.Builder#end()} to
* return to the current builder.
*/
@Override
public Kryssreferanse.Builder extends Moeteregistrering.Builder<_B>> addKryssreferanses() {
return ((Kryssreferanse.Builder extends Moeteregistrering.Builder<_B>> ) super.addKryssreferanses());
}
/**
* Adds the given items to the value of "korrespondanseparts"
*
* @param korrespondanseparts
* Items to add to the value of the "korrespondanseparts" property
*/
@Override
public Moeteregistrering.Builder<_B> addKorrespondanseparts(final Iterable extends Korrespondansepart> korrespondanseparts) {
super.addKorrespondanseparts(korrespondanseparts);
return this;
}
/**
* Adds the given items to the value of "korrespondanseparts"
*
* @param korrespondanseparts
* Items to add to the value of the "korrespondanseparts" property
*/
@Override
public Moeteregistrering.Builder<_B> addKorrespondanseparts(Korrespondansepart... korrespondanseparts) {
super.addKorrespondanseparts(korrespondanseparts);
return this;
}
/**
* Sets the new value of "korrespondanseparts" (any previous value will be
* replaced)
*
* @param korrespondanseparts
* New value of the "korrespondanseparts" property.
*/
@Override
public Moeteregistrering.Builder<_B> withKorrespondanseparts(final Iterable extends Korrespondansepart> korrespondanseparts) {
super.withKorrespondanseparts(korrespondanseparts);
return this;
}
/**
* Sets the new value of "korrespondanseparts" (any previous value will be
* replaced)
*
* @param korrespondanseparts
* New value of the "korrespondanseparts" property.
*/
@Override
public Moeteregistrering.Builder<_B> withKorrespondanseparts(Korrespondansepart... korrespondanseparts) {
super.withKorrespondanseparts(korrespondanseparts);
return this;
}
/**
* Returns a new builder to build an additional value of the "korrespondanseparts"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Korrespondansepart.Builder#end()}
* to return to the current builder.
*
* @return
* a new builder to build an additional value of the "korrespondanseparts"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Korrespondansepart.Builder#end()}
* to return to the current builder.
*/
@Override
public Korrespondansepart.Builder extends Moeteregistrering.Builder<_B>> addKorrespondanseparts() {
return ((Korrespondansepart.Builder extends Moeteregistrering.Builder<_B>> ) super.addKorrespondanseparts());
}
/**
* Adds the given items to the value of "klassifikasjons"
*
* @param klassifikasjons
* Items to add to the value of the "klassifikasjons" property
*/
@Override
public Moeteregistrering.Builder<_B> addKlassifikasjons(final Iterable extends Klassifikasjon> klassifikasjons) {
super.addKlassifikasjons(klassifikasjons);
return this;
}
/**
* Adds the given items to the value of "klassifikasjons"
*
* @param klassifikasjons
* Items to add to the value of the "klassifikasjons" property
*/
@Override
public Moeteregistrering.Builder<_B> addKlassifikasjons(Klassifikasjon... klassifikasjons) {
super.addKlassifikasjons(klassifikasjons);
return this;
}
/**
* Sets the new value of "klassifikasjons" (any previous value will be replaced)
*
* @param klassifikasjons
* New value of the "klassifikasjons" property.
*/
@Override
public Moeteregistrering.Builder<_B> withKlassifikasjons(final Iterable extends Klassifikasjon> klassifikasjons) {
super.withKlassifikasjons(klassifikasjons);
return this;
}
/**
* Sets the new value of "klassifikasjons" (any previous value will be replaced)
*
* @param klassifikasjons
* New value of the "klassifikasjons" property.
*/
@Override
public Moeteregistrering.Builder<_B> withKlassifikasjons(Klassifikasjon... klassifikasjons) {
super.withKlassifikasjons(klassifikasjons);
return this;
}
/**
* Returns a new builder to build an additional value of the "klassifikasjons"
* property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Klassifikasjon.Builder#end()} to
* return to the current builder.
*
* @return
* a new builder to build an additional value of the "klassifikasjons" property.
* Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Klassifikasjon.Builder#end()} to
* return to the current builder.
*/
@Override
public Klassifikasjon.Builder extends Moeteregistrering.Builder<_B>> addKlassifikasjons() {
return ((Klassifikasjon.Builder extends Moeteregistrering.Builder<_B>> ) super.addKlassifikasjons());
}
/**
* Sets the new value of "referanseEksternNoekkel" (any previous value will be
* replaced)
*
* @param referanseEksternNoekkel
* New value of the "referanseEksternNoekkel" property.
*/
@Override
public Moeteregistrering.Builder<_B> withReferanseEksternNoekkel(final EksternNoekkel referanseEksternNoekkel) {
super.withReferanseEksternNoekkel(referanseEksternNoekkel);
return this;
}
/**
* Returns the existing builder or a new builder to build the value of the
* "referanseEksternNoekkel" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel.Builder#end()}
* to return to the current builder.
*
* @return
* A new builder to build the value of the "referanseEksternNoekkel" property.
* Use {@link
* no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel.Builder#end()}
* to return to the current builder.
*/
public EksternNoekkel.Builder extends Moeteregistrering.Builder<_B>> withReferanseEksternNoekkel() {
return ((EksternNoekkel.Builder extends Moeteregistrering.Builder<_B>> ) super.withReferanseEksternNoekkel());
}
@Override
public Moeteregistrering build() {
if (_storedValue == null) {
return this.init(new Moeteregistrering());
} else {
return ((Moeteregistrering) _storedValue);
}
}
public Moeteregistrering.Builder<_B> copyOf(final Moeteregistrering _other) {
_other.copyTo(this);
return this;
}
public Moeteregistrering.Builder<_B> copyOf(final Moeteregistrering.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends Moeteregistrering.Selector
{
Select() {
super(null, null, null);
}
public static Moeteregistrering.Select _root() {
return new Moeteregistrering.Select();
}
}
public static class Selector , TParent >
extends Registrering.Selector
{
private Moeteregistreringstype.Selector> moeteregistreringstype = null;
private Moetesakstype.Selector> moetesakstype = null;
private Moeteregistreringsstatus.Selector> moeteregistreringsstatus = null;
private AdministrativEnhet.Selector> administrativEnhet = null;
private Saksbehandler.Selector> saksbehandler = null;
private com.kscs.util.jaxb.Selector> referanseTilMoeteregistrerings = null;
private com.kscs.util.jaxb.Selector> referanseFraMoeteregistrerings = 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.moeteregistreringstype!= null) {
products.put("moeteregistreringstype", this.moeteregistreringstype.init());
}
if (this.moetesakstype!= null) {
products.put("moetesakstype", this.moetesakstype.init());
}
if (this.moeteregistreringsstatus!= null) {
products.put("moeteregistreringsstatus", this.moeteregistreringsstatus.init());
}
if (this.administrativEnhet!= null) {
products.put("administrativEnhet", this.administrativEnhet.init());
}
if (this.saksbehandler!= null) {
products.put("saksbehandler", this.saksbehandler.init());
}
if (this.referanseTilMoeteregistrerings!= null) {
products.put("referanseTilMoeteregistrerings", this.referanseTilMoeteregistrerings.init());
}
if (this.referanseFraMoeteregistrerings!= null) {
products.put("referanseFraMoeteregistrerings", this.referanseFraMoeteregistrerings.init());
}
return products;
}
public Moeteregistreringstype.Selector> moeteregistreringstype() {
return ((this.moeteregistreringstype == null)?this.moeteregistreringstype = new Moeteregistreringstype.Selector>(this._root, this, "moeteregistreringstype"):this.moeteregistreringstype);
}
public Moetesakstype.Selector> moetesakstype() {
return ((this.moetesakstype == null)?this.moetesakstype = new Moetesakstype.Selector>(this._root, this, "moetesakstype"):this.moetesakstype);
}
public Moeteregistreringsstatus.Selector> moeteregistreringsstatus() {
return ((this.moeteregistreringsstatus == null)?this.moeteregistreringsstatus = new Moeteregistreringsstatus.Selector>(this._root, this, "moeteregistreringsstatus"):this.moeteregistreringsstatus);
}
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> referanseTilMoeteregistrerings() {
return ((this.referanseTilMoeteregistrerings == null)?this.referanseTilMoeteregistrerings = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseTilMoeteregistrerings"):this.referanseTilMoeteregistrerings);
}
public com.kscs.util.jaxb.Selector> referanseFraMoeteregistrerings() {
return ((this.referanseFraMoeteregistrerings == null)?this.referanseFraMoeteregistrerings = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseFraMoeteregistrerings"):this.referanseFraMoeteregistrerings);
}
}
}