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

no.ks.fiks.arkiv.v1.innsyn.dokument.DokumentfilHent 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.innsyn.dokument;

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.XmlRootElement;
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 dokumentfilHent complex type. * *

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

 * <complexType name="dokumentfilHent">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="system" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="dokumentfilNoekkel" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/dokumentfil/hent/v1}dokumentfilNoekkel"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "dokumentfilHent", propOrder = { "system", "dokumentfilNoekkel" }) @XmlRootElement(name = "dokumentfilHent") public class DokumentfilHent { @XmlElement(required = true) protected String system; @XmlElement(required = true) protected DokumentfilNoekkel dokumentfilNoekkel; /** * Gets the value of the system property. * * @return * possible object is * {@link String } * */ public String getSystem() { return system; } /** * Sets the value of the system property. * * @param value * allowed object is * {@link String } * */ public void setSystem(String value) { this.system = value; } /** * Gets the value of the dokumentfilNoekkel property. * * @return * possible object is * {@link DokumentfilNoekkel } * */ public DokumentfilNoekkel getDokumentfilNoekkel() { return dokumentfilNoekkel; } /** * Sets the value of the dokumentfilNoekkel property. * * @param value * allowed object is * {@link DokumentfilNoekkel } * */ public void setDokumentfilNoekkel(DokumentfilNoekkel value) { this.dokumentfilNoekkel = 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 DokumentfilHent.Builder<_B> _other) { _other.system = this.system; _other.dokumentfilNoekkel = ((this.dokumentfilNoekkel == null)?null:this.dokumentfilNoekkel.newCopyBuilder(_other)); } public<_B >DokumentfilHent.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new DokumentfilHent.Builder<_B>(_parentBuilder, this, true); } public DokumentfilHent.Builder newCopyBuilder() { return newCopyBuilder(null); } public static DokumentfilHent.Builder builder() { return new DokumentfilHent.Builder(null, null, false); } public static<_B >DokumentfilHent.Builder<_B> copyOf(final DokumentfilHent _other) { final DokumentfilHent.Builder<_B> _newBuilder = new DokumentfilHent.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 DokumentfilHent.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final PropertyTree systemPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("system")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(systemPropertyTree!= null):((systemPropertyTree == null)||(!systemPropertyTree.isLeaf())))) { _other.system = this.system; } final PropertyTree dokumentfilNoekkelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentfilNoekkel")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentfilNoekkelPropertyTree!= null):((dokumentfilNoekkelPropertyTree == null)||(!dokumentfilNoekkelPropertyTree.isLeaf())))) { _other.dokumentfilNoekkel = ((this.dokumentfilNoekkel == null)?null:this.dokumentfilNoekkel.newCopyBuilder(_other, dokumentfilNoekkelPropertyTree, _propertyTreeUse)); } } public<_B >DokumentfilHent.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new DokumentfilHent.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } public DokumentfilHent.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >DokumentfilHent.Builder<_B> copyOf(final DokumentfilHent _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final DokumentfilHent.Builder<_B> _newBuilder = new DokumentfilHent.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static DokumentfilHent.Builder copyExcept(final DokumentfilHent _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static DokumentfilHent.Builder copyOnly(final DokumentfilHent _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B >implements Buildable { protected final _B _parentBuilder; protected final DokumentfilHent _storedValue; private String system; private DokumentfilNoekkel.Builder> dokumentfilNoekkel; public Builder(final _B _parentBuilder, final DokumentfilHent _other, final boolean _copy) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; this.system = _other.system; this.dokumentfilNoekkel = ((_other.dokumentfilNoekkel == null)?null:_other.dokumentfilNoekkel.newCopyBuilder(this)); } else { _storedValue = _other; } } else { _storedValue = null; } } public Builder(final _B _parentBuilder, final DokumentfilHent _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { this._parentBuilder = _parentBuilder; if (_other!= null) { if (_copy) { _storedValue = null; final PropertyTree systemPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("system")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(systemPropertyTree!= null):((systemPropertyTree == null)||(!systemPropertyTree.isLeaf())))) { this.system = _other.system; } final PropertyTree dokumentfilNoekkelPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("dokumentfilNoekkel")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(dokumentfilNoekkelPropertyTree!= null):((dokumentfilNoekkelPropertyTree == null)||(!dokumentfilNoekkelPropertyTree.isLeaf())))) { this.dokumentfilNoekkel = ((_other.dokumentfilNoekkel == null)?null:_other.dokumentfilNoekkel.newCopyBuilder(this, dokumentfilNoekkelPropertyTree, _propertyTreeUse)); } } else { _storedValue = _other; } } else { _storedValue = null; } } public _B end() { return this._parentBuilder; } protected<_P extends DokumentfilHent >_P init(final _P _product) { _product.system = this.system; _product.dokumentfilNoekkel = ((this.dokumentfilNoekkel == null)?null:this.dokumentfilNoekkel.build()); return _product; } /** * Sets the new value of "system" (any previous value will be replaced) * * @param system * New value of the "system" property. */ public DokumentfilHent.Builder<_B> withSystem(final String system) { this.system = system; return this; } /** * Sets the new value of "dokumentfilNoekkel" (any previous value will be replaced) * * @param dokumentfilNoekkel * New value of the "dokumentfilNoekkel" property. */ public DokumentfilHent.Builder<_B> withDokumentfilNoekkel(final DokumentfilNoekkel dokumentfilNoekkel) { this.dokumentfilNoekkel = ((dokumentfilNoekkel == null)?null:new DokumentfilNoekkel.Builder>(this, dokumentfilNoekkel, false)); return this; } /** * Returns the existing builder or a new builder to build the value of the * "dokumentfilNoekkel" property. * Use {@link no.ks.fiks.arkiv.v1.innsyn.dokument.DokumentfilNoekkel.Builder#end()} * to return to the current builder. * * @return * A new builder to build the value of the "dokumentfilNoekkel" property. * Use {@link no.ks.fiks.arkiv.v1.innsyn.dokument.DokumentfilNoekkel.Builder#end()} * to return to the current builder. */ public DokumentfilNoekkel.Builder> withDokumentfilNoekkel() { if (this.dokumentfilNoekkel!= null) { return this.dokumentfilNoekkel; } return this.dokumentfilNoekkel = new DokumentfilNoekkel.Builder>(this, null, false); } @Override public DokumentfilHent build() { if (_storedValue == null) { return this.init(new DokumentfilHent()); } else { return ((DokumentfilHent) _storedValue); } } public DokumentfilHent.Builder<_B> copyOf(final DokumentfilHent _other) { _other.copyTo(this); return this; } public DokumentfilHent.Builder<_B> copyOf(final DokumentfilHent.Builder _other) { return copyOf(_other.build()); } } public static class Select extends DokumentfilHent.Selector { Select() { super(null, null, null); } public static DokumentfilHent.Select _root() { return new DokumentfilHent.Select(); } } public static class Selector , TParent > extends com.kscs.util.jaxb.Selector { private com.kscs.util.jaxb.Selector> system = null; private DokumentfilNoekkel.Selector> dokumentfilNoekkel = 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.system!= null) { products.put("system", this.system.init()); } if (this.dokumentfilNoekkel!= null) { products.put("dokumentfilNoekkel", this.dokumentfilNoekkel.init()); } return products; } public com.kscs.util.jaxb.Selector> system() { return ((this.system == null)?this.system = new com.kscs.util.jaxb.Selector>(this._root, this, "system"):this.system); } public DokumentfilNoekkel.Selector> dokumentfilNoekkel() { return ((this.dokumentfilNoekkel == null)?this.dokumentfilNoekkel = new DokumentfilNoekkel.Selector>(this._root, this, "dokumentfilNoekkel"):this.dokumentfilNoekkel); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy