net.sourceforge.ota_tools.jaxb.ota2010a.ping.ParagraphType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.12.31 at 04:22:27 PM PST
//
package net.sourceforge.ota_tools.jaxb.ota2010a.ping;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* An indication of a new paragraph for a sub-section of a formatted text message.
*
* Java class for ParagraphType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ParagraphType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="Text" type="{http://www.opentravel.org/OTA/2003/05}FormattedTextTextType"/>
* <element name="Image" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* <element name="ListItem">
* <complexType>
* <simpleContent>
* <extension base="<http://www.opentravel.org/OTA/2003/05>FormattedTextTextType">
* <attribute name="ListItem" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </choice>
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}DateTimeStampGroup"/>
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}LanguageGroup"/>
* <attribute name="Name" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to64" />
* <attribute name="ParagraphNumber" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ParagraphType", propOrder = {
"textOrImageOrURL"
})
@XmlSeeAlso({
net.sourceforge.ota_tools.jaxb.ota2010a.ping.CommentType.Comment.class,
net.sourceforge.ota_tools.jaxb.ota2010a.ping.SpecialRequestType.SpecialRequest.class
})
public class ParagraphType {
@XmlElementRefs({
@XmlElementRef(name = "URL", namespace = "http://www.opentravel.org/OTA/2003/05", type = JAXBElement.class),
@XmlElementRef(name = "Image", namespace = "http://www.opentravel.org/OTA/2003/05", type = JAXBElement.class),
@XmlElementRef(name = "Text", namespace = "http://www.opentravel.org/OTA/2003/05", type = JAXBElement.class),
@XmlElementRef(name = "ListItem", namespace = "http://www.opentravel.org/OTA/2003/05", type = JAXBElement.class)
})
protected List> textOrImageOrURL;
@XmlAttribute(name = "Name")
protected String name;
@XmlAttribute(name = "ParagraphNumber")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger paragraphNumber;
@XmlAttribute(name = "CreateDateTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar createDateTime;
@XmlAttribute(name = "CreatorID")
protected String creatorID;
@XmlAttribute(name = "LastModifyDateTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar lastModifyDateTime;
@XmlAttribute(name = "LastModifierID")
protected String lastModifierID;
@XmlAttribute(name = "PurgeDate")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar purgeDate;
@XmlAttribute(name = "Language")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String language;
/**
* Gets the value of the textOrImageOrURL 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 textOrImageOrURL property.
*
*
* For example, to add a new item, do as follows:
*
* getTextOrImageOrURL().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link ParagraphType.ListItem }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link FormattedTextTextType }{@code >}
*
*
*/
public List> getTextOrImageOrURL() {
if (textOrImageOrURL == null) {
textOrImageOrURL = new ArrayList>();
}
return this.textOrImageOrURL;
}
/**
* 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 paragraphNumber property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getParagraphNumber() {
return paragraphNumber;
}
/**
* Sets the value of the paragraphNumber property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setParagraphNumber(BigInteger value) {
this.paragraphNumber = value;
}
/**
* Gets the value of the createDateTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreateDateTime() {
return createDateTime;
}
/**
* Sets the value of the createDateTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCreateDateTime(XMLGregorianCalendar value) {
this.createDateTime = value;
}
/**
* Gets the value of the creatorID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreatorID() {
return creatorID;
}
/**
* Sets the value of the creatorID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatorID(String value) {
this.creatorID = value;
}
/**
* Gets the value of the lastModifyDateTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getLastModifyDateTime() {
return lastModifyDateTime;
}
/**
* Sets the value of the lastModifyDateTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setLastModifyDateTime(XMLGregorianCalendar value) {
this.lastModifyDateTime = value;
}
/**
* Gets the value of the lastModifierID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLastModifierID() {
return lastModifierID;
}
/**
* Sets the value of the lastModifierID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastModifierID(String value) {
this.lastModifierID = value;
}
/**
* Gets the value of the purgeDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getPurgeDate() {
return purgeDate;
}
/**
* Sets the value of the purgeDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setPurgeDate(XMLGregorianCalendar value) {
this.purgeDate = value;
}
/**
* Gets the value of the language property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLanguage() {
return language;
}
/**
* Sets the value of the language property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLanguage(String value) {
this.language = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <extension base="<http://www.opentravel.org/OTA/2003/05>FormattedTextTextType">
* <attribute name="ListItem" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class ListItem
extends FormattedTextTextType
{
@XmlAttribute(name = "ListItem")
protected BigInteger listItem;
/**
* Gets the value of the listItem property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getListItem() {
return listItem;
}
/**
* Sets the value of the listItem property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setListItem(BigInteger value) {
this.listItem = value;
}
}
}