//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2010.01.18 at 06:14:35 PM CST
//
package org.astm.ccr;
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;
/**
* <p>Java class for CommentType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CommentType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CommentObjectID" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="DateTime" type="{urn:astm-org:CCR}DateTimeType"/>
* <element ref="{urn:astm-org:CCR}Type" minOccurs="0"/>
* <element ref="{urn:astm-org:CCR}Description"/>
* <element name="Source" type="{urn:astm-org:CCR}ActorReferenceType" maxOccurs="unbounded"/>
* <element name="ReferenceID" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CommentType", propOrder = {
"commentObjectID",
"dateTime",
"type",
"description",
"source",
"referenceID"
})
public class CommentType {
@XmlElement(name = "CommentObjectID", required = true)
protected String commentObjectID;
@XmlElement(name = "DateTime", required = true)
protected DateTimeType dateTime;
@XmlElement(name = "Type")
protected CodedDescriptionType type;
@XmlElement(name = "Description", required = true)
protected CodedDescriptionType description;
@XmlElement(name = "Source", required = true)
protected List<ActorReferenceType> source;
@XmlElement(name = "ReferenceID")
protected List<String> referenceID;
/**
* Gets the value of the commentObjectID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCommentObjectID() {
return commentObjectID;
}
/**
* Sets the value of the commentObjectID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCommentObjectID(String value) {
this.commentObjectID = value;
}
/**
* Gets the value of the dateTime property.
*
* @return
* possible object is
* {@link DateTimeType }
*
*/
public DateTimeType getDateTime() {
return dateTime;
}
/**
* Sets the value of the dateTime property.
*
* @param value
* allowed object is
* {@link DateTimeType }
*
*/
public void setDateTime(DateTimeType value) {
this.dateTime = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link CodedDescriptionType }
*
*/
public CodedDescriptionType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link CodedDescriptionType }
*
*/
public void setType(CodedDescriptionType value) {
this.type = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link CodedDescriptionType }
*
*/
public CodedDescriptionType getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link CodedDescriptionType }
*
*/
public void setDescription(CodedDescriptionType value) {
this.description = value;
}
/**
* Gets the value of the source 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 source property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSource().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ActorReferenceType }
*
*
*/
public List<ActorReferenceType> getSource() {
if (source == null) {
source = new ArrayList<ActorReferenceType>();
}
return this.source;
}
/**
* Gets the value of the referenceID 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 referenceID property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getReferenceID().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getReferenceID() {
if (referenceID == null) {
referenceID = new ArrayList<String>();
}
return this.referenceID;
}
}