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

no.kith.xmlstds.ED Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
//
// 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: 2023.12.22 at 08:04:05 AM CET 
//


package no.kith.xmlstds;

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.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;


/**
 * 

Java class for ED complex type. * *

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

 * <complexType name="ED">
 *   <complexContent>
 *     <extension base="{http://www.kith.no/xmlstds}base">
 *       <attribute ref="{http://www.kith.no/xmlstds}MT"/>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ED") @XmlSeeAlso({ TN.class }) public class ED extends Base { @XmlAttribute(name = "MT", namespace = "http://www.kith.no/xmlstds") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String mt; /** * Gets the value of the mt property. * * @return * possible object is * {@link String } * */ public String getMT() { return mt; } /** * Sets the value of the mt property. * * @param value * allowed object is * {@link String } * */ public void setMT(String value) { this.mt = 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 ED.Builder<_B> _other) { super.copyTo(_other); _other.mt = this.mt; } @Override public<_B >ED.Builder<_B> newCopyBuilder(final _B _parentBuilder) { return new ED.Builder<_B>(_parentBuilder, this, true); } @Override public ED.Builder newCopyBuilder() { return newCopyBuilder(null); } public static ED.Builder builder() { return new ED.Builder(null, null, false); } public static<_B >ED.Builder<_B> copyOf(final Base _other) { final ED.Builder<_B> _newBuilder = new ED.Builder<_B>(null, null, false); _other.copyTo(_newBuilder); return _newBuilder; } public static<_B >ED.Builder<_B> copyOf(final ED _other) { final ED.Builder<_B> _newBuilder = new ED.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 ED.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super.copyTo(_other, _propertyTree, _propertyTreeUse); final PropertyTree mtPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mt")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mtPropertyTree!= null):((mtPropertyTree == null)||(!mtPropertyTree.isLeaf())))) { _other.mt = this.mt; } } @Override public<_B >ED.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return new ED.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse); } @Override public ED.Builder newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { return newCopyBuilder(null, _propertyTree, _propertyTreeUse); } public static<_B >ED.Builder<_B> copyOf(final Base _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final ED.Builder<_B> _newBuilder = new ED.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static<_B >ED.Builder<_B> copyOf(final ED _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { final ED.Builder<_B> _newBuilder = new ED.Builder<_B>(null, null, false); _other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse); return _newBuilder; } public static ED.Builder copyExcept(final Base _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static ED.Builder copyExcept(final ED _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE); } public static ED.Builder copyOnly(final Base _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public static ED.Builder copyOnly(final ED _other, final PropertyTree _propertyTree) { return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE); } public ED.Modifier modifier() { if (null == this.__cachedModifier__) { this.__cachedModifier__ = new ED.Modifier(); } return ((ED.Modifier) this.__cachedModifier__); } public static class Builder<_B > extends Base.Builder<_B> implements Buildable { private String mt; public Builder(final _B _parentBuilder, final ED _other, final boolean _copy) { super(_parentBuilder, _other, _copy); if (_other!= null) { this.mt = _other.mt; } } public Builder(final _B _parentBuilder, final ED _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) { super(_parentBuilder, _other, _copy, _propertyTree, _propertyTreeUse); if (_other!= null) { final PropertyTree mtPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("mt")); if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(mtPropertyTree!= null):((mtPropertyTree == null)||(!mtPropertyTree.isLeaf())))) { this.mt = _other.mt; } } } protected<_P extends ED >_P init(final _P _product) { _product.mt = this.mt; return super.init(_product); } /** * Sets the new value of "mt" (any previous value will be replaced) * * @param mt * New value of the "mt" property. */ public ED.Builder<_B> withMT(final String mt) { this.mt = mt; return this; } @Override public ED build() { if (_storedValue == null) { return this.init(new ED()); } else { return ((ED) _storedValue); } } public ED.Builder<_B> copyOf(final ED _other) { _other.copyTo(this); return this; } public ED.Builder<_B> copyOf(final ED.Builder _other) { return copyOf(_other.build()); } } public class Modifier extends Base.Modifier { public void setMT(final String mt) { ED.this.setMT(mt); } } public static class Select extends ED.Selector { Select() { super(null, null, null); } public static ED.Select _root() { return new ED.Select(); } } public static class Selector , TParent > extends Base.Selector { private com.kscs.util.jaxb.Selector> mt = 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.mt!= null) { products.put("mt", this.mt.init()); } return products; } public com.kscs.util.jaxb.Selector> mt() { return ((this.mt == null)?this.mt = new com.kscs.util.jaxb.Selector>(this._root, this, "mt"):this.mt); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy