/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * Copyright (c) 2013, MPL CodeInside http://codeinside.ru */ package ru.gkn; 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.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tAppliedFile", propOrder = { "appliedFile" }) public class TAppliedFile { @XmlElement(name = "AppliedFile", required = true) protected List<TAppliedFile.AppliedFile> appliedFile; /** * Gets the value of the appliedFile 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 appliedFile property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAppliedFile().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TAppliedFile.AppliedFile } * * */ public List<TAppliedFile.AppliedFile> getAppliedFile() { if (appliedFile == null) { appliedFile = new ArrayList<TAppliedFile.AppliedFile>(); } return this.appliedFile; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="type" use="required" type="{}dApplied_file_type" /> * <attribute name="name" use="required"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="255"/> * </restriction> * </simpleType> * </attribute> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class AppliedFile { @XmlAttribute(name = "type", required = true) protected String type; @XmlAttribute(name = "name", required = true) protected String name; /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } } }