All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.iata.ndc.schema.MediaLink Maven / Gradle / Ivy

The newest version!

package org.iata.ndc.schema;

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.XmlIDREF;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <simpleContent>
 *     <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
 *       <attGroup ref="{http://www.iata.org/IATA/EDIST}ObjectPolicyMetaAttrGroup"/>
 *     </extension>
 *   </simpleContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) @XmlRootElement(name = "MediaLink") public class MediaLink { @XmlValue @XmlSchemaType(name = "anyURI") protected String value; @XmlAttribute(name = "refs") @XmlIDREF protected List refs; @XmlAttribute(name = "ObjectMetaReferences") @XmlIDREF protected List objectMetaReferences; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the refs 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 refs property. * *

* For example, to add a new item, do as follows: *

     *    getRefs().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List getRefs() { if (refs == null) { refs = new ArrayList(); } return this.refs; } /** * Gets the value of the objectMetaReferences 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 objectMetaReferences property. * *

* For example, to add a new item, do as follows: *

     *    getObjectMetaReferences().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List getObjectMetaReferences() { if (objectMetaReferences == null) { objectMetaReferences = new ArrayList(); } return this.objectMetaReferences; } }