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

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


/**
 * 

Java class for dokumentflyt complex type. * *

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

 * <complexType name="dokumentflyt">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="flytTil" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}flytTil"/>
 *         <element name="flytFra" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}flytFra"/>
 *         <element name="flytMottattDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}flytMottattDato"/>
 *         <element name="flytSendtDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}flytSendtDato"/>
 *         <element name="flytStatus" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}flytStatus"/>
 *         <element name="flytMerknad" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}flytMerknad" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "dokumentflyt", propOrder = { "flytTil", "flytFra", "flytMottattDato", "flytSendtDato", "flytStatus", "flytMerknad" }) public class Dokumentflyt { @XmlElement(required = true) protected String flytTil; @XmlElement(required = true) protected String flytFra; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime flytMottattDato; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime flytSendtDato; @XmlElement(required = true) protected FlytStatus flytStatus; protected String flytMerknad; /** * Gets the value of the flytTil property. * * @return * possible object is * {@link String } * */ public String getFlytTil() { return flytTil; } /** * Sets the value of the flytTil property. * * @param value * allowed object is * {@link String } * */ public void setFlytTil(String value) { this.flytTil = value; } /** * Gets the value of the flytFra property. * * @return * possible object is * {@link String } * */ public String getFlytFra() { return flytFra; } /** * Sets the value of the flytFra property. * * @param value * allowed object is * {@link String } * */ public void setFlytFra(String value) { this.flytFra = value; } /** * Gets the value of the flytMottattDato property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getFlytMottattDato() { return flytMottattDato; } /** * Sets the value of the flytMottattDato property. * * @param value * allowed object is * {@link String } * */ public void setFlytMottattDato(ZonedDateTime value) { this.flytMottattDato = value; } /** * Gets the value of the flytSendtDato property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getFlytSendtDato() { return flytSendtDato; } /** * Sets the value of the flytSendtDato property. * * @param value * allowed object is * {@link String } * */ public void setFlytSendtDato(ZonedDateTime value) { this.flytSendtDato = value; } /** * Gets the value of the flytStatus property. * * @return * possible object is * {@link FlytStatus } * */ public FlytStatus getFlytStatus() { return flytStatus; } /** * Sets the value of the flytStatus property. * * @param value * allowed object is * {@link FlytStatus } * */ public void setFlytStatus(FlytStatus value) { this.flytStatus = value; } /** * Gets the value of the flytMerknad property. * * @return * possible object is * {@link String } * */ public String getFlytMerknad() { return flytMerknad; } /** * Sets the value of the flytMerknad property. * * @param value * allowed object is * {@link String } * */ public void setFlytMerknad(String value) { this.flytMerknad = 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 Dokumentflyt.Builder<_B> _other) { _other.flytTil = this.flytTil; _other.flytFra = this.flytFra; _other.flytMottattDato = this.flytMottattDato; _other.flytSendtDato = this.flytSendtDato; _other.flytStatus = ((this.flytStatus == null)?null:this.flytStatus.newCopyBuilder(_other)); _other.flytMerknad = this.flytMerknad; } public<_B >Dokumentflyt.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new Dokumentflyt.Builder<_B>(_parentBuilder, this, true); } public Dokumentflyt.Builder newCopyBuilder() { return newCopyBuilder(null); } public static Dokumentflyt.Builder builder() { return new Dokumentflyt.Builder(null, null, false); } public static<_B >Dokumentflyt.Builder<_B> copyOf(final Dokumentflyt _other) { final Dokumentflyt.Builder<_B> _newBuilder = new Dokumentflyt.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 Dokumentflyt.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PropertyTree flytTilPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytTil")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytTilPropertyTree!= null):((flytTilPropertyTree == null)||(!flytTilPropertyTree.isLeaf())))) { _other.flytTil = this.flytTil; } final PropertyTree flytFraPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytFra")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytFraPropertyTree!= null):((flytFraPropertyTree == null)||(!flytFraPropertyTree.isLeaf())))) { _other.flytFra = this.flytFra; } final PropertyTree flytMottattDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytMottattDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytMottattDatoPropertyTree!= null):((flytMottattDatoPropertyTree == null)||(!flytMottattDatoPropertyTree.isLeaf())))) { _other.flytMottattDato = this.flytMottattDato; } final PropertyTree flytSendtDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytSendtDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytSendtDatoPropertyTree!= null):((flytSendtDatoPropertyTree == null)||(!flytSendtDatoPropertyTree.isLeaf())))) { _other.flytSendtDato = this.flytSendtDato; } final PropertyTree flytStatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytStatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytStatusPropertyTree!= null):((flytStatusPropertyTree == null)||(!flytStatusPropertyTree.isLeaf())))) { _other.flytStatus = ((this.flytStatus == null)?null:this.flytStatus.newCopyBuilder(_other, flytStatusPropertyTree, _propertyTreeUse)); } final PropertyTree flytMerknadPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytMerknad")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytMerknadPropertyTree!= null):((flytMerknadPropertyTree == null)||(!flytMerknadPropertyTree.isLeaf())))) { _other.flytMerknad = this.flytMerknad; } } public<_B >Dokumentflyt.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new Dokumentflyt.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public Dokumentflyt.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >Dokumentflyt.Builder<_B> copyOf(final Dokumentflyt _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Dokumentflyt.Builder<_B> _newBuilder = new Dokumentflyt.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static Dokumentflyt.Builder copyExcept(final Dokumentflyt _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static Dokumentflyt.Builder copyOnly(final Dokumentflyt _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final Dokumentflyt _storedValue; private String flytTil; private String flytFra; private ZonedDateTime flytMottattDato; private ZonedDateTime flytSendtDato; private FlytStatus.Builder> flytStatus; private String flytMerknad; public Builder(final _B _parentBuilder, final Dokumentflyt _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.flytTil = _other.flytTil; this.flytFra = _other.flytFra; this.flytMottattDato = _other.flytMottattDato; this.flytSendtDato = _other.flytSendtDato; this.flytStatus = ((_other.flytStatus == null)?null:_other.flytStatus.newCopyBuilder(this)); this.flytMerknad = _other.flytMerknad; } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final Dokumentflyt _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; final PropertyTree flytTilPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytTil")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytTilPropertyTree!= null):((flytTilPropertyTree == null)||(!flytTilPropertyTree.isLeaf())))) { this.flytTil = _other.flytTil; } final PropertyTree flytFraPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytFra")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytFraPropertyTree!= null):((flytFraPropertyTree == null)||(!flytFraPropertyTree.isLeaf())))) { this.flytFra = _other.flytFra; } final PropertyTree flytMottattDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytMottattDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytMottattDatoPropertyTree!= null):((flytMottattDatoPropertyTree == null)||(!flytMottattDatoPropertyTree.isLeaf())))) { this.flytMottattDato = _other.flytMottattDato; } final PropertyTree flytSendtDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytSendtDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytSendtDatoPropertyTree!= null):((flytSendtDatoPropertyTree == null)||(!flytSendtDatoPropertyTree.isLeaf())))) { this.flytSendtDato = _other.flytSendtDato; } final PropertyTree flytStatusPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytStatus")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytStatusPropertyTree!= null):((flytStatusPropertyTree == null)||(!flytStatusPropertyTree.isLeaf())))) { this.flytStatus = ((_other.flytStatus == null)?null:_other.flytStatus.newCopyBuilder(this, flytStatusPropertyTree, _propertyTreeUse)); } final PropertyTree flytMerknadPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("flytMerknad")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(flytMerknadPropertyTree!= null):((flytMerknadPropertyTree == null)||(!flytMerknadPropertyTree.isLeaf())))) { this.flytMerknad = _other.flytMerknad; } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends Dokumentflyt >_P init(final _P _product) { _product.flytTil = this.flytTil; _product.flytFra = this.flytFra; _product.flytMottattDato = this.flytMottattDato; _product.flytSendtDato = this.flytSendtDato; _product.flytStatus = ((this.flytStatus == null)?null:this.flytStatus.build()); _product.flytMerknad = this.flytMerknad; return _product; } /** * Sets the new value of "flytTil" (any previous value will be replaced) * * @param flytTil * New value of the "flytTil" property. */ public Dokumentflyt.Builder<_B> withFlytTil(final String flytTil) { this.flytTil = flytTil; return this; } /** * Sets the new value of "flytFra" (any previous value will be replaced) * * @param flytFra * New value of the "flytFra" property. */ public Dokumentflyt.Builder<_B> withFlytFra(final String flytFra) { this.flytFra = flytFra; return this; } /** * Sets the new value of "flytMottattDato" (any previous value will be replaced) * * @param flytMottattDato * New value of the "flytMottattDato" property. */ public Dokumentflyt.Builder<_B> withFlytMottattDato(final ZonedDateTime flytMottattDato) { this.flytMottattDato = flytMottattDato; return this; } /** * Sets the new value of "flytSendtDato" (any previous value will be replaced) * * @param flytSendtDato * New value of the "flytSendtDato" property. */ public Dokumentflyt.Builder<_B> withFlytSendtDato(final ZonedDateTime flytSendtDato) { this.flytSendtDato = flytSendtDato; return this; } /** * Sets the new value of "flytStatus" (any previous value will be replaced) * * @param flytStatus * New value of the "flytStatus" property. */ public Dokumentflyt.Builder<_B> withFlytStatus(final FlytStatus flytStatus) { this.flytStatus = ((flytStatus == null)?null:new FlytStatus.Builder>(this, flytStatus, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "flytStatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.FlytStatus.Builder#end()} to * return to the current builder. * * @return * A new builder to build the value of the "flytStatus" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.FlytStatus.Builder#end()} to * return to the current builder. */ public FlytStatus.Builder> withFlytStatus() { if (this.flytStatus!= null) { return this.flytStatus; } return this.flytStatus = new FlytStatus.Builder>(this, null, false); } /** * Sets the new value of "flytMerknad" (any previous value will be replaced) * * @param flytMerknad * New value of the "flytMerknad" property. */ public Dokumentflyt.Builder<_B> withFlytMerknad(final String flytMerknad) { this.flytMerknad = flytMerknad; return this; } @Override public Dokumentflyt build() { if (_storedValue == null) { return this.init(new Dokumentflyt()); } else { return ((Dokumentflyt) _storedValue); } } public Dokumentflyt.Builder<_B> copyOf(final Dokumentflyt _other) { _other.copyTo(this); return this; } public Dokumentflyt.Builder<_B> copyOf(final Dokumentflyt.Builder _other) { return copyOf(_other.build()); } } public static class Select extends Dokumentflyt.Selector { Select() { super(null, null, null); } public static Dokumentflyt.Select _root() { return new Dokumentflyt.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private com.kscs.util.jaxb.Selector> flytTil = null; private com.kscs.util.jaxb.Selector> flytFra = null; private com.kscs.util.jaxb.Selector> flytMottattDato = null; private com.kscs.util.jaxb.Selector> flytSendtDato = null; private FlytStatus.Selector> flytStatus = null; private com.kscs.util.jaxb.Selector> flytMerknad = 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.flytTil!= null) { products.put("flytTil", this.flytTil.init()); } if (this.flytFra!= null) { products.put("flytFra", this.flytFra.init()); } if (this.flytMottattDato!= null) { products.put("flytMottattDato", this.flytMottattDato.init()); } if (this.flytSendtDato!= null) { products.put("flytSendtDato", this.flytSendtDato.init()); } if (this.flytStatus!= null) { products.put("flytStatus", this.flytStatus.init()); } if (this.flytMerknad!= null) { products.put("flytMerknad", this.flytMerknad.init()); } return products; } public com.kscs.util.jaxb.Selector> flytTil() { return ((this.flytTil == null)?this.flytTil = new com.kscs.util.jaxb.Selector>(this._root, this, "flytTil"):this.flytTil); } public com.kscs.util.jaxb.Selector> flytFra() { return ((this.flytFra == null)?this.flytFra = new com.kscs.util.jaxb.Selector>(this._root, this, "flytFra"):this.flytFra); } public com.kscs.util.jaxb.Selector> flytMottattDato() { return ((this.flytMottattDato == null)?this.flytMottattDato = new com.kscs.util.jaxb.Selector>(this._root, this, "flytMottattDato"):this.flytMottattDato); } public com.kscs.util.jaxb.Selector> flytSendtDato() { return ((this.flytSendtDato == null)?this.flytSendtDato = new com.kscs.util.jaxb.Selector>(this._root, this, "flytSendtDato"):this.flytSendtDato); } public FlytStatus.Selector> flytStatus() { return ((this.flytStatus == null)?this.flytStatus = new FlytStatus.Selector>(this._root, this, "flytStatus"):this.flytStatus); } public com.kscs.util.jaxb.Selector> flytMerknad() { return ((this.flytMerknad == null)?this.flytMerknad = new com.kscs.util.jaxb.Selector>(this._root, this, "flytMerknad"):this.flytMerknad); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy