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

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

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.arkivmelding.opprett.Gradering;
import no.ks.fiks.arkiv.v1.arkivmelding.opprett.Skjerming;
import no.ks.fiks.arkiv.v1.arkivstruktur.metadatakatalog.SystemID;


/**
 * 

Java class for dokumentbeskrivelseOppdatering complex type. * *

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

 * <complexType name="dokumentbeskrivelseOppdatering">
 *   <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="tittel" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}tittel" minOccurs="0"/>
 *         <element name="beskrivelse" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}beskrivelse" minOccurs="0"/>
 *         <element name="skjerming" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}skjerming" minOccurs="0"/>
 *         <element name="gradering" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivmelding/opprett/v1}gradering" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "dokumentbeskrivelseOppdatering", propOrder = { "systemID", "tittel", "beskrivelse", "skjerming", "gradering" }) public class DokumentbeskrivelseOppdatering { @XmlElement(required = true) protected SystemID systemID; protected String tittel; protected String beskrivelse; protected Skjerming skjerming; protected Gradering gradering; /** * 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 tittel property. * * @return * possible object is * {@link String } * */ public String getTittel() { return tittel; } /** * Sets the value of the tittel property. * * @param value * allowed object is * {@link String } * */ public void setTittel(String value) { this.tittel = 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 skjerming property. * * @return * possible object is * {@link Skjerming } * */ public Skjerming getSkjerming() { return skjerming; } /** * Sets the value of the skjerming property. * * @param value * allowed object is * {@link Skjerming } * */ public void setSkjerming(Skjerming value) { this.skjerming = value; } /** * Gets the value of the gradering property. * * @return * possible object is * {@link Gradering } * */ public Gradering getGradering() { return gradering; } /** * Sets the value of the gradering property. * * @param value * allowed object is * {@link Gradering } * */ public void setGradering(Gradering value) { this.gradering = 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 DokumentbeskrivelseOppdatering.Builder<_B> _other) { _other.systemID = ((this.systemID == null)?null:this.systemID.newCopyBuilder(_other)); _other.tittel = this.tittel; _other.beskrivelse = this.beskrivelse; _other.skjerming = ((this.skjerming == null)?null:this.skjerming.newCopyBuilder(_other)); _other.gradering = ((this.gradering == null)?null:this.gradering.newCopyBuilder(_other)); } public<_B >DokumentbeskrivelseOppdatering.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new DokumentbeskrivelseOppdatering.Builder<_B>(_parentBuilder, this, true); } public DokumentbeskrivelseOppdatering.Builder newCopyBuilder() { return newCopyBuilder(null); } public static DokumentbeskrivelseOppdatering.Builder builder() { return new DokumentbeskrivelseOppdatering.Builder(null, null, false); } public static<_B >DokumentbeskrivelseOppdatering.Builder<_B> copyOf(final DokumentbeskrivelseOppdatering _other) { final DokumentbeskrivelseOppdatering.Builder<_B> _newBuilder = new DokumentbeskrivelseOppdatering.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 DokumentbeskrivelseOppdatering.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 tittelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("tittel")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(tittelPropertyTree!= null):((tittelPropertyTree == null)||(!tittelPropertyTree.isLeaf())))) { _other.tittel = this.tittel; } 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 skjermingPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("skjerming")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(skjermingPropertyTree!= null):((skjermingPropertyTree == null)||(!skjermingPropertyTree.isLeaf())))) { _other.skjerming = ((this.skjerming == null)?null:this.skjerming.newCopyBuilder(_other, skjermingPropertyTree, _propertyTreeUse)); } final PropertyTree graderingPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("gradering")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(graderingPropertyTree!= null):((graderingPropertyTree == null)||(!graderingPropertyTree.isLeaf())))) { _other.gradering = ((this.gradering == null)?null:this.gradering.newCopyBuilder(_other, graderingPropertyTree, _propertyTreeUse)); } } public<_B >DokumentbeskrivelseOppdatering.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new DokumentbeskrivelseOppdatering.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public DokumentbeskrivelseOppdatering.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >DokumentbeskrivelseOppdatering.Builder<_B> copyOf(final DokumentbeskrivelseOppdatering _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final DokumentbeskrivelseOppdatering.Builder<_B> _newBuilder = new DokumentbeskrivelseOppdatering.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static DokumentbeskrivelseOppdatering.Builder copyExcept(final DokumentbeskrivelseOppdatering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static DokumentbeskrivelseOppdatering.Builder copyOnly(final DokumentbeskrivelseOppdatering _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final DokumentbeskrivelseOppdatering _storedValue; private SystemID.Builder> systemID; private String tittel; private String beskrivelse; private Skjerming.Builder> skjerming; private Gradering.Builder> gradering; public Builder(final _B _parentBuilder, final DokumentbeskrivelseOppdatering _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.tittel = _other.tittel; this.beskrivelse = _other.beskrivelse; this.skjerming = ((_other.skjerming == null)?null:_other.skjerming.newCopyBuilder(this)); this.gradering = ((_other.gradering == null)?null:_other.gradering.newCopyBuilder(this)); } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final DokumentbeskrivelseOppdatering _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 tittelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("tittel")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(tittelPropertyTree!= null):((tittelPropertyTree == null)||(!tittelPropertyTree.isLeaf())))) { this.tittel = _other.tittel; } 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 skjermingPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("skjerming")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(skjermingPropertyTree!= null):((skjermingPropertyTree == null)||(!skjermingPropertyTree.isLeaf())))) { this.skjerming = ((_other.skjerming == null)?null:_other.skjerming.newCopyBuilder(this, skjermingPropertyTree, _propertyTreeUse)); } final PropertyTree graderingPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("gradering")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(graderingPropertyTree!= null):((graderingPropertyTree == null)||(!graderingPropertyTree.isLeaf())))) { this.gradering = ((_other.gradering == null)?null:_other.gradering.newCopyBuilder(this, graderingPropertyTree, _propertyTreeUse)); } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends DokumentbeskrivelseOppdatering >_P init(final _P _product) { _product.systemID = ((this.systemID == null)?null:this.systemID.build()); _product.tittel = this.tittel; _product.beskrivelse = this.beskrivelse; _product.skjerming = ((this.skjerming == null)?null:this.skjerming.build()); _product.gradering = ((this.gradering == null)?null:this.gradering.build()); return _product; } /** * Sets the new value of "systemID" (any previous value will be replaced) * * @param systemID * New value of the "systemID" property. */ public DokumentbeskrivelseOppdatering.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 "tittel" (any previous value will be replaced) * * @param tittel * New value of the "tittel" property. */ public DokumentbeskrivelseOppdatering.Builder<_B> withTittel(final String tittel) { this.tittel = tittel; return this; } /** * Sets the new value of "beskrivelse" (any previous value will be replaced) * * @param beskrivelse * New value of the "beskrivelse" property. */ public DokumentbeskrivelseOppdatering.Builder<_B> withBeskrivelse(final String beskrivelse) { this.beskrivelse = beskrivelse; return this; } /** * Sets the new value of "skjerming" (any previous value will be replaced) * * @param skjerming * New value of the "skjerming" property. */ public DokumentbeskrivelseOppdatering.Builder<_B> withSkjerming(final Skjerming skjerming) { this.skjerming = ((skjerming == null)?null:new Skjerming.Builder>(this, skjerming, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "skjerming" property. * Use {@link no.ks.fiks.arkiv.v1.arkivmelding.opprett.Skjerming.Builder#end()} to * return to the current builder. * * @return * A new builder to build the value of the "skjerming" property. * Use {@link no.ks.fiks.arkiv.v1.arkivmelding.opprett.Skjerming.Builder#end()} to * return to the current builder. */ public Skjerming.Builder> withSkjerming() { if (this.skjerming!= null) { return this.skjerming; } return this.skjerming = new Skjerming.Builder>(this, null, false); } /** * Sets the new value of "gradering" (any previous value will be replaced) * * @param gradering * New value of the "gradering" property. */ public DokumentbeskrivelseOppdatering.Builder<_B> withGradering(final Gradering gradering) { this.gradering = ((gradering == null)?null:new Gradering.Builder>(this, gradering, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "gradering" property. * Use {@link no.ks.fiks.arkiv.v1.arkivmelding.opprett.Gradering.Builder#end()} to * return to the current builder. * * @return * A new builder to build the value of the "gradering" property. * Use {@link no.ks.fiks.arkiv.v1.arkivmelding.opprett.Gradering.Builder#end()} to * return to the current builder. */ public Gradering.Builder> withGradering() { if (this.gradering!= null) { return this.gradering; } return this.gradering = new Gradering.Builder>(this, null, false); } @Override public DokumentbeskrivelseOppdatering build() { if (_storedValue == null) { return this.init(new DokumentbeskrivelseOppdatering()); } else { return ((DokumentbeskrivelseOppdatering) _storedValue); } } public DokumentbeskrivelseOppdatering.Builder<_B> copyOf(final DokumentbeskrivelseOppdatering _other) { _other.copyTo(this); return this; } public DokumentbeskrivelseOppdatering.Builder<_B> copyOf(final DokumentbeskrivelseOppdatering.Builder _other) { return copyOf(_other.build()); } } public static class Select extends DokumentbeskrivelseOppdatering.Selector { Select() { super(null, null, null); } public static DokumentbeskrivelseOppdatering.Select _root() { return new DokumentbeskrivelseOppdatering.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private SystemID.Selector> systemID = null; private com.kscs.util.jaxb.Selector> tittel = null; private com.kscs.util.jaxb.Selector> beskrivelse = null; private Skjerming.Selector> skjerming = null; private Gradering.Selector> gradering = 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.tittel!= null) { products.put("tittel", this.tittel.init()); } if (this.beskrivelse!= null) { products.put("beskrivelse", this.beskrivelse.init()); } if (this.skjerming!= null) { products.put("skjerming", this.skjerming.init()); } if (this.gradering!= null) { products.put("gradering", this.gradering.init()); } return products; } public SystemID.Selector> systemID() { return ((this.systemID == null)?this.systemID = new SystemID.Selector>(this._root, this, "systemID"):this.systemID); } public com.kscs.util.jaxb.Selector> tittel() { return ((this.tittel == null)?this.tittel = new com.kscs.util.jaxb.Selector>(this._root, this, "tittel"):this.tittel); } 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 Skjerming.Selector> skjerming() { return ((this.skjerming == null)?this.skjerming = new Skjerming.Selector>(this._root, this, "skjerming"):this.skjerming); } public Gradering.Selector> gradering() { return ((this.gradering == null)?this.gradering = new Gradering.Selector>(this._root, this, "gradering"):this.gradering); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy