public class TComment extends Object
Java class for tComment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="tComment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="addedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="addedBy" type="{http://www.example.org/WS-HT}tUser"/>
<element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected XMLGregorianCalendar |
addedAt |
protected String |
addedBy |
protected List<Object> |
any |
protected String |
text |
| Constructor and Description |
|---|
TComment() |
| Modifier and Type | Method and Description |
|---|---|
XMLGregorianCalendar |
getAddedAt()
Gets the value of the addedAt property.
|
String |
getAddedBy()
Gets the value of the addedBy property.
|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getText()
Gets the value of the text property.
|
void |
setAddedAt(XMLGregorianCalendar value)
Sets the value of the addedAt property.
|
void |
setAddedBy(String value)
Sets the value of the addedBy property.
|
void |
setText(String value)
Sets the value of the text property.
|
protected XMLGregorianCalendar addedAt
protected String addedBy
protected String text
public XMLGregorianCalendar getAddedAt()
XMLGregorianCalendarpublic void setAddedAt(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic String getAddedBy()
Stringpublic void setAddedBy(String value)
value - allowed object is
Stringpublic String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic List<Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Element
Object
Copyright © 2012 OW2 Consortium. All Rights Reserved.