// // 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. // package pl.itcrowd.youtrack.api.rest; 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.XmlMixed; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** *

Java class for commentType complex type. *

*

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

*

 * <complexType name="commentType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="replies" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="value" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
 *                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               </extension>
 *             </simpleContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="author" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="issueId" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="deleted" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="shownForIssueAuthor" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="created" type="{http://www.w3.org/2001/XMLSchema}long" />
 *       <attribute name="updated" type="{http://www.w3.org/2001/XMLSchema}long" />
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "commentType", propOrder = {"content"}) public class Comment { // ------------------------------ FIELDS ------------------------------ @XmlAttribute protected String author; @XmlElementRefs({@XmlElementRef(name = "value", type = JAXBElement.class), @XmlElementRef(name = "replies", type = JAXBElement.class)}) @XmlMixed protected List content; @XmlAttribute protected Long created; @XmlAttribute protected String deleted; @XmlAttribute protected String id; @XmlAttribute protected String issueId; @XmlAttribute protected String name; @XmlAttribute protected String shownForIssueAuthor; @XmlAttribute protected String text; @XmlAttribute protected Long updated; // --------------------- GETTER / SETTER METHODS --------------------- /** * Gets the value of the author property. * * @return possible object is * {@link String } */ public String getAuthor() { return author; } /** * Sets the value of the author property. * * @param value allowed object is * {@link String } */ public void setAuthor(String value) { this.author = value; } /** * Gets the value of the content 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 content property. *

*

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

     *    getContent().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link String } * {@link JAXBElement }{@code <}{@link Comment.Value }{@code >} * {@link JAXBElement }{@code <}{@link String }{@code >} */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } /** * Gets the value of the created property. * * @return possible object is * {@link Long } */ public Long getCreated() { return created; } /** * Sets the value of the created property. * * @param value allowed object is * {@link Long } */ public void setCreated(Long value) { this.created = value; } /** * Gets the value of the deleted property. * * @return possible object is * {@link String } */ public String getDeleted() { return deleted; } /** * Sets the value of the deleted property. * * @param value allowed object is * {@link String } */ public void setDeleted(String value) { this.deleted = value; } /** * Gets the value of the id property. * * @return possible object is * {@link String } */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value allowed object is * {@link String } */ public void setId(String value) { this.id = value; } /** * Gets the value of the issueId property. * * @return possible object is * {@link String } */ public String getIssueId() { return issueId; } /** * Sets the value of the issueId property. * * @param value allowed object is * {@link String } */ public void setIssueId(String value) { this.issueId = 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; } /** * Gets the value of the shownForIssueAuthor property. * * @return possible object is * {@link String } */ public String getShownForIssueAuthor() { return shownForIssueAuthor; } /** * Sets the value of the shownForIssueAuthor property. * * @param value allowed object is * {@link String } */ public void setShownForIssueAuthor(String value) { this.shownForIssueAuthor = value; } /** * Gets the value of the text property. * * @return possible object is * {@link String } */ public String getText() { return text; } /** * Sets the value of the text property. * * @param value allowed object is * {@link String } */ public void setText(String value) { this.text = value; } /** * Gets the value of the updated property. * * @return possible object is * {@link Long } */ public Long getUpdated() { return updated; } /** * Sets the value of the updated property. * * @param value allowed object is * {@link Long } */ public void setUpdated(Long value) { this.updated = value; } // -------------------------- INNER CLASSES -------------------------- /** *

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>string">
     *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     </extension>
     *   </simpleContent>
     * </complexType>
     * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = {"value"}) public static class Value { // ------------------------------ FIELDS ------------------------------ @XmlAttribute protected String role; @XmlAttribute protected String type; @XmlValue protected String value; // --------------------- GETTER / SETTER METHODS --------------------- /** * Gets the value of the role property. * * @return possible object is * {@link String } */ public String getRole() { return role; } /** * Sets the value of the role property. * * @param value allowed object is * {@link String } */ public void setRole(String value) { this.role = 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; } /** * 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; } } }