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

no.ks.fiks.arkiv.v1.arkivstruktur.minimum.KlasseMinimum 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.minimum;

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;


/**
 * 

Java class for klasseMinimum complex type. * *

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

 * <complexType name="klasseMinimum">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="klasseID" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}klasseID"/>
 *         <element name="tittel" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/metadatakatalog/v1}tittel"/>
 *         <element name="skjerming" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/minimum/v1}skjermingMinimum" minOccurs="0"/>
 *         <element name="gradering" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/minimum/v1}graderingMinimum" minOccurs="0"/>
 *         <element name="klassifikasjonssystem" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/arkivstruktur/minimum/v1}klassifikasjonssystemMinimum"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "klasseMinimum", propOrder = { "klasseID", "tittel", "skjerming", "gradering", "klassifikasjonssystem" }) public class KlasseMinimum { @XmlElement(required = true) protected String klasseID; @XmlElement(required = true) protected String tittel; protected SkjermingMinimum skjerming; protected GraderingMinimum gradering; @XmlElement(required = true) protected KlassifikasjonssystemMinimum klassifikasjonssystem; /** * Gets the value of the klasseID property. * * @return * possible object is * {@link String } * */ public String getKlasseID() { return klasseID; } /** * Sets the value of the klasseID property. * * @param value * allowed object is * {@link String } * */ public void setKlasseID(String value) { this.klasseID = 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 skjerming property. * * @return * possible object is * {@link SkjermingMinimum } * */ public SkjermingMinimum getSkjerming() { return skjerming; } /** * Sets the value of the skjerming property. * * @param value * allowed object is * {@link SkjermingMinimum } * */ public void setSkjerming(SkjermingMinimum value) { this.skjerming = value; } /** * Gets the value of the gradering property. * * @return * possible object is * {@link GraderingMinimum } * */ public GraderingMinimum getGradering() { return gradering; } /** * Sets the value of the gradering property. * * @param value * allowed object is * {@link GraderingMinimum } * */ public void setGradering(GraderingMinimum value) { this.gradering = value; } /** * Gets the value of the klassifikasjonssystem property. * * @return * possible object is * {@link KlassifikasjonssystemMinimum } * */ public KlassifikasjonssystemMinimum getKlassifikasjonssystem() { return klassifikasjonssystem; } /** * Sets the value of the klassifikasjonssystem property. * * @param value * allowed object is * {@link KlassifikasjonssystemMinimum } * */ public void setKlassifikasjonssystem(KlassifikasjonssystemMinimum value) { this.klassifikasjonssystem = 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 KlasseMinimum.Builder<_B> _other) { _other.klasseID = this.klasseID; _other.tittel = this.tittel; _other.skjerming = ((this.skjerming == null)?null:this.skjerming.newCopyBuilder(_other)); _other.gradering = ((this.gradering == null)?null:this.gradering.newCopyBuilder(_other)); _other.klassifikasjonssystem = ((this.klassifikasjonssystem == null)?null:this.klassifikasjonssystem.newCopyBuilder(_other)); } public<_B >KlasseMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new KlasseMinimum.Builder<_B>(_parentBuilder, this, true); } public KlasseMinimum.Builder newCopyBuilder() { return newCopyBuilder(null); } public static KlasseMinimum.Builder builder() { return new KlasseMinimum.Builder(null, null, false); } public static<_B >KlasseMinimum.Builder<_B> copyOf(final KlasseMinimum _other) { final KlasseMinimum.Builder<_B> _newBuilder = new KlasseMinimum.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 KlasseMinimum.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PropertyTree klasseIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("klasseID")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(klasseIDPropertyTree!= null):((klasseIDPropertyTree == null)||(!klasseIDPropertyTree.isLeaf())))) { _other.klasseID = this.klasseID; } 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 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)); } final PropertyTree klassifikasjonssystemPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("klassifikasjonssystem")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(klassifikasjonssystemPropertyTree!= null):((klassifikasjonssystemPropertyTree == null)||(!klassifikasjonssystemPropertyTree.isLeaf())))) { _other.klassifikasjonssystem = ((this.klassifikasjonssystem == null)?null:this.klassifikasjonssystem.newCopyBuilder(_other, klassifikasjonssystemPropertyTree, _propertyTreeUse)); } } public<_B >KlasseMinimum.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new KlasseMinimum.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public KlasseMinimum.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >KlasseMinimum.Builder<_B> copyOf(final KlasseMinimum _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final KlasseMinimum.Builder<_B> _newBuilder = new KlasseMinimum.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static KlasseMinimum.Builder copyExcept(final KlasseMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static KlasseMinimum.Builder copyOnly(final KlasseMinimum _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final KlasseMinimum _storedValue; private String klasseID; private String tittel; private SkjermingMinimum.Builder> skjerming; private GraderingMinimum.Builder> gradering; private KlassifikasjonssystemMinimum.Builder> klassifikasjonssystem; public Builder(final _B _parentBuilder, final KlasseMinimum _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.klasseID = _other.klasseID; this.tittel = _other.tittel; this.skjerming = ((_other.skjerming == null)?null:_other.skjerming.newCopyBuilder(this)); this.gradering = ((_other.gradering == null)?null:_other.gradering.newCopyBuilder(this)); this.klassifikasjonssystem = ((_other.klassifikasjonssystem == null)?null:_other.klassifikasjonssystem.newCopyBuilder(this)); } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final KlasseMinimum _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; final PropertyTree klasseIDPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("klasseID")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(klasseIDPropertyTree!= null):((klasseIDPropertyTree == null)||(!klasseIDPropertyTree.isLeaf())))) { this.klasseID = _other.klasseID; } 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 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)); } final PropertyTree klassifikasjonssystemPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("klassifikasjonssystem")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(klassifikasjonssystemPropertyTree!= null):((klassifikasjonssystemPropertyTree == null)||(!klassifikasjonssystemPropertyTree.isLeaf())))) { this.klassifikasjonssystem = ((_other.klassifikasjonssystem == null)?null:_other.klassifikasjonssystem.newCopyBuilder(this, klassifikasjonssystemPropertyTree, _propertyTreeUse)); } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends KlasseMinimum >_P init(final _P _product) { _product.klasseID = this.klasseID; _product.tittel = this.tittel; _product.skjerming = ((this.skjerming == null)?null:this.skjerming.build()); _product.gradering = ((this.gradering == null)?null:this.gradering.build()); _product.klassifikasjonssystem = ((this.klassifikasjonssystem == null)?null:this.klassifikasjonssystem.build()); return _product; } /** * Sets the new value of "klasseID" (any previous value will be replaced) * * @param klasseID * New value of the "klasseID" property. */ public KlasseMinimum.Builder<_B> withKlasseID(final String klasseID) { this.klasseID = klasseID; return this; } /** * Sets the new value of "tittel" (any previous value will be replaced) * * @param tittel * New value of the "tittel" property. */ public KlasseMinimum.Builder<_B> withTittel(final String tittel) { this.tittel = tittel; return this; } /** * Sets the new value of "skjerming" (any previous value will be replaced) * * @param skjerming * New value of the "skjerming" property. */ public KlasseMinimum.Builder<_B> withSkjerming(final SkjermingMinimum skjerming) { this.skjerming = ((skjerming == null)?null:new SkjermingMinimum.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.arkivstruktur.minimum.SkjermingMinimum.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.arkivstruktur.minimum.SkjermingMinimum.Builder#end()} to * return to the current builder. */ public SkjermingMinimum.Builder> withSkjerming() { if (this.skjerming!= null) { return this.skjerming; } return this.skjerming = new SkjermingMinimum.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 KlasseMinimum.Builder<_B> withGradering(final GraderingMinimum gradering) { this.gradering = ((gradering == null)?null:new GraderingMinimum.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.arkivstruktur.minimum.GraderingMinimum.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.arkivstruktur.minimum.GraderingMinimum.Builder#end()} to * return to the current builder. */ public GraderingMinimum.Builder> withGradering() { if (this.gradering!= null) { return this.gradering; } return this.gradering = new GraderingMinimum.Builder>(this, null, false); } /** * Sets the new value of "klassifikasjonssystem" (any previous value will be * replaced) * * @param klassifikasjonssystem * New value of the "klassifikasjonssystem" property. */ public KlasseMinimum.Builder<_B> withKlassifikasjonssystem(final KlassifikasjonssystemMinimum klassifikasjonssystem) { this.klassifikasjonssystem = ((klassifikasjonssystem == null)?null:new KlassifikasjonssystemMinimum.Builder>(this, klassifikasjonssystem, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "klassifikasjonssystem" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.minimum.KlassifikasjonssystemMinimum.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "klassifikasjonssystem" property. * Use {@link * no.ks.fiks.arkiv.v1.arkivstruktur.minimum.KlassifikasjonssystemMinimum.Builder#end()} * to return to the current builder. */ public KlassifikasjonssystemMinimum.Builder> withKlassifikasjonssystem() { if (this.klassifikasjonssystem!= null) { return this.klassifikasjonssystem; } return this.klassifikasjonssystem = new KlassifikasjonssystemMinimum.Builder>(this, null, false); } @Override public KlasseMinimum build() { if (_storedValue == null) { return this.init(new KlasseMinimum()); } else { return ((KlasseMinimum) _storedValue); } } public KlasseMinimum.Builder<_B> copyOf(final KlasseMinimum _other) { _other.copyTo(this); return this; } public KlasseMinimum.Builder<_B> copyOf(final KlasseMinimum.Builder _other) { return copyOf(_other.build()); } } public static class Select extends KlasseMinimum.Selector { Select() { super(null, null, null); } public static KlasseMinimum.Select _root() { return new KlasseMinimum.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private com.kscs.util.jaxb.Selector> klasseID = null; private com.kscs.util.jaxb.Selector> tittel = null; private SkjermingMinimum.Selector> skjerming = null; private GraderingMinimum.Selector> gradering = null; private KlassifikasjonssystemMinimum.Selector> klassifikasjonssystem = 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.klasseID!= null) { products.put("klasseID", this.klasseID.init()); } if (this.tittel!= null) { products.put("tittel", this.tittel.init()); } if (this.skjerming!= null) { products.put("skjerming", this.skjerming.init()); } if (this.gradering!= null) { products.put("gradering", this.gradering.init()); } if (this.klassifikasjonssystem!= null) { products.put("klassifikasjonssystem", this.klassifikasjonssystem.init()); } return products; } public com.kscs.util.jaxb.Selector> klasseID() { return ((this.klasseID == null)?this.klasseID = new com.kscs.util.jaxb.Selector>(this._root, this, "klasseID"):this.klasseID); } 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 SkjermingMinimum.Selector> skjerming() { return ((this.skjerming == null)?this.skjerming = new SkjermingMinimum.Selector>(this._root, this, "skjerming"):this.skjerming); } public GraderingMinimum.Selector> gradering() { return ((this.gradering == null)?this.gradering = new GraderingMinimum.Selector>(this._root, this, "gradering"):this.gradering); } public KlassifikasjonssystemMinimum.Selector> klassifikasjonssystem() { return ((this.klassifikasjonssystem == null)?this.klassifikasjonssystem = new KlassifikasjonssystemMinimum.Selector>(this._root, this, "klassifikasjonssystem"):this.klassifikasjonssystem); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy