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

no.difi.meldingsutveksling.ks.svarut.OrganisasjonDigitalAdresse Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.7 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.09.09 at 10:33:19 AM UTC 
//


package no.difi.meldingsutveksling.ks.svarut;

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


/**
 * 

Java class for organisasjonDigitalAdresse complex type. * *

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

 * <complexType name="organisasjonDigitalAdresse">
 *   <complexContent>
 *     <extension base="{http://www.ks.no/svarut/servicesV9}digitalAdresse">
 *       <sequence>
 *         <element name="orgnr" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "organisasjonDigitalAdresse", propOrder = { "orgnr" }) public class OrganisasjonDigitalAdresse extends DigitalAdresse { protected String orgnr; /** * Gets the value of the orgnr property. * * @return * possible object is * {@link String } * */ public String getOrgnr() { return orgnr; } /** * Sets the value of the orgnr property. * * @param value * allowed object is * {@link String } * */ public void setOrgnr(String value) { this.orgnr = 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 OrganisasjonDigitalAdresse.Builder<_B> _other) { super.copyTo(_other); _other.orgnr = this.orgnr; } @Override public<_B >OrganisasjonDigitalAdresse.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new OrganisasjonDigitalAdresse.Builder<_B>(_parentBuilder, this, true); } @Override public OrganisasjonDigitalAdresse.Builder newCopyBuilder() { return newCopyBuilder(null); } public static OrganisasjonDigitalAdresse.Builder builder() { return new OrganisasjonDigitalAdresse.Builder(null, null, false); } public static<_B >OrganisasjonDigitalAdresse.Builder<_B> copyOf(final DigitalAdresse _other) { final OrganisasjonDigitalAdresse.Builder<_B> _newBuilder = new OrganisasjonDigitalAdresse.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >OrganisasjonDigitalAdresse.Builder<_B> copyOf(final OrganisasjonDigitalAdresse _other) { final OrganisasjonDigitalAdresse.Builder<_B> _newBuilder = new OrganisasjonDigitalAdresse.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 OrganisasjonDigitalAdresse.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); final PropertyTree orgnrPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("orgnr")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(orgnrPropertyTree!= null):((orgnrPropertyTree == null)||(!orgnrPropertyTree.isLeaf())))) { _other.orgnr = this.orgnr; } } @Override public<_B >OrganisasjonDigitalAdresse.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new OrganisasjonDigitalAdresse.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public OrganisasjonDigitalAdresse.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >OrganisasjonDigitalAdresse.Builder<_B> copyOf(final DigitalAdresse _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final OrganisasjonDigitalAdresse.Builder<_B> _newBuilder = new OrganisasjonDigitalAdresse.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >OrganisasjonDigitalAdresse.Builder<_B> copyOf(final OrganisasjonDigitalAdresse _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final OrganisasjonDigitalAdresse.Builder<_B> _newBuilder = new OrganisasjonDigitalAdresse.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static OrganisasjonDigitalAdresse.Builder copyExcept(final DigitalAdresse _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static OrganisasjonDigitalAdresse.Builder copyExcept(final OrganisasjonDigitalAdresse _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static OrganisasjonDigitalAdresse.Builder copyOnly(final DigitalAdresse _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static OrganisasjonDigitalAdresse.Builder copyOnly(final OrganisasjonDigitalAdresse _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static class Builder<_B > extends DigitalAdresse.Builder<_B> implements Buildable { private String orgnr; public Builder(final _B _parentBuilder, final OrganisasjonDigitalAdresse _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.orgnr = _other.orgnr; } } public Builder(final _B _parentBuilder, final OrganisasjonDigitalAdresse _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { final PropertyTree orgnrPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("orgnr")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(orgnrPropertyTree!= null):((orgnrPropertyTree == null)||(!orgnrPropertyTree.isLeaf())))) { this.orgnr = _other.orgnr; } } } protected<_P extends OrganisasjonDigitalAdresse >_P init(final _P _product) { _product.orgnr = this.orgnr; return super.init(_product); } /** * Sets the new value of "orgnr" (any previous value will be replaced) * * @param orgnr * New value of the "orgnr" property. */ public OrganisasjonDigitalAdresse.Builder<_B> withOrgnr(final String orgnr) { this.orgnr = orgnr; return this; } @Override public OrganisasjonDigitalAdresse build() { if (_storedValue == null) { return this.init(new OrganisasjonDigitalAdresse()); } else { return ((OrganisasjonDigitalAdresse) _storedValue); } } public OrganisasjonDigitalAdresse.Builder<_B> copyOf(final OrganisasjonDigitalAdresse _other) { _other.copyTo(this); return this; } public OrganisasjonDigitalAdresse.Builder<_B> copyOf(final OrganisasjonDigitalAdresse.Builder _other) { return copyOf(_other.build()); } } public static class Select extends OrganisasjonDigitalAdresse.Selector { Select() { super(null, null, null); } public static OrganisasjonDigitalAdresse.Select _root() { return new OrganisasjonDigitalAdresse.Select(); } } public static class Selector , TParent > extends DigitalAdresse.Selector { private com.kscs.util.jaxb.Selector> orgnr = 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.orgnr!= null) { products.put("orgnr", this.orgnr.init()); } return products; } public com.kscs.util.jaxb.Selector> orgnr() { return ((this.orgnr == null)?this.orgnr = new com.kscs.util.jaxb.Selector>(this._root, this, "orgnr"):this.orgnr); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy