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

no.ks.fiks.arkiv.v1.arkivstruktur.minimum.SaksmappeMinimum 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.minimum;

import java.time.LocalDate;
import java.util.HashMap;
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.AdministrativEnhet;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksansvarlig;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksstatus;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;
import org.w3._2001.xmlschema.Adapter3;


/**
 * 

Java class for saksmappeMinimum complex type. * *

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

 * <complexType name="saksmappeMinimum">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/minimum/v1}mappeMinimum">
 *       <sequence>
 *         <element name="saksaar" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksaar"/>
 *         <element name="sakssekvensnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}sakssekvensnummer"/>
 *         <element name="saksdato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksdato"/>
 *         <element name="administrativEnhet" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}administrativEnhet"/>
 *         <element name="saksansvarlig" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksansvarlig"/>
 *         <element name="saksstatus" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksstatus"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "saksmappeMinimum", propOrder = { "saksaar", "sakssekvensnummer", "saksdato", "administrativEnhet", "saksansvarlig", "saksstatus" }) public class SaksmappeMinimum extends MappeMinimum { protected int saksaar; protected int sakssekvensnummer; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate saksdato; @XmlElement(required = true) protected AdministrativEnhet administrativEnhet; @XmlElement(required = true) protected Saksansvarlig saksansvarlig; @XmlElement(required = true) protected Saksstatus saksstatus; /** * Gets the value of the saksaar property. * */ public int getSaksaar() { return saksaar; } /** * Sets the value of the saksaar property. * */ public void setSaksaar(int value) { this.saksaar = value; } /** * Gets the value of the sakssekvensnummer property. * */ public int getSakssekvensnummer() { return sakssekvensnummer; } /** * Sets the value of the sakssekvensnummer property. * */ public void setSakssekvensnummer(int value) { this.sakssekvensnummer = value; } /** * Gets the value of the saksdato property. * * @return * possible object is * {@link String } * */ public LocalDate getSaksdato() { return saksdato; } /** * Sets the value of the saksdato property. * * @param value * allowed object is * {@link String } * */ public void setSaksdato(LocalDate value) { this.saksdato = 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 saksansvarlig property. * * @return * possible object is * {@link Saksansvarlig } * */ public Saksansvarlig getSaksansvarlig() { return saksansvarlig; } /** * Sets the value of the saksansvarlig property. * * @param value * allowed object is * {@link Saksansvarlig } * */ public void setSaksansvarlig(Saksansvarlig value) { this.saksansvarlig = value; } /** * Gets the value of the saksstatus property. * * @return * possible object is * {@link Saksstatus } * */ public Saksstatus getSaksstatus() { return saksstatus; } /** * Sets the value of the saksstatus property. * * @param value * allowed object is * {@link Saksstatus } * */ public void setSaksstatus(Saksstatus value) { this.saksstatus = value; } /** * Copies all state of this object to a builder. This method is used by the {@link * #copyOf} method and should not be called directly by client code. * * @param _other * A builder instance to which the state of this object will be copied. */ public<_B >void copyTo(final SaksmappeMinimum.Builder<_B> _other) { super.copyTo(_other); _other.saksaar = this.saksaar; _other.sakssekvensnummer = this.sakssekvensnummer; _other.saksdato = this.saksdato; _other.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.newCopyBuilder(_other)); _other.saksansvarlig = ((this.saksansvarlig == null)?null:this.saksansvarlig.newCopyBuilder(_other)); _other.saksstatus = ((this.saksstatus == null)?null:this.saksstatus.newCopyBuilder(_other)); } @Override public<_B >SaksmappeMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new SaksmappeMinimum.Builder<_B>(_parentBuilder, this, true); } @Override public SaksmappeMinimum.Builder newCopyBuilder() { return newCopyBuilder(null); } public static SaksmappeMinimum.Builder builder() { return new SaksmappeMinimum.Builder(null, null, false); } public static<_B >SaksmappeMinimum.Builder<_B> copyOf(final MappeMinimum _other) { final SaksmappeMinimum.Builder<_B> _newBuilder = new SaksmappeMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >SaksmappeMinimum.Builder<_B> copyOf(final SaksmappeMinimum _other) { final SaksmappeMinimum.Builder<_B> _newBuilder = new SaksmappeMinimum.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 SaksmappeMinimum.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); final PropertyTree saksaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksaarPropertyTree!= null):((saksaarPropertyTree == null)||(!saksaarPropertyTree.isLeaf())))) { _other.saksaar = this.saksaar; } final PropertyTree sakssekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakssekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakssekvensnummerPropertyTree!= null):((sakssekvensnummerPropertyTree == null)||(!sakssekvensnummerPropertyTree.isLeaf())))) { _other.sakssekvensnummer = this.sakssekvensnummer; } final PropertyTree saksdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksdatoPropertyTree!= null):((saksdatoPropertyTree == null)||(!saksdatoPropertyTree.isLeaf())))) { _other.saksdato = this.saksdato; } 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 saksansvarligPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksansvarlig")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksansvarligPropertyTree!= null):((saksansvarligPropertyTree == null)||(!saksansvarligPropertyTree.isLeaf())))) { _other.saksansvarlig = ((this.saksansvarlig == null)?null:this.saksansvarlig.newCopyBuilder(_other, saksansvarligPropertyTree, _propertyTreeUse)); } final PropertyTree saksstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksstatusPropertyTree!= null):((saksstatusPropertyTree == null)||(!saksstatusPropertyTree.isLeaf())))) { _other.saksstatus = ((this.saksstatus == null)?null:this.saksstatus.newCopyBuilder(_other, saksstatusPropertyTree, _propertyTreeUse)); } } @Override public<_B >SaksmappeMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new SaksmappeMinimum.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public SaksmappeMinimum.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >SaksmappeMinimum.Builder<_B> copyOf(final MappeMinimum _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final SaksmappeMinimum.Builder<_B> _newBuilder = new SaksmappeMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >SaksmappeMinimum.Builder<_B> copyOf(final SaksmappeMinimum _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final SaksmappeMinimum.Builder<_B> _newBuilder = new SaksmappeMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static SaksmappeMinimum.Builder copyExcept(final MappeMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static SaksmappeMinimum.Builder copyExcept(final SaksmappeMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static SaksmappeMinimum.Builder copyOnly(final MappeMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static SaksmappeMinimum.Builder copyOnly(final SaksmappeMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends MappeMinimum.Builder<_B> implements Buildable { private int saksaar; private int sakssekvensnummer; private LocalDate saksdato; private AdministrativEnhet.Builder> administrativEnhet; private Saksansvarlig.Builder> saksansvarlig; private Saksstatus.Builder> saksstatus; public Builder(final _B _parentBuilder, final SaksmappeMinimum _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.saksaar = _other.saksaar; this.sakssekvensnummer = _other.sakssekvensnummer; this.saksdato = _other.saksdato; this.administrativEnhet = ((_other.administrativEnhet == null)?null:_other.administrativEnhet.newCopyBuilder(this)); this.saksansvarlig = ((_other.saksansvarlig == null)?null:_other.saksansvarlig.newCopyBuilder(this)); this.saksstatus = ((_other.saksstatus == null)?null:_other.saksstatus.newCopyBuilder(this)); } } public Builder(final _B _parentBuilder, final SaksmappeMinimum _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { final PropertyTree saksaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksaarPropertyTree!= null):((saksaarPropertyTree == null)||(!saksaarPropertyTree.isLeaf())))) { this.saksaar = _other.saksaar; } final PropertyTree sakssekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("sakssekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(sakssekvensnummerPropertyTree!= null):((sakssekvensnummerPropertyTree == null)||(!sakssekvensnummerPropertyTree.isLeaf())))) { this.sakssekvensnummer = _other.sakssekvensnummer; } final PropertyTree saksdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksdatoPropertyTree!= null):((saksdatoPropertyTree == null)||(!saksdatoPropertyTree.isLeaf())))) { this.saksdato = _other.saksdato; } 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 saksansvarligPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksansvarlig")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksansvarligPropertyTree!= null):((saksansvarligPropertyTree == null)||(!saksansvarligPropertyTree.isLeaf())))) { this.saksansvarlig = ((_other.saksansvarlig == null)?null:_other.saksansvarlig.newCopyBuilder(this, saksansvarligPropertyTree, _propertyTreeUse)); } final PropertyTree saksstatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksstatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksstatusPropertyTree!= null):((saksstatusPropertyTree == null)||(!saksstatusPropertyTree.isLeaf())))) { this.saksstatus = ((_other.saksstatus == null)?null:_other.saksstatus.newCopyBuilder(this, saksstatusPropertyTree, _propertyTreeUse)); } } } protected<_P extends SaksmappeMinimum >_P init(final _P _product) { _product.saksaar = this.saksaar; _product.sakssekvensnummer = this.sakssekvensnummer; _product.saksdato = this.saksdato; _product.administrativEnhet = ((this.administrativEnhet == null)?null:this.administrativEnhet.build()); _product.saksansvarlig = ((this.saksansvarlig == null)?null:this.saksansvarlig.build()); _product.saksstatus = ((this.saksstatus == null)?null:this.saksstatus.build()); return super.init(_product); } /** * Sets the new value of "saksaar" (any previous value will be replaced) * * @param saksaar * New value of the "saksaar" property. */ public SaksmappeMinimum.Builder<_B> withSaksaar(final int saksaar) { this.saksaar = saksaar; return this; } /** * Sets the new value of "sakssekvensnummer" (any previous value will be replaced) * * @param sakssekvensnummer * New value of the "sakssekvensnummer" property. */ public SaksmappeMinimum.Builder<_B> withSakssekvensnummer(final int sakssekvensnummer) { this.sakssekvensnummer = sakssekvensnummer; return this; } /** * Sets the new value of "saksdato" (any previous value will be replaced) * * @param saksdato * New value of the "saksdato" property. */ public SaksmappeMinimum.Builder<_B> withSaksdato(final LocalDate saksdato) { this.saksdato = saksdato; return this; } /** * Sets the new value of "administrativEnhet" (any previous value will be replaced) * * @param administrativEnhet * New value of the "administrativEnhet" property. */ public SaksmappeMinimum.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> withAdministrativEnhet() { if (this.administrativEnhet!= null) { return this.administrativEnhet; } return this.administrativEnhet = new AdministrativEnhet.Builder>(this, null, false); } /** * Sets the new value of "saksansvarlig" (any previous value will be replaced) * * @param saksansvarlig * New value of the "saksansvarlig" property. */ public SaksmappeMinimum.Builder<_B> withSaksansvarlig(final Saksansvarlig saksansvarlig) { this.saksansvarlig = ((saksansvarlig == null)?null:new Saksansvarlig.Builder>(this, saksansvarlig, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "saksansvarlig" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksansvarlig.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "saksansvarlig" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksansvarlig.Builder#end()} * to return to the current builder. */ public Saksansvarlig.Builder> withSaksansvarlig() { if (this.saksansvarlig!= null) { return this.saksansvarlig; } return this.saksansvarlig = new Saksansvarlig.Builder>(this, null, false); } /** * Sets the new value of "saksstatus" (any previous value will be replaced) * * @param saksstatus * New value of the "saksstatus" property. */ public SaksmappeMinimum.Builder<_B> withSaksstatus(final Saksstatus saksstatus) { this.saksstatus = ((saksstatus == null)?null:new Saksstatus.Builder>(this, saksstatus, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "saksstatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksstatus.Builder#end()} to * return to the current builder. * * @return * A new builder to build the value of the "saksstatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksstatus.Builder#end()} to * return to the current builder. */ public Saksstatus.Builder> withSaksstatus() { if (this.saksstatus!= null) { return this.saksstatus; } return this.saksstatus = new Saksstatus.Builder>(this, null, false); } /** * Sets the new value of "systemID" (any previous value will be replaced) * * @param systemID * New value of the "systemID" property. */ @Override public SaksmappeMinimum.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 SaksmappeMinimum.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 SaksmappeMinimum.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 SaksmappeMinimum.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 SaksmappeMinimum.Builder<_B> withOffentligTittel(final String offentligTittel) { super.withOffentligTittel(offentligTittel); return this; } /** * Sets the new value of "skjerming" (any previous value will be replaced) * * @param skjerming * New value of the "skjerming" property. */ @Override public SaksmappeMinimum.Builder<_B> withSkjerming(final SkjermingMinimum 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.minimum.SkjermingMinimum.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.minimum.SkjermingMinimum.Builder#end()} to * return to the current builder. */ public SkjermingMinimum.Builder> withSkjerming() { return ((SkjermingMinimum.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 SaksmappeMinimum.Builder<_B> withGradering(final GraderingMinimum 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.minimum.GraderingMinimum.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.minimum.GraderingMinimum.Builder#end()} to * return to the current builder. */ public GraderingMinimum.Builder> withGradering() { return ((GraderingMinimum.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 SaksmappeMinimum.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 SaksmappeMinimum.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 SaksmappeMinimum.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 SaksmappeMinimum.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.minimum.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.minimum.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 SaksmappeMinimum.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()); } @Override public SaksmappeMinimum build() { if (_storedValue == null) { return this.init(new SaksmappeMinimum()); } else { return ((SaksmappeMinimum) _storedValue); } } public SaksmappeMinimum.Builder<_B> copyOf(final SaksmappeMinimum _other) { _other.copyTo(this); return this; } public SaksmappeMinimum.Builder<_B> copyOf(final SaksmappeMinimum.Builder _other) { return copyOf(_other.build()); } } public static class Select extends SaksmappeMinimum.Selector { Select() { super(null, null, null); } public static SaksmappeMinimum.Select _root() { return new SaksmappeMinimum.Select(); } } public static class Selector , TParent > extends MappeMinimum.Selector { private com.kscs.util.jaxb.Selector> saksdato = null; private AdministrativEnhet.Selector> administrativEnhet = null; private Saksansvarlig.Selector> saksansvarlig = null; private Saksstatus.Selector> saksstatus = 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.saksdato!= null) { products.put("saksdato", this.saksdato.init()); } if (this.administrativEnhet!= null) { products.put("administrativEnhet", this.administrativEnhet.init()); } if (this.saksansvarlig!= null) { products.put("saksansvarlig", this.saksansvarlig.init()); } if (this.saksstatus!= null) { products.put("saksstatus", this.saksstatus.init()); } return products; } public com.kscs.util.jaxb.Selector> saksdato() { return ((this.saksdato == null)?this.saksdato = new com.kscs.util.jaxb.Selector>(this._root, this, "saksdato"):this.saksdato); } public AdministrativEnhet.Selector> administrativEnhet() { return ((this.administrativEnhet == null)?this.administrativEnhet = new AdministrativEnhet.Selector>(this._root, this, "administrativEnhet"):this.administrativEnhet); } public Saksansvarlig.Selector> saksansvarlig() { return ((this.saksansvarlig == null)?this.saksansvarlig = new Saksansvarlig.Selector>(this._root, this, "saksansvarlig"):this.saksansvarlig); } public Saksstatus.Selector> saksstatus() { return ((this.saksstatus == null)?this.saksstatus = new Saksstatus.Selector>(this._root, this, "saksstatus"):this.saksstatus); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy