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

no.ks.fiks.arkiv.v1.arkivstruktur.UtfoertKassasjon 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 utfoertKassasjon complex type. * *

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

 * <complexType name="utfoertKassasjon">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="kassertDato" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}kassertDato"/>
 *         <element name="kassertAv" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}kassertAv"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "utfoertKassasjon", propOrder = { "kassertDato", "kassertAv" }) public class UtfoertKassasjon { @XmlElement(required = true, type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected ZonedDateTime kassertDato; @XmlElement(required = true) protected String kassertAv; /** * Gets the value of the kassertDato property. * * @return * possible object is * {@link String } * */ public ZonedDateTime getKassertDato() { return kassertDato; } /** * Sets the value of the kassertDato property. * * @param value * allowed object is * {@link String } * */ public void setKassertDato(ZonedDateTime value) { this.kassertDato = value; } /** * Gets the value of the kassertAv property. * * @return * possible object is * {@link String } * */ public String getKassertAv() { return kassertAv; } /** * Sets the value of the kassertAv property. * * @param value * allowed object is * {@link String } * */ public void setKassertAv(String value) { this.kassertAv = 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 UtfoertKassasjon.Builder<_B> _other) { _other.kassertDato = this.kassertDato; _other.kassertAv = this.kassertAv; } public<_B >UtfoertKassasjon.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new UtfoertKassasjon.Builder<_B>(_parentBuilder, this, true); } public UtfoertKassasjon.Builder newCopyBuilder() { return newCopyBuilder(null); } public static UtfoertKassasjon.Builder builder() { return new UtfoertKassasjon.Builder(null, null, false); } public static<_B >UtfoertKassasjon.Builder<_B> copyOf(final UtfoertKassasjon _other) { final UtfoertKassasjon.Builder<_B> _newBuilder = new UtfoertKassasjon.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 UtfoertKassasjon.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PropertyTree kassertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kassertDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kassertDatoPropertyTree!= null):((kassertDatoPropertyTree == null)||(!kassertDatoPropertyTree.isLeaf())))) { _other.kassertDato = this.kassertDato; } final PropertyTree kassertAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kassertAv")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kassertAvPropertyTree!= null):((kassertAvPropertyTree == null)||(!kassertAvPropertyTree.isLeaf())))) { _other.kassertAv = this.kassertAv; } } public<_B >UtfoertKassasjon.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new UtfoertKassasjon.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public UtfoertKassasjon.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >UtfoertKassasjon.Builder<_B> copyOf(final UtfoertKassasjon _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final UtfoertKassasjon.Builder<_B> _newBuilder = new UtfoertKassasjon.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static UtfoertKassasjon.Builder copyExcept(final UtfoertKassasjon _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static UtfoertKassasjon.Builder copyOnly(final UtfoertKassasjon _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final UtfoertKassasjon _storedValue; private ZonedDateTime kassertDato; private String kassertAv; public Builder(final _B _parentBuilder, final UtfoertKassasjon _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.kassertDato = _other.kassertDato; this.kassertAv = _other.kassertAv; } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final UtfoertKassasjon _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; final PropertyTree kassertDatoPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kassertDato")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kassertDatoPropertyTree!= null):((kassertDatoPropertyTree == null)||(!kassertDatoPropertyTree.isLeaf())))) { this.kassertDato = _other.kassertDato; } final PropertyTree kassertAvPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("kassertAv")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(kassertAvPropertyTree!= null):((kassertAvPropertyTree == null)||(!kassertAvPropertyTree.isLeaf())))) { this.kassertAv = _other.kassertAv; } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends UtfoertKassasjon >_P init(final _P _product) { _product.kassertDato = this.kassertDato; _product.kassertAv = this.kassertAv; return _product; } /** * Sets the new value of "kassertDato" (any previous value will be replaced) * * @param kassertDato * New value of the "kassertDato" property. */ public UtfoertKassasjon.Builder<_B> withKassertDato(final ZonedDateTime kassertDato) { this.kassertDato = kassertDato; return this; } /** * Sets the new value of "kassertAv" (any previous value will be replaced) * * @param kassertAv * New value of the "kassertAv" property. */ public UtfoertKassasjon.Builder<_B> withKassertAv(final String kassertAv) { this.kassertAv = kassertAv; return this; } @Override public UtfoertKassasjon build() { if (_storedValue == null) { return this.init(new UtfoertKassasjon()); } else { return ((UtfoertKassasjon) _storedValue); } } public UtfoertKassasjon.Builder<_B> copyOf(final UtfoertKassasjon _other) { _other.copyTo(this); return this; } public UtfoertKassasjon.Builder<_B> copyOf(final UtfoertKassasjon.Builder _other) { return copyOf(_other.build()); } } public static class Select extends UtfoertKassasjon.Selector { Select() { super(null, null, null); } public static UtfoertKassasjon.Select _root() { return new UtfoertKassasjon.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private com.kscs.util.jaxb.Selector> kassertDato = null; private com.kscs.util.jaxb.Selector> kassertAv = 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.kassertDato!= null) { products.put("kassertDato", this.kassertDato.init()); } if (this.kassertAv!= null) { products.put("kassertAv", this.kassertAv.init()); } return products; } public com.kscs.util.jaxb.Selector> kassertDato() { return ((this.kassertDato == null)?this.kassertDato = new com.kscs.util.jaxb.Selector>(this._root, this, "kassertDato"):this.kassertDato); } public com.kscs.util.jaxb.Selector> kassertAv() { return ((this.kassertAv == null)?this.kassertAv = new com.kscs.util.jaxb.Selector>(this._root, this, "kassertAv"):this.kassertAv); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy