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

no.ks.fiks.arkiv.v1.arkivstruktur.Kryssreferanse 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.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.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.ReferanseTilMappe;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilRegistrering;


/**
 * 

Java class for kryssreferanse complex type. * *

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

 * <complexType name="kryssreferanse">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="kryssreferanseID" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}kryssreferanseID"/>
 *         <element name="referanseTilKlasse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseTilKlasse" minOccurs="0"/>
 *         <element name="referanseTilMappe" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseTilMappe" minOccurs="0"/>
 *         <element name="referanseTilRegistrering" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseTilRegistrering" minOccurs="0"/>
 *         <element name="referanseTilDokumentbeskrivelse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseTilDokumentbeskrivelse" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "kryssreferanse", propOrder = { "kryssreferanseID", "referanseTilKlasse", "referanseTilMappe", "referanseTilRegistrering", "referanseTilDokumentbeskrivelse" }) public class Kryssreferanse { @XmlElement(required = true) protected String kryssreferanseID; protected String referanseTilKlasse; protected ReferanseTilMappe referanseTilMappe; protected ReferanseTilRegistrering referanseTilRegistrering; protected String referanseTilDokumentbeskrivelse; /** * Gets the value of the kryssreferanseID property. * * @return * possible object is * {@link String } * */ public String getKryssreferanseID() { return kryssreferanseID; } /** * Sets the value of the kryssreferanseID property. * * @param value * allowed object is * {@link String } * */ public void setKryssreferanseID(String value) { this.kryssreferanseID = value; } /** * Gets the value of the referanseTilKlasse property. * * @return * possible object is * {@link String } * */ public String getReferanseTilKlasse() { return referanseTilKlasse; } /** * Sets the value of the referanseTilKlasse property. * * @param value * allowed object is * {@link String } * */ public void setReferanseTilKlasse(String value) { this.referanseTilKlasse = value; } /** * Gets the value of the referanseTilMappe property. * * @return * possible object is * {@link ReferanseTilMappe } * */ public ReferanseTilMappe getReferanseTilMappe() { return referanseTilMappe; } /** * Sets the value of the referanseTilMappe property. * * @param value * allowed object is * {@link ReferanseTilMappe } * */ public void setReferanseTilMappe(ReferanseTilMappe value) { this.referanseTilMappe = value; } /** * Gets the value of the referanseTilRegistrering property. * * @return * possible object is * {@link ReferanseTilRegistrering } * */ public ReferanseTilRegistrering getReferanseTilRegistrering() { return referanseTilRegistrering; } /** * Sets the value of the referanseTilRegistrering property. * * @param value * allowed object is * {@link ReferanseTilRegistrering } * */ public void setReferanseTilRegistrering(ReferanseTilRegistrering value) { this.referanseTilRegistrering = value; } /** * Gets the value of the referanseTilDokumentbeskrivelse property. * * @return * possible object is * {@link String } * */ public String getReferanseTilDokumentbeskrivelse() { return referanseTilDokumentbeskrivelse; } /** * Sets the value of the referanseTilDokumentbeskrivelse property. * * @param value * allowed object is * {@link String } * */ public void setReferanseTilDokumentbeskrivelse(String value) { this.referanseTilDokumentbeskrivelse = 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 Kryssreferanse.Builder<_B> _other) { _other.kryssreferanseID = this.kryssreferanseID; _other.referanseTilKlasse = this.referanseTilKlasse; _other.referanseTilMappe = ((this.referanseTilMappe == null)?null:this.referanseTilMappe.newCopyBuilder(_other)); _other.referanseTilRegistrering = ((this.referanseTilRegistrering == null)?null:this.referanseTilRegistrering.newCopyBuilder(_other)); _other.referanseTilDokumentbeskrivelse = this.referanseTilDokumentbeskrivelse; } public<_B >Kryssreferanse.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new Kryssreferanse.Builder<_B>(_parentBuilder, this, true); } public Kryssreferanse.Builder newCopyBuilder() { return newCopyBuilder(null); } public static Kryssreferanse.Builder builder() { return new Kryssreferanse.Builder(null, null, false); } public static<_B >Kryssreferanse.Builder<_B> copyOf(final Kryssreferanse _other) { final Kryssreferanse.Builder<_B> _newBuilder = new Kryssreferanse.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 Kryssreferanse.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PropertyTree kryssreferanseIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kryssreferanseID")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kryssreferanseIDPropertyTree!= null):((kryssreferanseIDPropertyTree == null)||(!kryssreferanseIDPropertyTree.isLeaf())))) { _other.kryssreferanseID = this.kryssreferanseID; } final PropertyTree referanseTilKlassePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilKlasse")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilKlassePropertyTree!= null):((referanseTilKlassePropertyTree == null)||(!referanseTilKlassePropertyTree.isLeaf())))) { _other.referanseTilKlasse = this.referanseTilKlasse; } final PropertyTree referanseTilMappePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilMappe")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilMappePropertyTree!= null):((referanseTilMappePropertyTree == null)||(!referanseTilMappePropertyTree.isLeaf())))) { _other.referanseTilMappe = ((this.referanseTilMappe == null)?null:this.referanseTilMappe.newCopyBuilder(_other, referanseTilMappePropertyTree, _propertyTreeUse)); } final PropertyTree referanseTilRegistreringPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilRegistrering")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilRegistreringPropertyTree!= null):((referanseTilRegistreringPropertyTree == null)||(!referanseTilRegistreringPropertyTree.isLeaf())))) { _other.referanseTilRegistrering = ((this.referanseTilRegistrering == null)?null:this.referanseTilRegistrering.newCopyBuilder(_other, referanseTilRegistreringPropertyTree, _propertyTreeUse)); } final PropertyTree referanseTilDokumentbeskrivelsePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilDokumentbeskrivelse")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilDokumentbeskrivelsePropertyTree!= null):((referanseTilDokumentbeskrivelsePropertyTree == null)||(!referanseTilDokumentbeskrivelsePropertyTree.isLeaf())))) { _other.referanseTilDokumentbeskrivelse = this.referanseTilDokumentbeskrivelse; } } public<_B >Kryssreferanse.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new Kryssreferanse.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public Kryssreferanse.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >Kryssreferanse.Builder<_B> copyOf(final Kryssreferanse _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Kryssreferanse.Builder<_B> _newBuilder = new Kryssreferanse.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static Kryssreferanse.Builder copyExcept(final Kryssreferanse _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static Kryssreferanse.Builder copyOnly(final Kryssreferanse _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final Kryssreferanse _storedValue; private String kryssreferanseID; private String referanseTilKlasse; private ReferanseTilMappe.Builder> referanseTilMappe; private ReferanseTilRegistrering.Builder> referanseTilRegistrering; private String referanseTilDokumentbeskrivelse; public Builder(final _B _parentBuilder, final Kryssreferanse _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.kryssreferanseID = _other.kryssreferanseID; this.referanseTilKlasse = _other.referanseTilKlasse; this.referanseTilMappe = ((_other.referanseTilMappe == null)?null:_other.referanseTilMappe.newCopyBuilder(this)); this.referanseTilRegistrering = ((_other.referanseTilRegistrering == null)?null:_other.referanseTilRegistrering.newCopyBuilder(this)); this.referanseTilDokumentbeskrivelse = _other.referanseTilDokumentbeskrivelse; } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final Kryssreferanse _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; final PropertyTree kryssreferanseIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kryssreferanseID")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kryssreferanseIDPropertyTree!= null):((kryssreferanseIDPropertyTree == null)||(!kryssreferanseIDPropertyTree.isLeaf())))) { this.kryssreferanseID = _other.kryssreferanseID; } final PropertyTree referanseTilKlassePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilKlasse")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilKlassePropertyTree!= null):((referanseTilKlassePropertyTree == null)||(!referanseTilKlassePropertyTree.isLeaf())))) { this.referanseTilKlasse = _other.referanseTilKlasse; } final PropertyTree referanseTilMappePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilMappe")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilMappePropertyTree!= null):((referanseTilMappePropertyTree == null)||(!referanseTilMappePropertyTree.isLeaf())))) { this.referanseTilMappe = ((_other.referanseTilMappe == null)?null:_other.referanseTilMappe.newCopyBuilder(this, referanseTilMappePropertyTree, _propertyTreeUse)); } final PropertyTree referanseTilRegistreringPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilRegistrering")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilRegistreringPropertyTree!= null):((referanseTilRegistreringPropertyTree == null)||(!referanseTilRegistreringPropertyTree.isLeaf())))) { this.referanseTilRegistrering = ((_other.referanseTilRegistrering == null)?null:_other.referanseTilRegistrering.newCopyBuilder(this, referanseTilRegistreringPropertyTree, _propertyTreeUse)); } final PropertyTree referanseTilDokumentbeskrivelsePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseTilDokumentbeskrivelse")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseTilDokumentbeskrivelsePropertyTree!= null):((referanseTilDokumentbeskrivelsePropertyTree == null)||(!referanseTilDokumentbeskrivelsePropertyTree.isLeaf())))) { this.referanseTilDokumentbeskrivelse = _other.referanseTilDokumentbeskrivelse; } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends Kryssreferanse >_P init(final _P _product) { _product.kryssreferanseID = this.kryssreferanseID; _product.referanseTilKlasse = this.referanseTilKlasse; _product.referanseTilMappe = ((this.referanseTilMappe == null)?null:this.referanseTilMappe.build()); _product.referanseTilRegistrering = ((this.referanseTilRegistrering == null)?null:this.referanseTilRegistrering.build()); _product.referanseTilDokumentbeskrivelse = this.referanseTilDokumentbeskrivelse; return _product; } /** * Sets the new value of "kryssreferanseID" (any previous value will be replaced) * * @param kryssreferanseID * New value of the "kryssreferanseID" property. */ public Kryssreferanse.Builder<_B> withKryssreferanseID(final String kryssreferanseID) { this.kryssreferanseID = kryssreferanseID; return this; } /** * Sets the new value of "referanseTilKlasse" (any previous value will be replaced) * * @param referanseTilKlasse * New value of the "referanseTilKlasse" property. */ public Kryssreferanse.Builder<_B> withReferanseTilKlasse(final String referanseTilKlasse) { this.referanseTilKlasse = referanseTilKlasse; return this; } /** * Sets the new value of "referanseTilMappe" (any previous value will be replaced) * * @param referanseTilMappe * New value of the "referanseTilMappe" property. */ public Kryssreferanse.Builder<_B> withReferanseTilMappe(final ReferanseTilMappe referanseTilMappe) { this.referanseTilMappe = ((referanseTilMappe == null)?null:new ReferanseTilMappe.Builder>(this, referanseTilMappe, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "referanseTilMappe" 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 "referanseTilMappe" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilMappe.Builder#end()} * to return to the current builder. */ public ReferanseTilMappe.Builder> withReferanseTilMappe() { if (this.referanseTilMappe!= null) { return this.referanseTilMappe; } return this.referanseTilMappe = new ReferanseTilMappe.Builder>(this, null, false); } /** * Sets the new value of "referanseTilRegistrering" (any previous value will be * replaced) * * @param referanseTilRegistrering * New value of the "referanseTilRegistrering" property. */ public Kryssreferanse.Builder<_B> withReferanseTilRegistrering(final ReferanseTilRegistrering referanseTilRegistrering) { this.referanseTilRegistrering = ((referanseTilRegistrering == null)?null:new ReferanseTilRegistrering.Builder>(this, referanseTilRegistrering, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "referanseTilRegistrering" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilRegistrering.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "referanseTilRegistrering" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.ReferanseTilRegistrering.Builder#end()} * to return to the current builder. */ public ReferanseTilRegistrering.Builder> withReferanseTilRegistrering() { if (this.referanseTilRegistrering!= null) { return this.referanseTilRegistrering; } return this.referanseTilRegistrering = new ReferanseTilRegistrering.Builder>(this, null, false); } /** * Sets the new value of "referanseTilDokumentbeskrivelse" (any previous value will * be replaced) * * @param referanseTilDokumentbeskrivelse * New value of the "referanseTilDokumentbeskrivelse" property. */ public Kryssreferanse.Builder<_B> withReferanseTilDokumentbeskrivelse(final String referanseTilDokumentbeskrivelse) { this.referanseTilDokumentbeskrivelse = referanseTilDokumentbeskrivelse; return this; } @Override public Kryssreferanse build() { if (_storedValue == null) { return this.init(new Kryssreferanse()); } else { return ((Kryssreferanse) _storedValue); } } public Kryssreferanse.Builder<_B> copyOf(final Kryssreferanse _other) { _other.copyTo(this); return this; } public Kryssreferanse.Builder<_B> copyOf(final Kryssreferanse.Builder _other) { return copyOf(_other.build()); } } public static class Select extends Kryssreferanse.Selector { Select() { super(null, null, null); } public static Kryssreferanse.Select _root() { return new Kryssreferanse.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private com.kscs.util.jaxb.Selector> kryssreferanseID = null; private com.kscs.util.jaxb.Selector> referanseTilKlasse = null; private ReferanseTilMappe.Selector> referanseTilMappe = null; private ReferanseTilRegistrering.Selector> referanseTilRegistrering = null; private com.kscs.util.jaxb.Selector> referanseTilDokumentbeskrivelse = 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.kryssreferanseID!= null) { products.put("kryssreferanseID", this.kryssreferanseID.init()); } if (this.referanseTilKlasse!= null) { products.put("referanseTilKlasse", this.referanseTilKlasse.init()); } if (this.referanseTilMappe!= null) { products.put("referanseTilMappe", this.referanseTilMappe.init()); } if (this.referanseTilRegistrering!= null) { products.put("referanseTilRegistrering", this.referanseTilRegistrering.init()); } if (this.referanseTilDokumentbeskrivelse!= null) { products.put("referanseTilDokumentbeskrivelse", this.referanseTilDokumentbeskrivelse.init()); } return products; } public com.kscs.util.jaxb.Selector> kryssreferanseID() { return ((this.kryssreferanseID == null)?this.kryssreferanseID = new com.kscs.util.jaxb.Selector>(this._root, this, "kryssreferanseID"):this.kryssreferanseID); } public com.kscs.util.jaxb.Selector> referanseTilKlasse() { return ((this.referanseTilKlasse == null)?this.referanseTilKlasse = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseTilKlasse"):this.referanseTilKlasse); } public ReferanseTilMappe.Selector> referanseTilMappe() { return ((this.referanseTilMappe == null)?this.referanseTilMappe = new ReferanseTilMappe.Selector>(this._root, this, "referanseTilMappe"):this.referanseTilMappe); } public ReferanseTilRegistrering.Selector> referanseTilRegistrering() { return ((this.referanseTilRegistrering == null)?this.referanseTilRegistrering = new ReferanseTilRegistrering.Selector>(this._root, this, "referanseTilRegistrering"):this.referanseTilRegistrering); } public com.kscs.util.jaxb.Selector> referanseTilDokumentbeskrivelse() { return ((this.referanseTilDokumentbeskrivelse == null)?this.referanseTilDokumentbeskrivelse = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseTilDokumentbeskrivelse"):this.referanseTilDokumentbeskrivelse); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy