//
// 此文件是由 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * <p>anonymous complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;extension base="{http://www.iec.ch/61850/2003/SCL}tBaseElement"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Header" type="{http://www.iec.ch/61850/2003/SCL}tHeader"/&gt;
 *         &lt;element ref="{http://www.iec.ch/61850/2003/SCL}Substation" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element ref="{http://www.iec.ch/61850/2003/SCL}Communication" minOccurs="0"/&gt;
 *         &lt;element ref="{http://www.iec.ch/61850/2003/SCL}IED" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element ref="{http://www.iec.ch/61850/2003/SCL}DataTypeTemplates" minOccurs="0"/&gt;
 *         &lt;element ref="{http://www.iec.ch/61850/2003/SCL}Line" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element ref="{http://www.iec.ch/61850/2003/SCL}Process" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="version" use="required" type="{http://www.iec.ch/61850/2003/SCL}tSclVersion" fixed="2007" /&gt;
 *       &lt;attribute name="revision" use="required" type="{http://www.iec.ch/61850/2003/SCL}tSclRevision" fixed="C" /&gt;
 *       &lt;attribute name="release" use="required" type="{http://www.iec.ch/61850/2003/SCL}tSclRelease" fixed="5" /&gt;
 *       &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
 *     &lt;/extension&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "header",
    "substation",
    "communication",
    "ied",
    "dataTypeTemplates",
    "line",
    "process"
})
@XmlRootElement(name = "SCL")
public class SCL
    extends TBaseElement
{

    @XmlElement(name = "Header", required = true)
    protected THeader header;
    @XmlElement(name = "Substation")
    protected List<TSubstation> substation;
    @XmlElement(name = "Communication")
    protected TCommunication communication;
    @XmlElement(name = "IED")
    protected List<TIED> ied;
    @XmlElement(name = "DataTypeTemplates")
    protected TDataTypeTemplates dataTypeTemplates;
    @XmlElement(name = "Line")
    protected List<TLine> line;
    @XmlElement(name = "Process")
    protected List<TProcess> process;
    @XmlAttribute(name = "version", required = true)
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String version;
    @XmlAttribute(name = "revision", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String revision;
    @XmlAttribute(name = "release", required = true)
    protected short release;

    /**
     * 获取header属性的值。
     * 
     * @return
     *     possible object is
     *     {@link THeader }
     *     
     */
    public THeader getHeader() {
        return header;
    }

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

    /**
     * Gets the value of the substation 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 substation property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getSubstation().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TSubstation }
     * 
     * 
     */
    public List<TSubstation> getSubstation() {
        if (substation == null) {
            substation = new ArrayList<TSubstation>();
        }
        return this.substation;
    }

    /**
     * 获取communication属性的值。
     * 
     * @return
     *     possible object is
     *     {@link TCommunication }
     *     
     */
    public TCommunication getCommunication() {
        return communication;
    }

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

    /**
     * Gets the value of the ied 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 ied property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getIED().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TIED }
     * 
     * 
     */
    public List<TIED> getIED() {
        if (ied == null) {
            ied = new ArrayList<TIED>();
        }
        return this.ied;
    }

    /**
     * 获取dataTypeTemplates属性的值。
     * 
     * @return
     *     possible object is
     *     {@link TDataTypeTemplates }
     *     
     */
    public TDataTypeTemplates getDataTypeTemplates() {
        return dataTypeTemplates;
    }

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

    /**
     * Gets the value of the line 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 line property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getLine().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TLine }
     * 
     * 
     */
    public List<TLine> getLine() {
        if (line == null) {
            line = new ArrayList<TLine>();
        }
        return this.line;
    }

    /**
     * Gets the value of the process 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 process property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getProcess().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TProcess }
     * 
     * 
     */
    public List<TProcess> getProcess() {
        if (process == null) {
            process = new ArrayList<TProcess>();
        }
        return this.process;
    }

    /**
     * 获取version属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getVersion() {
        if (version == null) {
            return "2007";
        } else {
            return version;
        }
    }

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

    /**
     * 获取revision属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRevision() {
        if (revision == null) {
            return "C";
        } else {
            return revision;
        }
    }

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

    /**
     * 获取release属性的值。
     * 
     */
    public short getRelease() {
        return release;
    }

    /**
     * 设置release属性的值。
     * 
     */
    public void setRelease(short value) {
        this.release = value;
    }

}
