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

no.ks.fiks.arkiv.v1.arkivstruktur.nokler.SaksmappeNoekler 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.Saksnummer;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;


/**
 * 

Java class for saksmappeNoekler complex type. * *

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

 * <complexType name="saksmappeNoekler">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/noekler/v1}mappeNoekler">
 *       <sequence>
 *         <element name="saksnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}saksnummer" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "saksmappeNoekler", propOrder = { "saksnummer" }) public class SaksmappeNoekler extends MappeNoekler { protected Saksnummer saksnummer; /** * Gets the value of the saksnummer property. * * @return * possible object is * {@link Saksnummer } * */ public Saksnummer getSaksnummer() { return saksnummer; } /** * Sets the value of the saksnummer property. * * @param value * allowed object is * {@link Saksnummer } * */ public void setSaksnummer(Saksnummer value) { this.saksnummer = 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 SaksmappeNoekler.Builder<_B> _other) { super.copyTo(_other); _other.saksnummer = ((this.saksnummer == null)?null:this.saksnummer.newCopyBuilder(_other)); } @Override public<_B >SaksmappeNoekler.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new SaksmappeNoekler.Builder<_B>(_parentBuilder, this, true); } @Override public SaksmappeNoekler.Builder newCopyBuilder() { return newCopyBuilder(null); } public static SaksmappeNoekler.Builder builder() { return new SaksmappeNoekler.Builder(null, null, false); } public static<_B >SaksmappeNoekler.Builder<_B> copyOf(final MappeNoekler _other) { final SaksmappeNoekler.Builder<_B> _newBuilder = new SaksmappeNoekler.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >SaksmappeNoekler.Builder<_B> copyOf(final SaksmappeNoekler _other) { final SaksmappeNoekler.Builder<_B> _newBuilder = new SaksmappeNoekler.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 SaksmappeNoekler.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); final PropertyTree saksnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksnummerPropertyTree!= null):((saksnummerPropertyTree == null)||(!saksnummerPropertyTree.isLeaf())))) { _other.saksnummer = ((this.saksnummer == null)?null:this.saksnummer.newCopyBuilder(_other, saksnummerPropertyTree, _propertyTreeUse)); } } @Override public<_B >SaksmappeNoekler.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new SaksmappeNoekler.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public SaksmappeNoekler.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >SaksmappeNoekler.Builder<_B> copyOf(final MappeNoekler _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final SaksmappeNoekler.Builder<_B> _newBuilder = new SaksmappeNoekler.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >SaksmappeNoekler.Builder<_B> copyOf(final SaksmappeNoekler _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final SaksmappeNoekler.Builder<_B> _newBuilder = new SaksmappeNoekler.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static SaksmappeNoekler.Builder copyExcept(final MappeNoekler _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static SaksmappeNoekler.Builder copyExcept(final SaksmappeNoekler _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static SaksmappeNoekler.Builder copyOnly(final MappeNoekler _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static SaksmappeNoekler.Builder copyOnly(final SaksmappeNoekler _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends MappeNoekler.Builder<_B> implements Buildable { private Saksnummer.Builder> saksnummer; public Builder(final _B _parentBuilder, final SaksmappeNoekler _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.saksnummer = ((_other.saksnummer == null)?null:_other.saksnummer.newCopyBuilder(this)); } } public Builder(final _B _parentBuilder, final SaksmappeNoekler _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { final PropertyTree saksnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("saksnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(saksnummerPropertyTree!= null):((saksnummerPropertyTree == null)||(!saksnummerPropertyTree.isLeaf())))) { this.saksnummer = ((_other.saksnummer == null)?null:_other.saksnummer.newCopyBuilder(this, saksnummerPropertyTree, _propertyTreeUse)); } } } protected<_P extends SaksmappeNoekler >_P init(final _P _product) { _product.saksnummer = ((this.saksnummer == null)?null:this.saksnummer.build()); return super.init(_product); } /** * Sets the new value of "saksnummer" (any previous value will be replaced) * * @param saksnummer * New value of the "saksnummer" property. */ public SaksmappeNoekler.Builder<_B> withSaksnummer(final Saksnummer saksnummer) { this.saksnummer = ((saksnummer == null)?null:new Saksnummer.Builder>(this, saksnummer, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "saksnummer" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksnummer.Builder#end()} to * return to the current builder. * * @return * A new builder to build the value of the "saksnummer" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Saksnummer.Builder#end()} to * return to the current builder. */ public Saksnummer.Builder> withSaksnummer() { if (this.saksnummer!= null) { return this.saksnummer; } return this.saksnummer = new Saksnummer.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 SaksmappeNoekler.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 SaksmappeNoekler.Builder<_B> withMappeID(final String mappeID) { super.withMappeID(mappeID); return this; } /** * Sets the new value of "referanseEksternNoekkel" (any previous value will be * replaced) * * @param referanseEksternNoekkel * New value of the "referanseEksternNoekkel" property. */ @Override public SaksmappeNoekler.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 SaksmappeNoekler build() { if (_storedValue == null) { return this.init(new SaksmappeNoekler()); } else { return ((SaksmappeNoekler) _storedValue); } } public SaksmappeNoekler.Builder<_B> copyOf(final SaksmappeNoekler _other) { _other.copyTo(this); return this; } public SaksmappeNoekler.Builder<_B> copyOf(final SaksmappeNoekler.Builder _other) { return copyOf(_other.build()); } } public static class Select extends SaksmappeNoekler.Selector { Select() { super(null, null, null); } public static SaksmappeNoekler.Select _root() { return new SaksmappeNoekler.Select(); } } public static class Selector , TParent > extends MappeNoekler.Selector { private Saksnummer.Selector> saksnummer = 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.saksnummer!= null) { products.put("saksnummer", this.saksnummer.init()); } return products; } public Saksnummer.Selector> saksnummer() { return ((this.saksnummer == null)?this.saksnummer = new Saksnummer.Selector>(this._root, this, "saksnummer"):this.saksnummer); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy