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

no.ks.fiks.arkiv.v1.arkivmelding.opprett.kvittering.SaksmappeKvittering 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.arkivmelding.opprett.kvittering;

import java.time.LocalDate;
import java.time.ZonedDateTime;
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.EksternNoekkel;
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 saksmappeKvittering complex type. * *

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

 * <complexType name="saksmappeKvittering">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/kvittering/v1}mappeKvittering">
 *       <sequence>
 *         <element name="saksaar" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksaar" minOccurs="0"/>
 *         <element name="sakssekvensnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}sakssekvensnummer" minOccurs="0"/>
 *         <element name="saksdato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksdato" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "saksmappeKvittering", propOrder = { "saksaar", "sakssekvensnummer", "saksdato" }) public class SaksmappeKvittering extends MappeKvittering { protected Integer saksaar; protected Integer sakssekvensnummer; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter3 .class) @XmlSchemaType(name = "date") protected LocalDate saksdato; /** * Gets the value of the saksaar property. * * @return * possible object is * {@link Integer } * */ public Integer getSaksaar() { return saksaar; } /** * Sets the value of the saksaar property. * * @param value * allowed object is * {@link Integer } * */ public void setSaksaar(Integer value) { this.saksaar = value; } /** * Gets the value of the sakssekvensnummer property. * * @return * possible object is * {@link Integer } * */ public Integer getSakssekvensnummer() { return sakssekvensnummer; } /** * Sets the value of the sakssekvensnummer property. * * @param value * allowed object is * {@link Integer } * */ public void setSakssekvensnummer(Integer 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; } /** * 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 SaksmappeKvittering.Builder<_B> _other) { super.copyTo(_other); _other.saksaar = this.saksaar; _other.sakssekvensnummer = this.sakssekvensnummer; _other.saksdato = this.saksdato; } @Override public<_B >SaksmappeKvittering.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new SaksmappeKvittering.Builder<_B>(_parentBuilder, this, true); } @Override public SaksmappeKvittering.Builder newCopyBuilder() { return newCopyBuilder(null); } public static SaksmappeKvittering.Builder builder() { return new SaksmappeKvittering.Builder(null, null, false); } public static<_B >SaksmappeKvittering.Builder<_B> copyOf(final MappeKvittering _other) { final SaksmappeKvittering.Builder<_B> _newBuilder = new SaksmappeKvittering.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >SaksmappeKvittering.Builder<_B> copyOf(final SaksmappeKvittering _other) { final SaksmappeKvittering.Builder<_B> _newBuilder = new SaksmappeKvittering.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 SaksmappeKvittering.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; } } @Override public<_B >SaksmappeKvittering.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new SaksmappeKvittering.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public SaksmappeKvittering.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >SaksmappeKvittering.Builder<_B> copyOf(final MappeKvittering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final SaksmappeKvittering.Builder<_B> _newBuilder = new SaksmappeKvittering.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >SaksmappeKvittering.Builder<_B> copyOf(final SaksmappeKvittering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final SaksmappeKvittering.Builder<_B> _newBuilder = new SaksmappeKvittering.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static SaksmappeKvittering.Builder copyExcept(final MappeKvittering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static SaksmappeKvittering.Builder copyExcept(final SaksmappeKvittering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static SaksmappeKvittering.Builder copyOnly(final MappeKvittering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static SaksmappeKvittering.Builder copyOnly(final SaksmappeKvittering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends MappeKvittering.Builder<_B> implements Buildable { private Integer saksaar; private Integer sakssekvensnummer; private LocalDate saksdato; public Builder(final _B _parentBuilder, final SaksmappeKvittering _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.saksaar = _other.saksaar; this.sakssekvensnummer = _other.sakssekvensnummer; this.saksdato = _other.saksdato; } } public Builder(final _B _parentBuilder, final SaksmappeKvittering _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; } } } protected<_P extends SaksmappeKvittering >_P init(final _P _product) { _product.saksaar = this.saksaar; _product.sakssekvensnummer = this.sakssekvensnummer; _product.saksdato = this.saksdato; 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 SaksmappeKvittering.Builder<_B> withSaksaar(final Integer 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 SaksmappeKvittering.Builder<_B> withSakssekvensnummer(final Integer 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 SaksmappeKvittering.Builder<_B> withSaksdato(final LocalDate saksdato) { this.saksdato = saksdato; return this; } /** * Sets the new value of "systemID" (any previous value will be replaced) * * @param systemID * New value of the "systemID" property. */ @Override public SaksmappeKvittering.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 SaksmappeKvittering.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 SaksmappeKvittering.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 "opprettetDato" (any previous value will be replaced) * * @param opprettetDato * New value of the "opprettetDato" property. */ @Override public SaksmappeKvittering.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 SaksmappeKvittering.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 SaksmappeKvittering.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 SaksmappeKvittering.Builder<_B> withAvsluttetAv(final String avsluttetAv) { super.withAvsluttetAv(avsluttetAv); return this; } /** * Sets the new value of "referanseEksternNoekkel" (any previous value will be * replaced) * * @param referanseEksternNoekkel * New value of the "referanseEksternNoekkel" property. */ @Override public SaksmappeKvittering.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 "registreringKvitterings" * * @param registreringKvitterings * Items to add to the value of the "registreringKvitterings" property */ @Override public SaksmappeKvittering.Builder<_B> addRegistreringKvitterings(final Iterable registreringKvitterings) { super.addRegistreringKvitterings(registreringKvitterings); return this; } /** * Adds the given items to the value of "registreringKvitterings" * * @param registreringKvitterings * Items to add to the value of the "registreringKvitterings" property */ @Override public SaksmappeKvittering.Builder<_B> addRegistreringKvitterings(RegistreringKvittering... registreringKvitterings) { super.addRegistreringKvitterings(registreringKvitterings); return this; } /** * Sets the new value of "registreringKvitterings" (any previous value will be * replaced) * * @param registreringKvitterings * New value of the "registreringKvitterings" property. */ @Override public SaksmappeKvittering.Builder<_B> withRegistreringKvitterings(final Iterable registreringKvitterings) { super.withRegistreringKvitterings(registreringKvitterings); return this; } /** * Sets the new value of "registreringKvitterings" (any previous value will be * replaced) * * @param registreringKvitterings * New value of the "registreringKvitterings" property. */ @Override public SaksmappeKvittering.Builder<_B> withRegistreringKvitterings(RegistreringKvittering... registreringKvitterings) { super.withRegistreringKvitterings(registreringKvitterings); return this; } /** * Returns a new builder to build an additional value of the * "registreringKvitterings" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivmelding.opprett.kvittering.RegistreringKvittering.Builder#end()} * to return to the current builder. * * @return * a new builder to build an additional value of the "registreringKvitterings" * property. * Use {@link * no.ks.fiks.arkiv.v1.arkivmelding.opprett.kvittering.RegistreringKvittering.Builder#end()} * to return to the current builder. */ @Override public RegistreringKvittering.Builder> addRegistreringKvitterings() { return ((RegistreringKvittering.Builder> ) super.addRegistreringKvitterings()); } /** * Adds the given items to the value of "mappeKvitterings" * * @param mappeKvitterings * Items to add to the value of the "mappeKvitterings" property */ @Override public SaksmappeKvittering.Builder<_B> addMappeKvitterings(final Iterable mappeKvitterings) { super.addMappeKvitterings(mappeKvitterings); return this; } /** * Adds the given items to the value of "mappeKvitterings" * * @param mappeKvitterings * Items to add to the value of the "mappeKvitterings" property */ @Override public SaksmappeKvittering.Builder<_B> addMappeKvitterings(MappeKvittering... mappeKvitterings) { super.addMappeKvitterings(mappeKvitterings); return this; } /** * Sets the new value of "mappeKvitterings" (any previous value will be replaced) * * @param mappeKvitterings * New value of the "mappeKvitterings" property. */ @Override public SaksmappeKvittering.Builder<_B> withMappeKvitterings(final Iterable mappeKvitterings) { super.withMappeKvitterings(mappeKvitterings); return this; } /** * Sets the new value of "mappeKvitterings" (any previous value will be replaced) * * @param mappeKvitterings * New value of the "mappeKvitterings" property. */ @Override public SaksmappeKvittering.Builder<_B> withMappeKvitterings(MappeKvittering... mappeKvitterings) { super.withMappeKvitterings(mappeKvitterings); return this; } /** * Returns a new builder to build an additional value of the "mappeKvitterings" * property. * Use {@link * no.ks.fiks.arkiv.v1.arkivmelding.opprett.kvittering.MappeKvittering.Builder#end()} * to return to the current builder. * * @return * a new builder to build an additional value of the "mappeKvitterings" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivmelding.opprett.kvittering.MappeKvittering.Builder#end()} * to return to the current builder. */ @Override public MappeKvittering.Builder> addMappeKvitterings() { return ((MappeKvittering.Builder> ) super.addMappeKvitterings()); } @Override public SaksmappeKvittering build() { if (_storedValue == null) { return this.init(new SaksmappeKvittering()); } else { return ((SaksmappeKvittering) _storedValue); } } public SaksmappeKvittering.Builder<_B> copyOf(final SaksmappeKvittering _other) { _other.copyTo(this); return this; } public SaksmappeKvittering.Builder<_B> copyOf(final SaksmappeKvittering.Builder _other) { return copyOf(_other.build()); } } public static class Select extends SaksmappeKvittering.Selector { Select() { super(null, null, null); } public static SaksmappeKvittering.Select _root() { return new SaksmappeKvittering.Select(); } } public static class Selector , TParent > extends MappeKvittering.Selector { private com.kscs.util.jaxb.Selector> saksaar = null; private com.kscs.util.jaxb.Selector> sakssekvensnummer = null; private com.kscs.util.jaxb.Selector> saksdato = 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.saksaar!= null) { products.put("saksaar", this.saksaar.init()); } if (this.sakssekvensnummer!= null) { products.put("sakssekvensnummer", this.sakssekvensnummer.init()); } if (this.saksdato!= null) { products.put("saksdato", this.saksdato.init()); } return products; } public com.kscs.util.jaxb.Selector> saksaar() { return ((this.saksaar == null)?this.saksaar = new com.kscs.util.jaxb.Selector>(this._root, this, "saksaar"):this.saksaar); } public com.kscs.util.jaxb.Selector> sakssekvensnummer() { return ((this.sakssekvensnummer == null)?this.sakssekvensnummer = new com.kscs.util.jaxb.Selector>(this._root, this, "sakssekvensnummer"):this.sakssekvensnummer); } 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); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy