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

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

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 com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;


/**
 * 

Java class for dokumentbeskrivelseParameter complex type. * *

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

 * <complexType name="dokumentbeskrivelseParameter">
 *   <complexContent>
 *     <extension base="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/sok/v1}parameter">
 *       <sequence>
 *         <element name="felt" type="{https://ks-no.github.io/standarder/fiks-protokoll/fiks-arkiv/sok/v1}dokumentbeskrivelseSokefelt"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "dokumentbeskrivelseParameter", propOrder = { "felt" }) public class DokumentbeskrivelseParameter extends Parameter { @XmlElement(required = true) @XmlSchemaType(name = "string") protected DokumentbeskrivelseSokefelt felt; /** * Gets the value of the felt property. * * @return * possible object is * {@link DokumentbeskrivelseSokefelt } * */ public DokumentbeskrivelseSokefelt getFelt() { return felt; } /** * Sets the value of the felt property. * * @param value * allowed object is * {@link DokumentbeskrivelseSokefelt } * */ public void setFelt(DokumentbeskrivelseSokefelt value) { this.felt = 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 DokumentbeskrivelseParameter.Builder<_B> _other) { super.copyTo(_other); _other.felt = this.felt; } @Override public<_B >DokumentbeskrivelseParameter.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new DokumentbeskrivelseParameter.Builder<_B>(_parentBuilder, this, true); } @Override public DokumentbeskrivelseParameter.Builder newCopyBuilder() { return newCopyBuilder(null); } public static DokumentbeskrivelseParameter.Builder builder() { return new DokumentbeskrivelseParameter.Builder(null, null, false); } public static<_B >DokumentbeskrivelseParameter.Builder<_B> copyOf(final Parameter _other) { final DokumentbeskrivelseParameter.Builder<_B> _newBuilder = new DokumentbeskrivelseParameter.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >DokumentbeskrivelseParameter.Builder<_B> copyOf(final DokumentbeskrivelseParameter _other) { final DokumentbeskrivelseParameter.Builder<_B> _newBuilder = new DokumentbeskrivelseParameter.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 DokumentbeskrivelseParameter.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); final PropertyTree feltPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("felt")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(feltPropertyTree!= null):((feltPropertyTree == null)||(!feltPropertyTree.isLeaf())))) { _other.felt = this.felt; } } @Override public<_B >DokumentbeskrivelseParameter.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new DokumentbeskrivelseParameter.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public DokumentbeskrivelseParameter.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >DokumentbeskrivelseParameter.Builder<_B> copyOf(final Parameter _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final DokumentbeskrivelseParameter.Builder<_B> _newBuilder = new DokumentbeskrivelseParameter.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >DokumentbeskrivelseParameter.Builder<_B> copyOf(final DokumentbeskrivelseParameter _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final DokumentbeskrivelseParameter.Builder<_B> _newBuilder = new DokumentbeskrivelseParameter.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static DokumentbeskrivelseParameter.Builder copyExcept(final Parameter _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static DokumentbeskrivelseParameter.Builder copyExcept(final DokumentbeskrivelseParameter _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static DokumentbeskrivelseParameter.Builder copyOnly(final Parameter _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static DokumentbeskrivelseParameter.Builder copyOnly(final DokumentbeskrivelseParameter _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends Parameter.Builder<_B> implements Buildable { private DokumentbeskrivelseSokefelt felt; public Builder(final _B _parentBuilder, final DokumentbeskrivelseParameter _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.felt = _other.felt; } } public Builder(final _B _parentBuilder, final DokumentbeskrivelseParameter _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { final PropertyTree feltPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("felt")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(feltPropertyTree!= null):((feltPropertyTree == null)||(!feltPropertyTree.isLeaf())))) { this.felt = _other.felt; } } } protected<_P extends DokumentbeskrivelseParameter >_P init(final _P _product) { _product.felt = this.felt; return super.init(_product); } /** * Sets the new value of "felt" (any previous value will be replaced) * * @param felt * New value of the "felt" property. */ public DokumentbeskrivelseParameter.Builder<_B> withFelt(final DokumentbeskrivelseSokefelt felt) { this.felt = felt; return this; } /** * Sets the new value of "operator" (any previous value will be replaced) * * @param operator * New value of the "operator" property. */ @Override public DokumentbeskrivelseParameter.Builder<_B> withOperator(final OperatorType operator) { super.withOperator(operator); return this; } /** * Sets the new value of "sokVerdier" (any previous value will be replaced) * * @param sokVerdier * New value of the "sokVerdier" property. */ @Override public DokumentbeskrivelseParameter.Builder<_B> withSokVerdier(final SokVerdier sokVerdier) { super.withSokVerdier(sokVerdier); return this; } /** * Returns the existing builder or a new builder to build the value of the * "sokVerdier" property. * Use {@link no.ks.fiks.arkiv.v1.innsyn.sok.SokVerdier.Builder#end()} to return to * the current builder. * * @return * A new builder to build the value of the "sokVerdier" property. * Use {@link no.ks.fiks.arkiv.v1.innsyn.sok.SokVerdier.Builder#end()} to return to * the current builder. */ public SokVerdier.Builder> withSokVerdier() { return ((SokVerdier.Builder> ) super.withSokVerdier()); } @Override public DokumentbeskrivelseParameter build() { if (_storedValue == null) { return this.init(new DokumentbeskrivelseParameter()); } else { return ((DokumentbeskrivelseParameter) _storedValue); } } public DokumentbeskrivelseParameter.Builder<_B> copyOf(final DokumentbeskrivelseParameter _other) { _other.copyTo(this); return this; } public DokumentbeskrivelseParameter.Builder<_B> copyOf(final DokumentbeskrivelseParameter.Builder _other) { return copyOf(_other.build()); } } public static class Select extends DokumentbeskrivelseParameter.Selector { Select() { super(null, null, null); } public static DokumentbeskrivelseParameter.Select _root() { return new DokumentbeskrivelseParameter.Select(); } } public static class Selector , TParent > extends Parameter.Selector { private com.kscs.util.jaxb.Selector> felt = 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.felt!= null) { products.put("felt", this.felt.init()); } return products; } public com.kscs.util.jaxb.Selector> felt() { return ((this.felt == null)?this.felt = new com.kscs.util.jaxb.Selector>(this._root, this, "felt"):this.felt); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy