org.eclipse.persistence.jaxb.xmlmodel.XmlNamedSubgraph Maven / Gradle / Ivy
Show all versions of eclipselink Show documentation
/*
* Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.02.27 at 11:03:32 AM EST
//
package org.eclipse.persistence.jaxb.xmlmodel;
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;
/**
* Java class for xml-named-subgraph complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="xml-named-subgraph">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="xml-named-attribute-node" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-named-attribute-node"/>
* </sequence>
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "xml-named-subgraph", propOrder = {
"xmlNamedAttributeNode"
})
public class XmlNamedSubgraph {
@XmlElement(name = "xml-named-attribute-node")
protected List xmlNamedAttributeNode;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "type")
protected String type;
/**
* Gets the value of the xmlNamedAttributeNode property.
*
*
* 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 set
method for the xmlNamedAttributeNode property.
*
*
* For example, to add a new item, do as follows:
*
* getXmlNamedAttributeNode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link XmlNamedAttributeNode }
*
*
*/
public List getXmlNamedAttributeNode() {
if (xmlNamedAttributeNode == null) {
xmlNamedAttributeNode = new ArrayList();
}
return this.xmlNamedAttributeNode;
}
/**
* 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;
}
/**
* 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;
}
}