org.ow2.orchestra.ws_ht.api
Class TComment

java.lang.Object
  extended by org.ow2.orchestra.ws_ht.api.TComment

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>
 


Field Summary
protected  XMLGregorianCalendar addedAt
           
protected  String addedBy
           
protected  List<Object> any
           
protected  String text
           
 
Constructor Summary
TComment()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addedAt

protected XMLGregorianCalendar addedAt

addedBy

protected String addedBy

text

protected String text

any

protected List<Object> any
Constructor Detail

TComment

public TComment()
Method Detail

getAddedAt

public XMLGregorianCalendar getAddedAt()
Gets the value of the addedAt property.

Returns:
possible object is XMLGregorianCalendar

setAddedAt

public void setAddedAt(XMLGregorianCalendar value)
Sets the value of the addedAt property.

Parameters:
value - allowed object is XMLGregorianCalendar

getAddedBy

public String getAddedBy()
Gets the value of the addedBy property.

Returns:
possible object is String

setAddedBy

public void setAddedBy(String value)
Sets the value of the addedBy property.

Parameters:
value - allowed object is String

getText

public String getText()
Gets the value of the text property.

Returns:
possible object is String

setText

public void setText(String value)
Sets the value of the text property.

Parameters:
value - allowed object is String

getAny

public List<Object> getAny()
Gets the value of the any 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 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.