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

no.ks.fiks.arkiv.v1.arkivstruktur.minimum.DokumentobjektMinimum 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.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.Format;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Variantformat;


/**
 * 

Java class for dokumentobjektMinimum complex type. * *

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

 * <complexType name="dokumentobjektMinimum">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="systemID" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}systemID"/>
 *         <element name="versjonsnummer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}versjonsnummer"/>
 *         <element name="variantformat" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}variantformat"/>
 *         <element name="format" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}format"/>
 *         <element name="formatDetaljer" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}formatDetaljer" minOccurs="0"/>
 *         <element name="referanseDokumentfil" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseDokumentfil"/>
 *         <element name="filstoerrelse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}filstoerrelse"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "dokumentobjektMinimum", propOrder = { "systemID", "versjonsnummer", "variantformat", "format", "formatDetaljer", "referanseDokumentfil", "filstoerrelse" }) public class DokumentobjektMinimum { @XmlElement(required = true) protected SystemID systemID; protected int versjonsnummer; @XmlElement(required = true) protected Variantformat variantformat; @XmlElement(required = true) protected Format format; protected String formatDetaljer; @XmlElement(required = true) protected String referanseDokumentfil; protected int filstoerrelse; /** * Gets the value of the systemID property. * * @return * possible object is * {@link SystemID } * */ public SystemID getSystemID() { return systemID; } /** * Sets the value of the systemID property. * * @param value * allowed object is * {@link SystemID } * */ public void setSystemID(SystemID value) { this.systemID = value; } /** * Gets the value of the versjonsnummer property. * */ public int getVersjonsnummer() { return versjonsnummer; } /** * Sets the value of the versjonsnummer property. * */ public void setVersjonsnummer(int value) { this.versjonsnummer = value; } /** * Gets the value of the variantformat property. * * @return * possible object is * {@link Variantformat } * */ public Variantformat getVariantformat() { return variantformat; } /** * Sets the value of the variantformat property. * * @param value * allowed object is * {@link Variantformat } * */ public void setVariantformat(Variantformat value) { this.variantformat = value; } /** * Gets the value of the format property. * * @return * possible object is * {@link Format } * */ public Format getFormat() { return format; } /** * Sets the value of the format property. * * @param value * allowed object is * {@link Format } * */ public void setFormat(Format value) { this.format = value; } /** * Gets the value of the formatDetaljer property. * * @return * possible object is * {@link String } * */ public String getFormatDetaljer() { return formatDetaljer; } /** * Sets the value of the formatDetaljer property. * * @param value * allowed object is * {@link String } * */ public void setFormatDetaljer(String value) { this.formatDetaljer = value; } /** * Gets the value of the referanseDokumentfil property. * * @return * possible object is * {@link String } * */ public String getReferanseDokumentfil() { return referanseDokumentfil; } /** * Sets the value of the referanseDokumentfil property. * * @param value * allowed object is * {@link String } * */ public void setReferanseDokumentfil(String value) { this.referanseDokumentfil = value; } /** * Gets the value of the filstoerrelse property. * */ public int getFilstoerrelse() { return filstoerrelse; } /** * Sets the value of the filstoerrelse property. * */ public void setFilstoerrelse(int value) { this.filstoerrelse = 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 DokumentobjektMinimum.Builder<_B> _other) { _other.systemID = ((this.systemID == null)?null:this.systemID.newCopyBuilder(_other)); _other.versjonsnummer = this.versjonsnummer; _other.variantformat = ((this.variantformat == null)?null:this.variantformat.newCopyBuilder(_other)); _other.format = ((this.format == null)?null:this.format.newCopyBuilder(_other)); _other.formatDetaljer = this.formatDetaljer; _other.referanseDokumentfil = this.referanseDokumentfil; _other.filstoerrelse = this.filstoerrelse; } public<_B >DokumentobjektMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new DokumentobjektMinimum.Builder<_B>(_parentBuilder, this, true); } public DokumentobjektMinimum.Builder newCopyBuilder() { return newCopyBuilder(null); } public static DokumentobjektMinimum.Builder builder() { return new DokumentobjektMinimum.Builder(null, null, false); } public static<_B >DokumentobjektMinimum.Builder<_B> copyOf(final DokumentobjektMinimum _other) { final DokumentobjektMinimum.Builder<_B> _newBuilder = new DokumentobjektMinimum.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 DokumentobjektMinimum.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PropertyTree systemIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("systemID")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(systemIDPropertyTree!= null):((systemIDPropertyTree == null)||(!systemIDPropertyTree.isLeaf())))) { _other.systemID = ((this.systemID == null)?null:this.systemID.newCopyBuilder(_other, systemIDPropertyTree, _propertyTreeUse)); } final PropertyTree versjonsnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("versjonsnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(versjonsnummerPropertyTree!= null):((versjonsnummerPropertyTree == null)||(!versjonsnummerPropertyTree.isLeaf())))) { _other.versjonsnummer = this.versjonsnummer; } final PropertyTree variantformatPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("variantformat")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(variantformatPropertyTree!= null):((variantformatPropertyTree == null)||(!variantformatPropertyTree.isLeaf())))) { _other.variantformat = ((this.variantformat == null)?null:this.variantformat.newCopyBuilder(_other, variantformatPropertyTree, _propertyTreeUse)); } final PropertyTree formatPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("format")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(formatPropertyTree!= null):((formatPropertyTree == null)||(!formatPropertyTree.isLeaf())))) { _other.format = ((this.format == null)?null:this.format.newCopyBuilder(_other, formatPropertyTree, _propertyTreeUse)); } final PropertyTree formatDetaljerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("formatDetaljer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(formatDetaljerPropertyTree!= null):((formatDetaljerPropertyTree == null)||(!formatDetaljerPropertyTree.isLeaf())))) { _other.formatDetaljer = this.formatDetaljer; } final PropertyTree referanseDokumentfilPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseDokumentfil")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseDokumentfilPropertyTree!= null):((referanseDokumentfilPropertyTree == null)||(!referanseDokumentfilPropertyTree.isLeaf())))) { _other.referanseDokumentfil = this.referanseDokumentfil; } final PropertyTree filstoerrelsePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("filstoerrelse")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(filstoerrelsePropertyTree!= null):((filstoerrelsePropertyTree == null)||(!filstoerrelsePropertyTree.isLeaf())))) { _other.filstoerrelse = this.filstoerrelse; } } public<_B >DokumentobjektMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new DokumentobjektMinimum.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public DokumentobjektMinimum.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >DokumentobjektMinimum.Builder<_B> copyOf(final DokumentobjektMinimum _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final DokumentobjektMinimum.Builder<_B> _newBuilder = new DokumentobjektMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static DokumentobjektMinimum.Builder copyExcept(final DokumentobjektMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static DokumentobjektMinimum.Builder copyOnly(final DokumentobjektMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final DokumentobjektMinimum _storedValue; private SystemID.Builder> systemID; private int versjonsnummer; private Variantformat.Builder> variantformat; private Format.Builder> format; private String formatDetaljer; private String referanseDokumentfil; private int filstoerrelse; public Builder(final _B _parentBuilder, final DokumentobjektMinimum _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.systemID = ((_other.systemID == null)?null:_other.systemID.newCopyBuilder(this)); this.versjonsnummer = _other.versjonsnummer; this.variantformat = ((_other.variantformat == null)?null:_other.variantformat.newCopyBuilder(this)); this.format = ((_other.format == null)?null:_other.format.newCopyBuilder(this)); this.formatDetaljer = _other.formatDetaljer; this.referanseDokumentfil = _other.referanseDokumentfil; this.filstoerrelse = _other.filstoerrelse; } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final DokumentobjektMinimum _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; final PropertyTree systemIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("systemID")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(systemIDPropertyTree!= null):((systemIDPropertyTree == null)||(!systemIDPropertyTree.isLeaf())))) { this.systemID = ((_other.systemID == null)?null:_other.systemID.newCopyBuilder(this, systemIDPropertyTree, _propertyTreeUse)); } final PropertyTree versjonsnummerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("versjonsnummer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(versjonsnummerPropertyTree!= null):((versjonsnummerPropertyTree == null)||(!versjonsnummerPropertyTree.isLeaf())))) { this.versjonsnummer = _other.versjonsnummer; } final PropertyTree variantformatPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("variantformat")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(variantformatPropertyTree!= null):((variantformatPropertyTree == null)||(!variantformatPropertyTree.isLeaf())))) { this.variantformat = ((_other.variantformat == null)?null:_other.variantformat.newCopyBuilder(this, variantformatPropertyTree, _propertyTreeUse)); } final PropertyTree formatPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("format")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(formatPropertyTree!= null):((formatPropertyTree == null)||(!formatPropertyTree.isLeaf())))) { this.format = ((_other.format == null)?null:_other.format.newCopyBuilder(this, formatPropertyTree, _propertyTreeUse)); } final PropertyTree formatDetaljerPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("formatDetaljer")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(formatDetaljerPropertyTree!= null):((formatDetaljerPropertyTree == null)||(!formatDetaljerPropertyTree.isLeaf())))) { this.formatDetaljer = _other.formatDetaljer; } final PropertyTree referanseDokumentfilPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseDokumentfil")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseDokumentfilPropertyTree!= null):((referanseDokumentfilPropertyTree == null)||(!referanseDokumentfilPropertyTree.isLeaf())))) { this.referanseDokumentfil = _other.referanseDokumentfil; } final PropertyTree filstoerrelsePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("filstoerrelse")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(filstoerrelsePropertyTree!= null):((filstoerrelsePropertyTree == null)||(!filstoerrelsePropertyTree.isLeaf())))) { this.filstoerrelse = _other.filstoerrelse; } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends DokumentobjektMinimum >_P init(final _P _product) { _product.systemID = ((this.systemID == null)?null:this.systemID.build()); _product.versjonsnummer = this.versjonsnummer; _product.variantformat = ((this.variantformat == null)?null:this.variantformat.build()); _product.format = ((this.format == null)?null:this.format.build()); _product.formatDetaljer = this.formatDetaljer; _product.referanseDokumentfil = this.referanseDokumentfil; _product.filstoerrelse = this.filstoerrelse; return _product; } /** * Sets the new value of "systemID" (any previous value will be replaced) * * @param systemID * New value of the "systemID" property. */ public DokumentobjektMinimum.Builder<_B> withSystemID(final SystemID systemID) { this.systemID = ((systemID == null)?null:new SystemID.Builder>(this, systemID, false)); 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() { if (this.systemID!= null) { return this.systemID; } return this.systemID = new SystemID.Builder>(this, null, false); } /** * Sets the new value of "versjonsnummer" (any previous value will be replaced) * * @param versjonsnummer * New value of the "versjonsnummer" property. */ public DokumentobjektMinimum.Builder<_B> withVersjonsnummer(final int versjonsnummer) { this.versjonsnummer = versjonsnummer; return this; } /** * Sets the new value of "variantformat" (any previous value will be replaced) * * @param variantformat * New value of the "variantformat" property. */ public DokumentobjektMinimum.Builder<_B> withVariantformat(final Variantformat variantformat) { this.variantformat = ((variantformat == null)?null:new Variantformat.Builder>(this, variantformat, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "variantformat" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Variantformat.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "variantformat" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Variantformat.Builder#end()} * to return to the current builder. */ public Variantformat.Builder> withVariantformat() { if (this.variantformat!= null) { return this.variantformat; } return this.variantformat = new Variantformat.Builder>(this, null, false); } /** * Sets the new value of "format" (any previous value will be replaced) * * @param format * New value of the "format" property. */ public DokumentobjektMinimum.Builder<_B> withFormat(final Format format) { this.format = ((format == null)?null:new Format.Builder>(this, format, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the "format" * property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Format.Builder#end()} to * return to the current builder. * * @return * A new builder to build the value of the "format" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.Format.Builder#end()} to * return to the current builder. */ public Format.Builder> withFormat() { if (this.format!= null) { return this.format; } return this.format = new Format.Builder>(this, null, false); } /** * Sets the new value of "formatDetaljer" (any previous value will be replaced) * * @param formatDetaljer * New value of the "formatDetaljer" property. */ public DokumentobjektMinimum.Builder<_B> withFormatDetaljer(final String formatDetaljer) { this.formatDetaljer = formatDetaljer; return this; } /** * Sets the new value of "referanseDokumentfil" (any previous value will be * replaced) * * @param referanseDokumentfil * New value of the "referanseDokumentfil" property. */ public DokumentobjektMinimum.Builder<_B> withReferanseDokumentfil(final String referanseDokumentfil) { this.referanseDokumentfil = referanseDokumentfil; return this; } /** * Sets the new value of "filstoerrelse" (any previous value will be replaced) * * @param filstoerrelse * New value of the "filstoerrelse" property. */ public DokumentobjektMinimum.Builder<_B> withFilstoerrelse(final int filstoerrelse) { this.filstoerrelse = filstoerrelse; return this; } @Override public DokumentobjektMinimum build() { if (_storedValue == null) { return this.init(new DokumentobjektMinimum()); } else { return ((DokumentobjektMinimum) _storedValue); } } public DokumentobjektMinimum.Builder<_B> copyOf(final DokumentobjektMinimum _other) { _other.copyTo(this); return this; } public DokumentobjektMinimum.Builder<_B> copyOf(final DokumentobjektMinimum.Builder _other) { return copyOf(_other.build()); } } public static class Select extends DokumentobjektMinimum.Selector { Select() { super(null, null, null); } public static DokumentobjektMinimum.Select _root() { return new DokumentobjektMinimum.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private SystemID.Selector> systemID = null; private Variantformat.Selector> variantformat = null; private Format.Selector> format = null; private com.kscs.util.jaxb.Selector> formatDetaljer = null; private com.kscs.util.jaxb.Selector> referanseDokumentfil = 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.systemID!= null) { products.put("systemID", this.systemID.init()); } if (this.variantformat!= null) { products.put("variantformat", this.variantformat.init()); } if (this.format!= null) { products.put("format", this.format.init()); } if (this.formatDetaljer!= null) { products.put("formatDetaljer", this.formatDetaljer.init()); } if (this.referanseDokumentfil!= null) { products.put("referanseDokumentfil", this.referanseDokumentfil.init()); } return products; } public SystemID.Selector> systemID() { return ((this.systemID == null)?this.systemID = new SystemID.Selector>(this._root, this, "systemID"):this.systemID); } public Variantformat.Selector> variantformat() { return ((this.variantformat == null)?this.variantformat = new Variantformat.Selector>(this._root, this, "variantformat"):this.variantformat); } public Format.Selector> format() { return ((this.format == null)?this.format = new Format.Selector>(this._root, this, "format"):this.format); } public com.kscs.util.jaxb.Selector> formatDetaljer() { return ((this.formatDetaljer == null)?this.formatDetaljer = new com.kscs.util.jaxb.Selector>(this._root, this, "formatDetaljer"):this.formatDetaljer); } public com.kscs.util.jaxb.Selector> referanseDokumentfil() { return ((this.referanseDokumentfil == null)?this.referanseDokumentfil = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseDokumentfil"):this.referanseDokumentfil); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy