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

no.ks.fiks.arkiv.v1.arkivstruktur.Konvertering 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.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 org.w3._2001.xmlschema.Adapter1;


/**
 * 

Java class for konvertering complex type. * *

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

 * <complexType name="konvertering">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="konvertertDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}konvertertDato"/>
 *         <element name="konvertertAv" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}konvertertAv"/>
 *         <element name="konvertertFraFormat" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}konvertertFraFormat"/>
 *         <element name="konvertertTilFormat" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}konvertertTilFormat"/>
 *         <element name="konverteringsverktoey" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}konverteringsverktoey" minOccurs="0"/>
 *         <element name="konverteringskommentar" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}konverteringskommentar" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "konvertering", propOrder = { "konvertertDato", "konvertertAv", "konvertertFraFormat", "konvertertTilFormat", "konverteringsverktoey", "konverteringskommentar" }) public class Konvertering { @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime konvertertDato; @XmlElement(required = true) protected String konvertertAv; @XmlElement(required = true) protected String konvertertFraFormat; @XmlElement(required = true) protected String konvertertTilFormat; protected String konverteringsverktoey; protected String konverteringskommentar; /** * Gets the value of the konvertertDato property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getKonvertertDato() { return konvertertDato; } /** * Sets the value of the konvertertDato property. * * @param value * allowed object is * {@link String } * */ public void setKonvertertDato(ZonedDateTime value) { this.konvertertDato = value; } /** * Gets the value of the konvertertAv property. * * @return * possible object is * {@link String } * */ public String getKonvertertAv() { return konvertertAv; } /** * Sets the value of the konvertertAv property. * * @param value * allowed object is * {@link String } * */ public void setKonvertertAv(String value) { this.konvertertAv = value; } /** * Gets the value of the konvertertFraFormat property. * * @return * possible object is * {@link String } * */ public String getKonvertertFraFormat() { return konvertertFraFormat; } /** * Sets the value of the konvertertFraFormat property. * * @param value * allowed object is * {@link String } * */ public void setKonvertertFraFormat(String value) { this.konvertertFraFormat = value; } /** * Gets the value of the konvertertTilFormat property. * * @return * possible object is * {@link String } * */ public String getKonvertertTilFormat() { return konvertertTilFormat; } /** * Sets the value of the konvertertTilFormat property. * * @param value * allowed object is * {@link String } * */ public void setKonvertertTilFormat(String value) { this.konvertertTilFormat = value; } /** * Gets the value of the konverteringsverktoey property. * * @return * possible object is * {@link String } * */ public String getKonverteringsverktoey() { return konverteringsverktoey; } /** * Sets the value of the konverteringsverktoey property. * * @param value * allowed object is * {@link String } * */ public void setKonverteringsverktoey(String value) { this.konverteringsverktoey = value; } /** * Gets the value of the konverteringskommentar property. * * @return * possible object is * {@link String } * */ public String getKonverteringskommentar() { return konverteringskommentar; } /** * Sets the value of the konverteringskommentar property. * * @param value * allowed object is * {@link String } * */ public void setKonverteringskommentar(String value) { this.konverteringskommentar = 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 Konvertering.Builder<_B> _other) { _other.konvertertDato = this.konvertertDato; _other.konvertertAv = this.konvertertAv; _other.konvertertFraFormat = this.konvertertFraFormat; _other.konvertertTilFormat = this.konvertertTilFormat; _other.konverteringsverktoey = this.konverteringsverktoey; _other.konverteringskommentar = this.konverteringskommentar; } public<_B >Konvertering.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new Konvertering.Builder<_B>(_parentBuilder, this, true); } public Konvertering.Builder newCopyBuilder() { return newCopyBuilder(null); } public static Konvertering.Builder builder() { return new Konvertering.Builder(null, null, false); } public static<_B >Konvertering.Builder<_B> copyOf(final Konvertering _other) { final Konvertering.Builder<_B> _newBuilder = new Konvertering.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 Konvertering.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PropertyTree konvertertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konvertertDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konvertertDatoPropertyTree!= null):((konvertertDatoPropertyTree == null)||(!konvertertDatoPropertyTree.isLeaf())))) { _other.konvertertDato = this.konvertertDato; } final PropertyTree konvertertAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konvertertAv")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konvertertAvPropertyTree!= null):((konvertertAvPropertyTree == null)||(!konvertertAvPropertyTree.isLeaf())))) { _other.konvertertAv = this.konvertertAv; } final PropertyTree konvertertFraFormatPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konvertertFraFormat")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konvertertFraFormatPropertyTree!= null):((konvertertFraFormatPropertyTree == null)||(!konvertertFraFormatPropertyTree.isLeaf())))) { _other.konvertertFraFormat = this.konvertertFraFormat; } final PropertyTree konvertertTilFormatPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konvertertTilFormat")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konvertertTilFormatPropertyTree!= null):((konvertertTilFormatPropertyTree == null)||(!konvertertTilFormatPropertyTree.isLeaf())))) { _other.konvertertTilFormat = this.konvertertTilFormat; } final PropertyTree konverteringsverktoeyPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konverteringsverktoey")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konverteringsverktoeyPropertyTree!= null):((konverteringsverktoeyPropertyTree == null)||(!konverteringsverktoeyPropertyTree.isLeaf())))) { _other.konverteringsverktoey = this.konverteringsverktoey; } final PropertyTree konverteringskommentarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konverteringskommentar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konverteringskommentarPropertyTree!= null):((konverteringskommentarPropertyTree == null)||(!konverteringskommentarPropertyTree.isLeaf())))) { _other.konverteringskommentar = this.konverteringskommentar; } } public<_B >Konvertering.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new Konvertering.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public Konvertering.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >Konvertering.Builder<_B> copyOf(final Konvertering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Konvertering.Builder<_B> _newBuilder = new Konvertering.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static Konvertering.Builder copyExcept(final Konvertering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static Konvertering.Builder copyOnly(final Konvertering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final Konvertering _storedValue; private ZonedDateTime konvertertDato; private String konvertertAv; private String konvertertFraFormat; private String konvertertTilFormat; private String konverteringsverktoey; private String konverteringskommentar; public Builder(final _B _parentBuilder, final Konvertering _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.konvertertDato = _other.konvertertDato; this.konvertertAv = _other.konvertertAv; this.konvertertFraFormat = _other.konvertertFraFormat; this.konvertertTilFormat = _other.konvertertTilFormat; this.konverteringsverktoey = _other.konverteringsverktoey; this.konverteringskommentar = _other.konverteringskommentar; } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final Konvertering _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; final PropertyTree konvertertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konvertertDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konvertertDatoPropertyTree!= null):((konvertertDatoPropertyTree == null)||(!konvertertDatoPropertyTree.isLeaf())))) { this.konvertertDato = _other.konvertertDato; } final PropertyTree konvertertAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konvertertAv")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konvertertAvPropertyTree!= null):((konvertertAvPropertyTree == null)||(!konvertertAvPropertyTree.isLeaf())))) { this.konvertertAv = _other.konvertertAv; } final PropertyTree konvertertFraFormatPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konvertertFraFormat")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konvertertFraFormatPropertyTree!= null):((konvertertFraFormatPropertyTree == null)||(!konvertertFraFormatPropertyTree.isLeaf())))) { this.konvertertFraFormat = _other.konvertertFraFormat; } final PropertyTree konvertertTilFormatPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konvertertTilFormat")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konvertertTilFormatPropertyTree!= null):((konvertertTilFormatPropertyTree == null)||(!konvertertTilFormatPropertyTree.isLeaf())))) { this.konvertertTilFormat = _other.konvertertTilFormat; } final PropertyTree konverteringsverktoeyPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konverteringsverktoey")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konverteringsverktoeyPropertyTree!= null):((konverteringsverktoeyPropertyTree == null)||(!konverteringsverktoeyPropertyTree.isLeaf())))) { this.konverteringsverktoey = _other.konverteringsverktoey; } final PropertyTree konverteringskommentarPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("konverteringskommentar")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(konverteringskommentarPropertyTree!= null):((konverteringskommentarPropertyTree == null)||(!konverteringskommentarPropertyTree.isLeaf())))) { this.konverteringskommentar = _other.konverteringskommentar; } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends Konvertering >_P init(final _P _product) { _product.konvertertDato = this.konvertertDato; _product.konvertertAv = this.konvertertAv; _product.konvertertFraFormat = this.konvertertFraFormat; _product.konvertertTilFormat = this.konvertertTilFormat; _product.konverteringsverktoey = this.konverteringsverktoey; _product.konverteringskommentar = this.konverteringskommentar; return _product; } /** * Sets the new value of "konvertertDato" (any previous value will be replaced) * * @param konvertertDato * New value of the "konvertertDato" property. */ public Konvertering.Builder<_B> withKonvertertDato(final ZonedDateTime konvertertDato) { this.konvertertDato = konvertertDato; return this; } /** * Sets the new value of "konvertertAv" (any previous value will be replaced) * * @param konvertertAv * New value of the "konvertertAv" property. */ public Konvertering.Builder<_B> withKonvertertAv(final String konvertertAv) { this.konvertertAv = konvertertAv; return this; } /** * Sets the new value of "konvertertFraFormat" (any previous value will be * replaced) * * @param konvertertFraFormat * New value of the "konvertertFraFormat" property. */ public Konvertering.Builder<_B> withKonvertertFraFormat(final String konvertertFraFormat) { this.konvertertFraFormat = konvertertFraFormat; return this; } /** * Sets the new value of "konvertertTilFormat" (any previous value will be * replaced) * * @param konvertertTilFormat * New value of the "konvertertTilFormat" property. */ public Konvertering.Builder<_B> withKonvertertTilFormat(final String konvertertTilFormat) { this.konvertertTilFormat = konvertertTilFormat; return this; } /** * Sets the new value of "konverteringsverktoey" (any previous value will be * replaced) * * @param konverteringsverktoey * New value of the "konverteringsverktoey" property. */ public Konvertering.Builder<_B> withKonverteringsverktoey(final String konverteringsverktoey) { this.konverteringsverktoey = konverteringsverktoey; return this; } /** * Sets the new value of "konverteringskommentar" (any previous value will be * replaced) * * @param konverteringskommentar * New value of the "konverteringskommentar" property. */ public Konvertering.Builder<_B> withKonverteringskommentar(final String konverteringskommentar) { this.konverteringskommentar = konverteringskommentar; return this; } @Override public Konvertering build() { if (_storedValue == null) { return this.init(new Konvertering()); } else { return ((Konvertering) _storedValue); } } public Konvertering.Builder<_B> copyOf(final Konvertering _other) { _other.copyTo(this); return this; } public Konvertering.Builder<_B> copyOf(final Konvertering.Builder _other) { return copyOf(_other.build()); } } public static class Select extends Konvertering.Selector { Select() { super(null, null, null); } public static Konvertering.Select _root() { return new Konvertering.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private com.kscs.util.jaxb.Selector> konvertertDato = null; private com.kscs.util.jaxb.Selector> konvertertAv = null; private com.kscs.util.jaxb.Selector> konvertertFraFormat = null; private com.kscs.util.jaxb.Selector> konvertertTilFormat = null; private com.kscs.util.jaxb.Selector> konverteringsverktoey = null; private com.kscs.util.jaxb.Selector> konverteringskommentar = 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.konvertertDato!= null) { products.put("konvertertDato", this.konvertertDato.init()); } if (this.konvertertAv!= null) { products.put("konvertertAv", this.konvertertAv.init()); } if (this.konvertertFraFormat!= null) { products.put("konvertertFraFormat", this.konvertertFraFormat.init()); } if (this.konvertertTilFormat!= null) { products.put("konvertertTilFormat", this.konvertertTilFormat.init()); } if (this.konverteringsverktoey!= null) { products.put("konverteringsverktoey", this.konverteringsverktoey.init()); } if (this.konverteringskommentar!= null) { products.put("konverteringskommentar", this.konverteringskommentar.init()); } return products; } public com.kscs.util.jaxb.Selector> konvertertDato() { return ((this.konvertertDato == null)?this.konvertertDato = new com.kscs.util.jaxb.Selector>(this._root, this, "konvertertDato"):this.konvertertDato); } public com.kscs.util.jaxb.Selector> konvertertAv() { return ((this.konvertertAv == null)?this.konvertertAv = new com.kscs.util.jaxb.Selector>(this._root, this, "konvertertAv"):this.konvertertAv); } public com.kscs.util.jaxb.Selector> konvertertFraFormat() { return ((this.konvertertFraFormat == null)?this.konvertertFraFormat = new com.kscs.util.jaxb.Selector>(this._root, this, "konvertertFraFormat"):this.konvertertFraFormat); } public com.kscs.util.jaxb.Selector> konvertertTilFormat() { return ((this.konvertertTilFormat == null)?this.konvertertTilFormat = new com.kscs.util.jaxb.Selector>(this._root, this, "konvertertTilFormat"):this.konvertertTilFormat); } public com.kscs.util.jaxb.Selector> konverteringsverktoey() { return ((this.konverteringsverktoey == null)?this.konverteringsverktoey = new com.kscs.util.jaxb.Selector>(this._root, this, "konverteringsverktoey"):this.konverteringsverktoey); } public com.kscs.util.jaxb.Selector> konverteringskommentar() { return ((this.konverteringskommentar == null)?this.konverteringskommentar = new com.kscs.util.jaxb.Selector>(this._root, this, "konverteringskommentar"):this.konverteringskommentar); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy