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

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

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.XmlType;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.EksternNoekkel;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;


/**
 * 

Java class for journalpostNoekler complex type. * *

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

 * <complexType name="journalpostNoekler">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/noekler/v1}registreringNoekler">
 *       <sequence>
 *         <element name="journalaar" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalaar" minOccurs="0"/>
 *         <element name="journalsekvensnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalsekvensnummer" minOccurs="0"/>
 *         <element name="journalpostnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}journalpostnummer" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "journalpostNoekler", propOrder = { "journalaar", "journalsekvensnummer", "journalpostnummer" }) public class JournalpostNoekler extends RegistreringNoekler { protected Integer journalaar; protected Integer journalsekvensnummer; protected Integer journalpostnummer; /** * Gets the value of the journalaar property. * * @return * possible object is * {@link Integer } * */ public Integer getJournalaar() { return journalaar; } /** * Sets the value of the journalaar property. * * @param value * allowed object is * {@link Integer } * */ public void setJournalaar(Integer value) { this.journalaar = value; } /** * Gets the value of the journalsekvensnummer property. * * @return * possible object is * {@link Integer } * */ public Integer getJournalsekvensnummer() { return journalsekvensnummer; } /** * Sets the value of the journalsekvensnummer property. * * @param value * allowed object is * {@link Integer } * */ public void setJournalsekvensnummer(Integer value) { this.journalsekvensnummer = value; } /** * Gets the value of the journalpostnummer property. * * @return * possible object is * {@link Integer } * */ public Integer getJournalpostnummer() { return journalpostnummer; } /** * Sets the value of the journalpostnummer property. * * @param value * allowed object is * {@link Integer } * */ public void setJournalpostnummer(Integer value) { this.journalpostnummer = 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 JournalpostNoekler.Builder<_B> _other) { super.copyTo(_other); _other.journalaar = this.journalaar; _other.journalsekvensnummer = this.journalsekvensnummer; _other.journalpostnummer = this.journalpostnummer; } @Override public<_B >JournalpostNoekler.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new JournalpostNoekler.Builder<_B>(_parentBuilder, this, true); } @Override public JournalpostNoekler.Builder newCopyBuilder() { return newCopyBuilder(null); } public static JournalpostNoekler.Builder builder() { return new JournalpostNoekler.Builder(null, null, false); } public static<_B >JournalpostNoekler.Builder<_B> copyOf(final RegistreringNoekler _other) { final JournalpostNoekler.Builder<_B> _newBuilder = new JournalpostNoekler.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >JournalpostNoekler.Builder<_B> copyOf(final JournalpostNoekler _other) { final JournalpostNoekler.Builder<_B> _newBuilder = new JournalpostNoekler.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 JournalpostNoekler.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); final PropertyTree journalaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalaarPropertyTree!= null):((journalaarPropertyTree == null)||(!journalaarPropertyTree.isLeaf())))) { _other.journalaar = this.journalaar; } final PropertyTree journalsekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalsekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalsekvensnummerPropertyTree!= null):((journalsekvensnummerPropertyTree == null)||(!journalsekvensnummerPropertyTree.isLeaf())))) { _other.journalsekvensnummer = this.journalsekvensnummer; } final PropertyTree journalpostnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalpostnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalpostnummerPropertyTree!= null):((journalpostnummerPropertyTree == null)||(!journalpostnummerPropertyTree.isLeaf())))) { _other.journalpostnummer = this.journalpostnummer; } } @Override public<_B >JournalpostNoekler.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new JournalpostNoekler.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public JournalpostNoekler.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >JournalpostNoekler.Builder<_B> copyOf(final RegistreringNoekler _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostNoekler.Builder<_B> _newBuilder = new JournalpostNoekler.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >JournalpostNoekler.Builder<_B> copyOf(final JournalpostNoekler _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final JournalpostNoekler.Builder<_B> _newBuilder = new JournalpostNoekler.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static JournalpostNoekler.Builder copyExcept(final RegistreringNoekler _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostNoekler.Builder copyExcept(final JournalpostNoekler _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static JournalpostNoekler.Builder copyOnly(final RegistreringNoekler _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static JournalpostNoekler.Builder copyOnly(final JournalpostNoekler _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends RegistreringNoekler.Builder<_B> implements Buildable { private Integer journalaar; private Integer journalsekvensnummer; private Integer journalpostnummer; public Builder(final _B _parentBuilder, final JournalpostNoekler _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.journalaar = _other.journalaar; this.journalsekvensnummer = _other.journalsekvensnummer; this.journalpostnummer = _other.journalpostnummer; } } public Builder(final _B _parentBuilder, final JournalpostNoekler _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { final PropertyTree journalaarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalaar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalaarPropertyTree!= null):((journalaarPropertyTree == null)||(!journalaarPropertyTree.isLeaf())))) { this.journalaar = _other.journalaar; } final PropertyTree journalsekvensnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalsekvensnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalsekvensnummerPropertyTree!= null):((journalsekvensnummerPropertyTree == null)||(!journalsekvensnummerPropertyTree.isLeaf())))) { this.journalsekvensnummer = _other.journalsekvensnummer; } final PropertyTree journalpostnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("journalpostnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(journalpostnummerPropertyTree!= null):((journalpostnummerPropertyTree == null)||(!journalpostnummerPropertyTree.isLeaf())))) { this.journalpostnummer = _other.journalpostnummer; } } } protected<_P extends JournalpostNoekler >_P init(final _P _product) { _product.journalaar = this.journalaar; _product.journalsekvensnummer = this.journalsekvensnummer; _product.journalpostnummer = this.journalpostnummer; return super.init(_product); } /** * Sets the new value of "journalaar" (any previous value will be replaced) * * @param journalaar * New value of the "journalaar" property. */ public JournalpostNoekler.Builder<_B> withJournalaar(final Integer journalaar) { this.journalaar = journalaar; return this; } /** * Sets the new value of "journalsekvensnummer" (any previous value will be * replaced) * * @param journalsekvensnummer * New value of the "journalsekvensnummer" property. */ public JournalpostNoekler.Builder<_B> withJournalsekvensnummer(final Integer journalsekvensnummer) { this.journalsekvensnummer = journalsekvensnummer; return this; } /** * Sets the new value of "journalpostnummer" (any previous value will be replaced) * * @param journalpostnummer * New value of the "journalpostnummer" property. */ public JournalpostNoekler.Builder<_B> withJournalpostnummer(final Integer journalpostnummer) { this.journalpostnummer = journalpostnummer; return this; } /** * Sets the new value of "systemID" (any previous value will be replaced) * * @param systemID * New value of the "systemID" property. */ @Override public JournalpostNoekler.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 "referanseEksternNoekkel" (any previous value will be * replaced) * * @param referanseEksternNoekkel * New value of the "referanseEksternNoekkel" property. */ @Override public JournalpostNoekler.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 JournalpostNoekler build() { if (_storedValue == null) { return this.init(new JournalpostNoekler()); } else { return ((JournalpostNoekler) _storedValue); } } public JournalpostNoekler.Builder<_B> copyOf(final JournalpostNoekler _other) { _other.copyTo(this); return this; } public JournalpostNoekler.Builder<_B> copyOf(final JournalpostNoekler.Builder _other) { return copyOf(_other.build()); } } public static class Select extends JournalpostNoekler.Selector { Select() { super(null, null, null); } public static JournalpostNoekler.Select _root() { return new JournalpostNoekler.Select(); } } public static class Selector , TParent > extends RegistreringNoekler.Selector { private com.kscs.util.jaxb.Selector> journalaar = null; private com.kscs.util.jaxb.Selector> journalsekvensnummer = null; private com.kscs.util.jaxb.Selector> journalpostnummer = 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.journalaar!= null) { products.put("journalaar", this.journalaar.init()); } if (this.journalsekvensnummer!= null) { products.put("journalsekvensnummer", this.journalsekvensnummer.init()); } if (this.journalpostnummer!= null) { products.put("journalpostnummer", this.journalpostnummer.init()); } return products; } public com.kscs.util.jaxb.Selector> journalaar() { return ((this.journalaar == null)?this.journalaar = new com.kscs.util.jaxb.Selector>(this._root, this, "journalaar"):this.journalaar); } public com.kscs.util.jaxb.Selector> journalsekvensnummer() { return ((this.journalsekvensnummer == null)?this.journalsekvensnummer = new com.kscs.util.jaxb.Selector>(this._root, this, "journalsekvensnummer"):this.journalsekvensnummer); } public com.kscs.util.jaxb.Selector> journalpostnummer() { return ((this.journalpostnummer == null)?this.journalpostnummer = new com.kscs.util.jaxb.Selector>(this._root, this, "journalpostnummer"):this.journalpostnummer); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy