/*
* 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.grp;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tGovernanceOwner", propOrder = {
"names"
})
public class TGovernanceOwner
extends PGovernanceOwnerV1
{
@XmlElement(name = "Names")
protected TGovernanceOwner.Names names;
/**
* Gets the value of the names property.
*
* @return
* possible object is
* {@link TGovernanceOwner.Names }
*
*/
public TGovernanceOwner.Names getNames() {
return names;
}
/**
* Sets the value of the names property.
*
* @param value
* allowed object is
* {@link TGovernanceOwner.Names }
*
*/
public void setNames(TGovernanceOwner.Names value) {
this.names = value;
}
/**
* <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">
* <sequence>
* <element name="Name" type="{}s500" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"name"
})
public static class Names {
@XmlElement(name = "Name", required = true)
protected List<String> name;
/**
* Gets the value of the name 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 name property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getName().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getName() {
if (name == null) {
name = new ArrayList<String>();
}
return this.name;
}
}
}