//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.3.0 生成的
// 请访问 <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2026.03.02 时间 03:10:34 PM CST 
//


package com.njcn.gather.icd.mapping.infrastructure.parser.generated;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * <p>tAbstractDataAttribute complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="tAbstractDataAttribute"&gt;
 *   &lt;complexContent&gt;
 *     &lt;extension base="{http://www.iec.ch/61850/2003/SCL}tUnNaming"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Val" type="{http://www.iec.ch/61850/2003/SCL}tVal" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="Labels" type="{http://www.iec.ch/61850/2003/SCL}tLabels" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="name" use="required" type="{http://www.iec.ch/61850/2003/SCL}tAttributeNameEnum" /&gt;
 *       &lt;attribute name="sAddr"&gt;
 *         &lt;simpleType&gt;
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString"&gt;
 *             &lt;maxLength value="255"/&gt;
 *           &lt;/restriction&gt;
 *         &lt;/simpleType&gt;
 *       &lt;/attribute&gt;
 *       &lt;attribute name="bType" use="required" type="{http://www.iec.ch/61850/2003/SCL}tBasicTypeEnum" /&gt;
 *       &lt;attribute name="valKind" type="{http://www.iec.ch/61850/2003/SCL}tValKindEnum" default="Set" /&gt;
 *       &lt;attribute name="type" type="{http://www.iec.ch/61850/2003/SCL}tAnyName" /&gt;
 *       &lt;attribute name="count" type="{http://www.iec.ch/61850/2003/SCL}tDACount" default="0" /&gt;
 *       &lt;attribute name="valImport" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
 *       &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
 *     &lt;/extension&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tAbstractDataAttribute", propOrder = {
    "val",
    "labels"
})
@XmlSeeAlso({
    TDA.class,
    TBDA.class
})
public abstract class TAbstractDataAttribute
    extends TUnNaming
{

    @XmlElement(name = "Val")
    protected List<TVal> val;
    @XmlElement(name = "Labels")
    protected TLabels labels;
    @XmlAttribute(name = "name", required = true)
    protected String name;
    @XmlAttribute(name = "sAddr")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String sAddr;
    @XmlAttribute(name = "bType", required = true)
    protected TPredefinedBasicTypeEnum bType;
    @XmlAttribute(name = "valKind")
    protected TValKindEnum valKind;
    @XmlAttribute(name = "type")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String type;
    @XmlAttribute(name = "count")
    protected List<String> count;
    @XmlAttribute(name = "valImport")
    protected Boolean valImport;

    /**
     * Gets the value of the val property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the val property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getVal().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TVal }
     * 
     * 
     */
    public List<TVal> getVal() {
        if (val == null) {
            val = new ArrayList<TVal>();
        }
        return this.val;
    }

    /**
     * 获取labels属性的值。
     * 
     * @return
     *     possible object is
     *     {@link TLabels }
     *     
     */
    public TLabels getLabels() {
        return labels;
    }

    /**
     * 设置labels属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link TLabels }
     *     
     */
    public void setLabels(TLabels value) {
        this.labels = value;
    }

    /**
     * 获取name属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * 设置name属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * 获取sAddr属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSAddr() {
        return sAddr;
    }

    /**
     * 设置sAddr属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSAddr(String value) {
        this.sAddr = value;
    }

    /**
     * 获取bType属性的值。
     * 
     * @return
     *     possible object is
     *     {@link TPredefinedBasicTypeEnum }
     *     
     */
    public TPredefinedBasicTypeEnum getBType() {
        return bType;
    }

    /**
     * 设置bType属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link TPredefinedBasicTypeEnum }
     *     
     */
    public void setBType(TPredefinedBasicTypeEnum value) {
        this.bType = value;
    }

    /**
     * 获取valKind属性的值。
     * 
     * @return
     *     possible object is
     *     {@link TValKindEnum }
     *     
     */
    public TValKindEnum getValKind() {
        if (valKind == null) {
            return TValKindEnum.SET;
        } else {
            return valKind;
        }
    }

    /**
     * 设置valKind属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link TValKindEnum }
     *     
     */
    public void setValKind(TValKindEnum value) {
        this.valKind = value;
    }

    /**
     * 获取type属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getType() {
        return type;
    }

    /**
     * 设置type属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setType(String value) {
        this.type = value;
    }

    /**
     * Gets the value of the count property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the count property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getCount().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getCount() {
        if (count == null) {
            count = new ArrayList<String>();
        }
        return this.count;
    }

    /**
     * 获取valImport属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public boolean isValImport() {
        if (valImport == null) {
            return false;
        } else {
            return valImport;
        }
    }

    /**
     * 设置valImport属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setValImport(Boolean value) {
        this.valImport = value;
    }

}
