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

no.ks.fiks.arkiv.v1.arkivmelding.opprett.Hendelseslogg 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.arkivmelding.opprett;

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 hendelseslogg complex type. * *

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

 * <complexType name="hendelseslogg">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="referanseArkivenhet" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}referanseArkivenhet"/>
 *         <element name="beskrivelse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}beskrivelse" minOccurs="0"/>
 *         <element name="hendelsestype" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}hendelsestype"/>
 *         <element name="hendelsesdato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}hendelsesdato"/>
 *         <element name="utfortAv" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}utfortAv" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "hendelseslogg", propOrder = { "referanseArkivenhet", "beskrivelse", "hendelsestype", "hendelsesdato", "utfortAv" }) public class Hendelseslogg { @XmlElement(required = true) protected String referanseArkivenhet; protected String beskrivelse; @XmlElement(required = true) protected String hendelsestype; @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime hendelsesdato; protected String utfortAv; /** * Gets the value of the referanseArkivenhet property. * * @return * possible object is * {@link String } * */ public String getReferanseArkivenhet() { return referanseArkivenhet; } /** * Sets the value of the referanseArkivenhet property. * * @param value * allowed object is * {@link String } * */ public void setReferanseArkivenhet(String value) { this.referanseArkivenhet = value; } /** * Gets the value of the beskrivelse property. * * @return * possible object is * {@link String } * */ public String getBeskrivelse() { return beskrivelse; } /** * Sets the value of the beskrivelse property. * * @param value * allowed object is * {@link String } * */ public void setBeskrivelse(String value) { this.beskrivelse = value; } /** * Gets the value of the hendelsestype property. * * @return * possible object is * {@link String } * */ public String getHendelsestype() { return hendelsestype; } /** * Sets the value of the hendelsestype property. * * @param value * allowed object is * {@link String } * */ public void setHendelsestype(String value) { this.hendelsestype = value; } /** * Gets the value of the hendelsesdato property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getHendelsesdato() { return hendelsesdato; } /** * Sets the value of the hendelsesdato property. * * @param value * allowed object is * {@link String } * */ public void setHendelsesdato(ZonedDateTime value) { this.hendelsesdato = value; } /** * Gets the value of the utfortAv property. * * @return * possible object is * {@link String } * */ public String getUtfortAv() { return utfortAv; } /** * Sets the value of the utfortAv property. * * @param value * allowed object is * {@link String } * */ public void setUtfortAv(String value) { this.utfortAv = 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 Hendelseslogg.Builder<_B> _other) { _other.referanseArkivenhet = this.referanseArkivenhet; _other.beskrivelse = this.beskrivelse; _other.hendelsestype = this.hendelsestype; _other.hendelsesdato = this.hendelsesdato; _other.utfortAv = this.utfortAv; } public<_B >Hendelseslogg.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new Hendelseslogg.Builder<_B>(_parentBuilder, this, true); } public Hendelseslogg.Builder newCopyBuilder() { return newCopyBuilder(null); } public static Hendelseslogg.Builder builder() { return new Hendelseslogg.Builder(null, null, false); } public static<_B >Hendelseslogg.Builder<_B> copyOf(final Hendelseslogg _other) { final Hendelseslogg.Builder<_B> _newBuilder = new Hendelseslogg.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 Hendelseslogg.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PropertyTree referanseArkivenhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseArkivenhet")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseArkivenhetPropertyTree!= null):((referanseArkivenhetPropertyTree == null)||(!referanseArkivenhetPropertyTree.isLeaf())))) { _other.referanseArkivenhet = this.referanseArkivenhet; } final PropertyTree beskrivelsePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("beskrivelse")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(beskrivelsePropertyTree!= null):((beskrivelsePropertyTree == null)||(!beskrivelsePropertyTree.isLeaf())))) { _other.beskrivelse = this.beskrivelse; } final PropertyTree hendelsestypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("hendelsestype")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(hendelsestypePropertyTree!= null):((hendelsestypePropertyTree == null)||(!hendelsestypePropertyTree.isLeaf())))) { _other.hendelsestype = this.hendelsestype; } final PropertyTree hendelsesdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("hendelsesdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(hendelsesdatoPropertyTree!= null):((hendelsesdatoPropertyTree == null)||(!hendelsesdatoPropertyTree.isLeaf())))) { _other.hendelsesdato = this.hendelsesdato; } final PropertyTree utfortAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utfortAv")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utfortAvPropertyTree!= null):((utfortAvPropertyTree == null)||(!utfortAvPropertyTree.isLeaf())))) { _other.utfortAv = this.utfortAv; } } public<_B >Hendelseslogg.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new Hendelseslogg.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public Hendelseslogg.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >Hendelseslogg.Builder<_B> copyOf(final Hendelseslogg _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final Hendelseslogg.Builder<_B> _newBuilder = new Hendelseslogg.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static Hendelseslogg.Builder copyExcept(final Hendelseslogg _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static Hendelseslogg.Builder copyOnly(final Hendelseslogg _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final Hendelseslogg _storedValue; private String referanseArkivenhet; private String beskrivelse; private String hendelsestype; private ZonedDateTime hendelsesdato; private String utfortAv; public Builder(final _B _parentBuilder, final Hendelseslogg _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.referanseArkivenhet = _other.referanseArkivenhet; this.beskrivelse = _other.beskrivelse; this.hendelsestype = _other.hendelsestype; this.hendelsesdato = _other.hendelsesdato; this.utfortAv = _other.utfortAv; } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final Hendelseslogg _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; final PropertyTree referanseArkivenhetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("referanseArkivenhet")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(referanseArkivenhetPropertyTree!= null):((referanseArkivenhetPropertyTree == null)||(!referanseArkivenhetPropertyTree.isLeaf())))) { this.referanseArkivenhet = _other.referanseArkivenhet; } final PropertyTree beskrivelsePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("beskrivelse")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(beskrivelsePropertyTree!= null):((beskrivelsePropertyTree == null)||(!beskrivelsePropertyTree.isLeaf())))) { this.beskrivelse = _other.beskrivelse; } final PropertyTree hendelsestypePropertyTree = ((_propertyTree == null)?null:_propertyTree.get("hendelsestype")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(hendelsestypePropertyTree!= null):((hendelsestypePropertyTree == null)||(!hendelsestypePropertyTree.isLeaf())))) { this.hendelsestype = _other.hendelsestype; } final PropertyTree hendelsesdatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("hendelsesdato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(hendelsesdatoPropertyTree!= null):((hendelsesdatoPropertyTree == null)||(!hendelsesdatoPropertyTree.isLeaf())))) { this.hendelsesdato = _other.hendelsesdato; } final PropertyTree utfortAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("utfortAv")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(utfortAvPropertyTree!= null):((utfortAvPropertyTree == null)||(!utfortAvPropertyTree.isLeaf())))) { this.utfortAv = _other.utfortAv; } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends Hendelseslogg >_P init(final _P _product) { _product.referanseArkivenhet = this.referanseArkivenhet; _product.beskrivelse = this.beskrivelse; _product.hendelsestype = this.hendelsestype; _product.hendelsesdato = this.hendelsesdato; _product.utfortAv = this.utfortAv; return _product; } /** * Sets the new value of "referanseArkivenhet" (any previous value will be * replaced) * * @param referanseArkivenhet * New value of the "referanseArkivenhet" property. */ public Hendelseslogg.Builder<_B> withReferanseArkivenhet(final String referanseArkivenhet) { this.referanseArkivenhet = referanseArkivenhet; return this; } /** * Sets the new value of "beskrivelse" (any previous value will be replaced) * * @param beskrivelse * New value of the "beskrivelse" property. */ public Hendelseslogg.Builder<_B> withBeskrivelse(final String beskrivelse) { this.beskrivelse = beskrivelse; return this; } /** * Sets the new value of "hendelsestype" (any previous value will be replaced) * * @param hendelsestype * New value of the "hendelsestype" property. */ public Hendelseslogg.Builder<_B> withHendelsestype(final String hendelsestype) { this.hendelsestype = hendelsestype; return this; } /** * Sets the new value of "hendelsesdato" (any previous value will be replaced) * * @param hendelsesdato * New value of the "hendelsesdato" property. */ public Hendelseslogg.Builder<_B> withHendelsesdato(final ZonedDateTime hendelsesdato) { this.hendelsesdato = hendelsesdato; return this; } /** * Sets the new value of "utfortAv" (any previous value will be replaced) * * @param utfortAv * New value of the "utfortAv" property. */ public Hendelseslogg.Builder<_B> withUtfortAv(final String utfortAv) { this.utfortAv = utfortAv; return this; } @Override public Hendelseslogg build() { if (_storedValue == null) { return this.init(new Hendelseslogg()); } else { return ((Hendelseslogg) _storedValue); } } public Hendelseslogg.Builder<_B> copyOf(final Hendelseslogg _other) { _other.copyTo(this); return this; } public Hendelseslogg.Builder<_B> copyOf(final Hendelseslogg.Builder _other) { return copyOf(_other.build()); } } public static class Select extends Hendelseslogg.Selector { Select() { super(null, null, null); } public static Hendelseslogg.Select _root() { return new Hendelseslogg.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private com.kscs.util.jaxb.Selector> referanseArkivenhet = null; private com.kscs.util.jaxb.Selector> beskrivelse = null; private com.kscs.util.jaxb.Selector> hendelsestype = null; private com.kscs.util.jaxb.Selector> hendelsesdato = null; private com.kscs.util.jaxb.Selector> utfortAv = 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.referanseArkivenhet!= null) { products.put("referanseArkivenhet", this.referanseArkivenhet.init()); } if (this.beskrivelse!= null) { products.put("beskrivelse", this.beskrivelse.init()); } if (this.hendelsestype!= null) { products.put("hendelsestype", this.hendelsestype.init()); } if (this.hendelsesdato!= null) { products.put("hendelsesdato", this.hendelsesdato.init()); } if (this.utfortAv!= null) { products.put("utfortAv", this.utfortAv.init()); } return products; } public com.kscs.util.jaxb.Selector> referanseArkivenhet() { return ((this.referanseArkivenhet == null)?this.referanseArkivenhet = new com.kscs.util.jaxb.Selector>(this._root, this, "referanseArkivenhet"):this.referanseArkivenhet); } public com.kscs.util.jaxb.Selector> beskrivelse() { return ((this.beskrivelse == null)?this.beskrivelse = new com.kscs.util.jaxb.Selector>(this._root, this, "beskrivelse"):this.beskrivelse); } public com.kscs.util.jaxb.Selector> hendelsestype() { return ((this.hendelsestype == null)?this.hendelsestype = new com.kscs.util.jaxb.Selector>(this._root, this, "hendelsestype"):this.hendelsestype); } public com.kscs.util.jaxb.Selector> hendelsesdato() { return ((this.hendelsesdato == null)?this.hendelsesdato = new com.kscs.util.jaxb.Selector>(this._root, this, "hendelsesdato"):this.hendelsesdato); } public com.kscs.util.jaxb.Selector> utfortAv() { return ((this.utfortAv == null)?this.utfortAv = new com.kscs.util.jaxb.Selector>(this._root, this, "utfortAv"):this.utfortAv); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy