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

no.ks.fiks.arkiv.v1.arkivstruktur.Moetemappe Maven / Gradle / Ivy

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


package no.ks.fiks.arkiv.v1.arkivstruktur;

import java.time.LocalDate;
import java.time.ZonedDateTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Dokumentmedium;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;
import org.w3._2001.xmlschema.Adapter3;


/**
 * 

Java class for moetemappe complex type. * *

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

 * <complexType name="moetemappe">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}mappe">
 *       <sequence>
 *         <element name="moetenummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}moetenummer"/>
 *         <element name="utvalg" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}utvalg"/>
 *         <element name="moetedato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}moetedato"/>
 *         <element name="moetested" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}moetested" minOccurs="0"/>
 *         <element name="referanseForrigeMoete" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseForrigeMoete" minOccurs="0"/>
 *         <element name="referanseNesteMoete" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseNesteMoete" minOccurs="0"/>
 *         <element name="moetedeltaker" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/v1}moetedeltaker" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "moetemappe", propOrder = { "moetenummer", "utvalg", "moetedato", "moetested", "referanseForrigeMoete", "referanseNesteMoete", "moetedeltakers" }) public class Moetemappe extends Mappe { @XmlElement(required = true) protected String moetenummer; @XmlElement(required = true) protected String utvalg; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate moetedato; protected String moetested; protected String referanseForrigeMoete; protected String referanseNesteMoete; @XmlElement(name = "moetedeltaker") protected List moetedeltakers; /** * Gets the value of the moetenummer property. * * @return * possible object is * {@link String } * */ public String getMoetenummer() { return moetenummer; } /** * Sets the value of the moetenummer property. * * @param value * allowed object is * {@link String } * */ public void setMoetenummer(String value) { this.moetenummer = value; } /** * Gets the value of the utvalg property. * * @return * possible object is * {@link String } * */ public String getUtvalg() { return utvalg; } /** * Sets the value of the utvalg property. * * @param value * allowed object is * {@link String } * */ public void setUtvalg(String value) { this.utvalg = value; } /** * Gets the value of the moetedato property. * * @return * possible object is * {@link String } * */ public LocalDate getMoetedato() { return moetedato; } /** * Sets the value of the moetedato property. * * @param value * allowed object is * {@link String } * */ public void setMoetedato(LocalDate value) { this.moetedato = value; } /** * Gets the value of the moetested property. * * @return * possible object is * {@link String } * */ public String getMoetested() { return moetested; } /** * Sets the value of the moetested property. * * @param value * allowed object is * {@link String } * */ public void setMoetested(String value) { this.moetested = value; } /** * Gets the value of the referanseForrigeMoete property. * * @return * possible object is * {@link String } * */ public String getReferanseForrigeMoete() { return referanseForrigeMoete; } /** * Sets the value of the referanseForrigeMoete property. * * @param value * allowed object is * {@link String } * */ public void setReferanseForrigeMoete(String value) { this.referanseForrigeMoete = value; } /** * Gets the value of the referanseNesteMoete property. * * @return * possible object is * {@link String } * */ public String getReferanseNesteMoete() { return referanseNesteMoete; } /** * Sets the value of the referanseNesteMoete property. * * @param value * allowed object is * {@link String } * */ public void setReferanseNesteMoete(String value) { this.referanseNesteMoete = value; } /** * Gets the value of the moetedeltakers 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 moetedeltakers property. * *

* For example, to add a new item, do as follows: *

     *    getMoetedeltakers().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Moetedeltaker } * * */ public List getMoetedeltakers() { if (moetedeltakers == null) { moetedeltakers = new ArrayList(); } return this.moetedeltakers; } /** * 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 Moetemappe.Builder<_B> _other) { super.copyTo(_other); _other.moetenummer = this.moetenummer; _other.utvalg = this.utvalg; _other.moetedato = this.moetedato; _other.moetested = this.moetested; _other.referanseForrigeMoete = this.referanseForrigeMoete; _other.referanseNesteMoete = this.referanseNesteMoete; if (this.moetedeltakers == null) { _other.moetedeltakers = null; } else { _other.moetedeltakers = new ArrayList>>(); for (Moetedeltaker _item: this.moetedeltakers) { _other.moetedeltakers.add(((_item == null)?null:_item.newCopyBuilder(_other))); } } } @Override public<_B >Moetemappe.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new Moetemappe.Builder<_B>(_parentBuilder, this, true); } @Override public Moetemappe.Builder newCopyBuilder() { return newCopyBuilder(null); } public static Moetemappe.Builder builder() { return new Moetemappe.Builder(null, null, false); } public static<_B >Moetemappe.Builder<_B> copyOf(final Mappe _other) { final Moetemappe.Builder<_B> _newBuilder = new Moetemappe.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >Moetemappe.Builder<_B> copyOf(final Moetemappe _other) { final Moetemappe.Builder<_B> _newBuilder = new Moetemappe.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 Moetemappe.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); final PropertyTree moetenummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetenummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetenummerPropertyTree!= null):((moetenummerPropertyTree == null)||(!moetenummerPropertyTree.isLeaf())))) { _other.moetenummer = this.moetenummer; } final PropertyTree utvalgPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utvalg")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utvalgPropertyTree!= null):((utvalgPropertyTree == null)||(!utvalgPropertyTree.isLeaf())))) { _other.utvalg = this.utvalg; } final PropertyTree moetedatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetedato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetedatoPropertyTree!= null):((moetedatoPropertyTree == null)||(!moetedatoPropertyTree.isLeaf())))) { _other.moetedato = this.moetedato; } final PropertyTree moetestedPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetested")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetestedPropertyTree!= null):((moetestedPropertyTree == null)||(!moetestedPropertyTree.isLeaf())))) { _other.moetested = this.moetested; } final PropertyTree referanseForrigeMoetePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseForrigeMoete")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseForrigeMoetePropertyTree!= null):((referanseForrigeMoetePropertyTree == null)||(!referanseForrigeMoetePropertyTree.isLeaf())))) { _other.referanseForrigeMoete = this.referanseForrigeMoete; } final PropertyTree referanseNesteMoetePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseNesteMoete")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseNesteMoetePropertyTree!= null):((referanseNesteMoetePropertyTree == null)||(!referanseNesteMoetePropertyTree.isLeaf())))) { _other.referanseNesteMoete = this.referanseNesteMoete; } final PropertyTree moetedeltakersPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetedeltakers")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetedeltakersPropertyTree!= null):((moetedeltakersPropertyTree == null)||(!moetedeltakersPropertyTree.isLeaf())))) { if (this.moetedeltakers == null) { _other.moetedeltakers = null; } else { _other.moetedeltakers = new ArrayList>>(); for (Moetedeltaker _item: this.moetedeltakers) { _other.moetedeltakers.add(((_item == null)?null:_item.newCopyBuilder(_other, moetedeltakersPropertyTree, _propertyTreeUse))); } } } } @Override public<_B >Moetemappe.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new Moetemappe.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public Moetemappe.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >Moetemappe.Builder<_B> copyOf(final Mappe _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Moetemappe.Builder<_B> _newBuilder = new Moetemappe.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >Moetemappe.Builder<_B> copyOf(final Moetemappe _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Moetemappe.Builder<_B> _newBuilder = new Moetemappe.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static Moetemappe.Builder copyExcept(final Mappe _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static Moetemappe.Builder copyExcept(final Moetemappe _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static Moetemappe.Builder copyOnly(final Mappe _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static Moetemappe.Builder copyOnly(final Moetemappe _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends Mappe.Builder<_B> implements Buildable { private String moetenummer; private String utvalg; private LocalDate moetedato; private String moetested; private String referanseForrigeMoete; private String referanseNesteMoete; private List>> moetedeltakers; public Builder(final _B _parentBuilder, final Moetemappe _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.moetenummer = _other.moetenummer; this.utvalg = _other.utvalg; this.moetedato = _other.moetedato; this.moetested = _other.moetested; this.referanseForrigeMoete = _other.referanseForrigeMoete; this.referanseNesteMoete = _other.referanseNesteMoete; if (_other.moetedeltakers == null) { this.moetedeltakers = null; } else { this.moetedeltakers = new ArrayList>>(); for (Moetedeltaker _item: _other.moetedeltakers) { this.moetedeltakers.add(((_item == null)?null:_item.newCopyBuilder(this))); } } } } public Builder(final _B _parentBuilder, final Moetemappe _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { final PropertyTree moetenummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetenummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetenummerPropertyTree!= null):((moetenummerPropertyTree == null)||(!moetenummerPropertyTree.isLeaf())))) { this.moetenummer = _other.moetenummer; } final PropertyTree utvalgPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utvalg")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utvalgPropertyTree!= null):((utvalgPropertyTree == null)||(!utvalgPropertyTree.isLeaf())))) { this.utvalg = _other.utvalg; } final PropertyTree moetedatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetedato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetedatoPropertyTree!= null):((moetedatoPropertyTree == null)||(!moetedatoPropertyTree.isLeaf())))) { this.moetedato = _other.moetedato; } final PropertyTree moetestedPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetested")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetestedPropertyTree!= null):((moetestedPropertyTree == null)||(!moetestedPropertyTree.isLeaf())))) { this.moetested = _other.moetested; } final PropertyTree referanseForrigeMoetePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseForrigeMoete")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseForrigeMoetePropertyTree!= null):((referanseForrigeMoetePropertyTree == null)||(!referanseForrigeMoetePropertyTree.isLeaf())))) { this.referanseForrigeMoete = _other.referanseForrigeMoete; } final PropertyTree referanseNesteMoetePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseNesteMoete")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseNesteMoetePropertyTree!= null):((referanseNesteMoetePropertyTree == null)||(!referanseNesteMoetePropertyTree.isLeaf())))) { this.referanseNesteMoete = _other.referanseNesteMoete; } final PropertyTree moetedeltakersPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("moetedeltakers")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(moetedeltakersPropertyTree!= null):((moetedeltakersPropertyTree == null)||(!moetedeltakersPropertyTree.isLeaf())))) { if (_other.moetedeltakers == null) { this.moetedeltakers = null; } else { this.moetedeltakers = new ArrayList>>(); for (Moetedeltaker _item: _other.moetedeltakers) { this.moetedeltakers.add(((_item == null)?null:_item.newCopyBuilder(this, moetedeltakersPropertyTree, _propertyTreeUse))); } } } } } protected<_P extends Moetemappe >_P init(final _P _product) { _product.moetenummer = this.moetenummer; _product.utvalg = this.utvalg; _product.moetedato = this.moetedato; _product.moetested = this.moetested; _product.referanseForrigeMoete = this.referanseForrigeMoete; _product.referanseNesteMoete = this.referanseNesteMoete; if (this.moetedeltakers!= null) { final List moetedeltakers = new ArrayList(this.moetedeltakers.size()); for (Moetedeltaker.Builder> _item: this.moetedeltakers) { moetedeltakers.add(_item.build()); } _product.moetedeltakers = moetedeltakers; } return super.init(_product); } /** * Sets the new value of "moetenummer" (any previous value will be replaced) * * @param moetenummer * New value of the "moetenummer" property. */ public Moetemappe.Builder<_B> withMoetenummer(final String moetenummer) { this.moetenummer = moetenummer; return this; } /** * Sets the new value of "utvalg" (any previous value will be replaced) * * @param utvalg * New value of the "utvalg" property. */ public Moetemappe.Builder<_B> withUtvalg(final String utvalg) { this.utvalg = utvalg; return this; } /** * Sets the new value of "moetedato" (any previous value will be replaced) * * @param moetedato * New value of the "moetedato" property. */ public Moetemappe.Builder<_B> withMoetedato(final LocalDate moetedato) { this.moetedato = moetedato; return this; } /** * Sets the new value of "moetested" (any previous value will be replaced) * * @param moetested * New value of the "moetested" property. */ public Moetemappe.Builder<_B> withMoetested(final String moetested) { this.moetested = moetested; return this; } /** * Sets the new value of "referanseForrigeMoete" (any previous value will be * replaced) * * @param referanseForrigeMoete * New value of the "referanseForrigeMoete" property. */ public Moetemappe.Builder<_B> withReferanseForrigeMoete(final String referanseForrigeMoete) { this.referanseForrigeMoete = referanseForrigeMoete; return this; } /** * Sets the new value of "referanseNesteMoete" (any previous value will be * replaced) * * @param referanseNesteMoete * New value of the "referanseNesteMoete" property. */ public Moetemappe.Builder<_B> withReferanseNesteMoete(final String referanseNesteMoete) { this.referanseNesteMoete = referanseNesteMoete; return this; } /** * Adds the given items to the value of "moetedeltakers" * * @param moetedeltakers * Items to add to the value of the "moetedeltakers" property */ public Moetemappe.Builder<_B> addMoetedeltakers(final Iterable moetedeltakers) { if (moetedeltakers!= null) { if (this.moetedeltakers == null) { this.moetedeltakers = new ArrayList>>(); } for (Moetedeltaker _item: moetedeltakers) { this.moetedeltakers.add(new Moetedeltaker.Builder>(this, _item, false)); } } return this; } /** * Sets the new value of "moetedeltakers" (any previous value will be replaced) * * @param moetedeltakers * New value of the "moetedeltakers" property. */ public Moetemappe.Builder<_B> withMoetedeltakers(final Iterable moetedeltakers) { if (this.moetedeltakers!= null) { this.moetedeltakers.clear(); } return addMoetedeltakers(moetedeltakers); } /** * Adds the given items to the value of "moetedeltakers" * * @param moetedeltakers * Items to add to the value of the "moetedeltakers" property */ public Moetemappe.Builder<_B> addMoetedeltakers(Moetedeltaker... moetedeltakers) { addMoetedeltakers(Arrays.asList(moetedeltakers)); return this; } /** * Sets the new value of "moetedeltakers" (any previous value will be replaced) * * @param moetedeltakers * New value of the "moetedeltakers" property. */ public Moetemappe.Builder<_B> withMoetedeltakers(Moetedeltaker... moetedeltakers) { withMoetedeltakers(Arrays.asList(moetedeltakers)); return this; } /** * Returns a new builder to build an additional value of the "Moetedeltakers" * property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Moetedeltaker.Builder#end()} to * return to the current builder. * * @return * a new builder to build an additional value of the "Moetedeltakers" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Moetedeltaker.Builder#end()} to * return to the current builder. */ public Moetedeltaker.Builder> addMoetedeltakers() { if (this.moetedeltakers == null) { this.moetedeltakers = new ArrayList>>(); } final Moetedeltaker.Builder> moetedeltakers_Builder = new Moetedeltaker.Builder>(this, null, false); this.moetedeltakers.add(moetedeltakers_Builder); return moetedeltakers_Builder; } /** * Sets the new value of "systemID" (any previous value will be replaced) * * @param systemID * New value of the "systemID" property. */ @Override public Moetemappe.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> withSystemID() { return ((SystemID.Builder> ) super.withSystemID()); } /** * Sets the new value of "mappeID" (any previous value will be replaced) * * @param mappeID * New value of the "mappeID" property. */ @Override public Moetemappe.Builder<_B> withMappeID(final String mappeID) { super.withMappeID(mappeID); return this; } /** * Sets the new value of "referanseForeldermappe" (any previous value will be * replaced) * * @param referanseForeldermappe * New value of the "referanseForeldermappe" property. */ @Override public Moetemappe.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> withReferanseForeldermappe() { return ((ReferanseTilMappe.Builder> ) super.withReferanseForeldermappe()); } /** * Sets the new value of "tittel" (any previous value will be replaced) * * @param tittel * New value of the "tittel" property. */ @Override public Moetemappe.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 Moetemappe.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 Moetemappe.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 Moetemappe.Builder<_B> addNoekkelords(final Iterable 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 Moetemappe.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 Moetemappe.Builder<_B> withNoekkelords(final Iterable 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 Moetemappe.Builder<_B> withNoekkelords(String... noekkelords) { super.withNoekkelords(noekkelords); return this; } /** * Sets the new value of "dokumentmedium" (any previous value will be replaced) * * @param dokumentmedium * New value of the "dokumentmedium" property. */ @Override public Moetemappe.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> withDokumentmedium() { return ((Dokumentmedium.Builder> ) 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 Moetemappe.Builder<_B> addOppbevaringssteds(final Iterable 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 Moetemappe.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 Moetemappe.Builder<_B> withOppbevaringssteds(final Iterable 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 Moetemappe.Builder<_B> withOppbevaringssteds(String... oppbevaringssteds) { super.withOppbevaringssteds(oppbevaringssteds); return this; } /** * Sets the new value of "opprettetDato" (any previous value will be replaced) * * @param opprettetDato * New value of the "opprettetDato" property. */ @Override public Moetemappe.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 Moetemappe.Builder<_B> withOpprettetAv(final String opprettetAv) { super.withOpprettetAv(opprettetAv); return this; } /** * Sets the new value of "avsluttetDato" (any previous value will be replaced) * * @param avsluttetDato * New value of the "avsluttetDato" property. */ @Override public Moetemappe.Builder<_B> withAvsluttetDato(final ZonedDateTime avsluttetDato) { super.withAvsluttetDato(avsluttetDato); return this; } /** * Sets the new value of "avsluttetAv" (any previous value will be replaced) * * @param avsluttetAv * New value of the "avsluttetAv" property. */ @Override public Moetemappe.Builder<_B> withAvsluttetAv(final String avsluttetAv) { super.withAvsluttetAv(avsluttetAv); return this; } /** * Sets the new value of "arkivdel" (any previous value will be replaced) * * @param arkivdel * New value of the "arkivdel" property. */ @Override public Moetemappe.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> withArkivdel() { return ((Kode.Builder> ) super.withArkivdel()); } /** * Sets the new value of "virksomhetsspesifikkeMetadata" (any previous value will * be replaced) * * @param virksomhetsspesifikkeMetadata * New value of the "virksomhetsspesifikkeMetadata" property. */ @Override public Moetemappe.Builder<_B> withVirksomhetsspesifikkeMetadata(final Object virksomhetsspesifikkeMetadata) { super.withVirksomhetsspesifikkeMetadata(virksomhetsspesifikkeMetadata); 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 Moetemappe.Builder<_B> addParts(final Iterable 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 Moetemappe.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 Moetemappe.Builder<_B> withParts(final Iterable 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 Moetemappe.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> addParts() { return ((Part.Builder> ) super.addParts()); } /** * Adds the given items to the value of "kryssreferanses" * * @param kryssreferanses * Items to add to the value of the "kryssreferanses" property */ @Override public Moetemappe.Builder<_B> addKryssreferanses(final Iterable 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 Moetemappe.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 Moetemappe.Builder<_B> withKryssreferanses(final Iterable 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 Moetemappe.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> addKryssreferanses() { return ((Kryssreferanse.Builder> ) super.addKryssreferanses()); } /** * Adds the given items to the value of "merknads" * * @param merknads * Items to add to the value of the "merknads" property */ @Override public Moetemappe.Builder<_B> addMerknads(final Iterable 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 Moetemappe.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 Moetemappe.Builder<_B> withMerknads(final Iterable 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 Moetemappe.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> addMerknads() { return ((Merknad.Builder> ) super.addMerknads()); } /** * Sets the new value of "kassasjon" (any previous value will be replaced) * * @param kassasjon * New value of the "kassasjon" property. */ @Override public Moetemappe.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> withKassasjon() { return ((Kassasjon.Builder> ) super.withKassasjon()); } /** * Sets the new value of "skjerming" (any previous value will be replaced) * * @param skjerming * New value of the "skjerming" property. */ @Override public Moetemappe.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> withSkjerming() { return ((Skjerming.Builder> ) super.withSkjerming()); } /** * Sets the new value of "gradering" (any previous value will be replaced) * * @param gradering * New value of the "gradering" property. */ @Override public Moetemappe.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> withGradering() { return ((Gradering.Builder> ) super.withGradering()); } /** * Adds the given items to the value of "klassifikasjons" * * @param klassifikasjons * Items to add to the value of the "klassifikasjons" property */ @Override public Moetemappe.Builder<_B> addKlassifikasjons(final Iterable 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 Moetemappe.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 Moetemappe.Builder<_B> withKlassifikasjons(final Iterable 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 Moetemappe.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> addKlassifikasjons() { return ((Klassifikasjon.Builder> ) super.addKlassifikasjons()); } /** * Sets the new value of "referanseEksternNoekkel" (any previous value will be * replaced) * * @param referanseEksternNoekkel * New value of the "referanseEksternNoekkel" property. */ @Override public Moetemappe.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> withReferanseEksternNoekkel() { return ((EksternNoekkel.Builder> ) super.withReferanseEksternNoekkel()); } /** * Adds the given items to the value of "registrerings" * * @param registrerings * Items to add to the value of the "registrerings" property */ @Override public Moetemappe.Builder<_B> addRegistrerings(final Iterable registrerings) { super.addRegistrerings(registrerings); return this; } /** * Adds the given items to the value of "registrerings" * * @param registrerings * Items to add to the value of the "registrerings" property */ @Override public Moetemappe.Builder<_B> addRegistrerings(Registrering... registrerings) { super.addRegistrerings(registrerings); return this; } /** * Sets the new value of "registrerings" (any previous value will be replaced) * * @param registrerings * New value of the "registrerings" property. */ @Override public Moetemappe.Builder<_B> withRegistrerings(final Iterable registrerings) { super.withRegistrerings(registrerings); return this; } /** * Sets the new value of "registrerings" (any previous value will be replaced) * * @param registrerings * New value of the "registrerings" property. */ @Override public Moetemappe.Builder<_B> withRegistrerings(Registrering... registrerings) { super.withRegistrerings(registrerings); return this; } /** * Returns a new builder to build an additional value of the "registrerings" * property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Registrering.Builder#end()} to * return to the current builder. * * @return * a new builder to build an additional value of the "registrerings" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Registrering.Builder#end()} to * return to the current builder. */ @Override public Registrering.Builder> addRegistrerings() { return ((Registrering.Builder> ) super.addRegistrerings()); } /** * Adds the given items to the value of "mappes" * * @param mappes * Items to add to the value of the "mappes" property */ @Override public Moetemappe.Builder<_B> addMappes(final Iterable mappes) { super.addMappes(mappes); return this; } /** * Adds the given items to the value of "mappes" * * @param mappes * Items to add to the value of the "mappes" property */ @Override public Moetemappe.Builder<_B> addMappes(Mappe... mappes) { super.addMappes(mappes); return this; } /** * Sets the new value of "mappes" (any previous value will be replaced) * * @param mappes * New value of the "mappes" property. */ @Override public Moetemappe.Builder<_B> withMappes(final Iterable mappes) { super.withMappes(mappes); return this; } /** * Sets the new value of "mappes" (any previous value will be replaced) * * @param mappes * New value of the "mappes" property. */ @Override public Moetemappe.Builder<_B> withMappes(Mappe... mappes) { super.withMappes(mappes); return this; } /** * Returns a new builder to build an additional value of the "mappes" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Mappe.Builder#end()} to return to * the current builder. * * @return * a new builder to build an additional value of the "mappes" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.Mappe.Builder#end()} to return to * the current builder. */ @Override public Mappe.Builder> addMappes() { return ((Mappe.Builder> ) super.addMappes()); } /** * Sets the new value of "mappetype" (any previous value will be replaced) * * @param mappetype * New value of the "mappetype" property. */ @Override public Moetemappe.Builder<_B> withMappetype(final Kode mappetype) { super.withMappetype(mappetype); return this; } /** * Returns the existing builder or a new builder to build the value of the * "mappetype" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "mappetype" property. * Use {@link no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Kode.Builder#end()} * to return to the current builder. */ public Kode.Builder> withMappetype() { return ((Kode.Builder> ) super.withMappetype()); } @Override public Moetemappe build() { if (_storedValue == null) { return this.init(new Moetemappe()); } else { return ((Moetemappe) _storedValue); } } public Moetemappe.Builder<_B> copyOf(final Moetemappe _other) { _other.copyTo(this); return this; } public Moetemappe.Builder<_B> copyOf(final Moetemappe.Builder _other) { return copyOf(_other.build()); } } public static class Select extends Moetemappe.Selector { Select() { super(null, null, null); } public static Moetemappe.Select _root() { return new Moetemappe.Select(); } } public static class Selector , TParent > extends Mappe.Selector { private com.kscs.util.jaxb.Selector> moetenummer = null; private com.kscs.util.jaxb.Selector> utvalg = null; private com.kscs.util.jaxb.Selector> moetedato = null; private com.kscs.util.jaxb.Selector> moetested = null; private com.kscs.util.jaxb.Selector> referanseForrigeMoete = null; private com.kscs.util.jaxb.Selector> referanseNesteMoete = null; private Moetedeltaker.Selector> moetedeltakers = 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.moetenummer!= null) { products.put("moetenummer", this.moetenummer.init()); } if (this.utvalg!= null) { products.put("utvalg", this.utvalg.init()); } if (this.moetedato!= null) { products.put("moetedato", this.moetedato.init()); } if (this.moetested!= null) { products.put("moetested", this.moetested.init()); } if (this.referanseForrigeMoete!= null) { products.put("referanseForrigeMoete", this.referanseForrigeMoete.init()); } if (this.referanseNesteMoete!= null) { products.put("referanseNesteMoete", this.referanseNesteMoete.init()); } if (this.moetedeltakers!= null) { products.put("moetedeltakers", this.moetedeltakers.init()); } return products; } public com.kscs.util.jaxb.Selector> moetenummer() { return ((this.moetenummer == null)?this.moetenummer = new com.kscs.util.jaxb.Selector>(this._root, this, "moetenummer"):this.moetenummer); } public com.kscs.util.jaxb.Selector> utvalg() { return ((this.utvalg == null)?this.utvalg = new com.kscs.util.jaxb.Selector>(this._root, this, "utvalg"):this.utvalg); } public com.kscs.util.jaxb.Selector> moetedato() { return ((this.moetedato == null)?this.moetedato = new com.kscs.util.jaxb.Selector>(this._root, this, "moetedato"):this.moetedato); } public com.kscs.util.jaxb.Selector> moetested() { return ((this.moetested == null)?this.moetested = new com.kscs.util.jaxb.Selector>(this._root, this, "moetested"):this.moetested); } public com.kscs.util.jaxb.Selector> referanseForrigeMoete() { return ((this.referanseForrigeMoete == null)?this.referanseForrigeMoete = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseForrigeMoete"):this.referanseForrigeMoete); } public com.kscs.util.jaxb.Selector> referanseNesteMoete() { return ((this.referanseNesteMoete == null)?this.referanseNesteMoete = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseNesteMoete"):this.referanseNesteMoete); } public Moetedeltaker.Selector> moetedeltakers() { return ((this.moetedeltakers == null)?this.moetedeltakers = new Moetedeltaker.Selector>(this._root, this, "moetedeltakers"):this.moetedeltakers); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy