org.ow2.orchestra.ws_ht.api
Class TAttachmentInfo

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

public class TAttachmentInfo
extends Object

Java class for tAttachmentInfo complex type.

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

 <complexType name="tAttachmentInfo">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="accessType" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="attachedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="attachedBy" type="{http://www.example.org/WS-HT}tUser"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String accessType
           
protected  List<Object> any
           
protected  XMLGregorianCalendar attachedAt
           
protected  String attachedBy
           
protected  String contentType
           
protected  String name
           
 
Constructor Summary
TAttachmentInfo()
           
 
Method Summary
 String getAccessType()
          Gets the value of the accessType property.
 List<Object> getAny()
          Gets the value of the any property.
 XMLGregorianCalendar getAttachedAt()
          Gets the value of the attachedAt property.
 String getAttachedBy()
          Gets the value of the attachedBy property.
 String getContentType()
          Gets the value of the contentType property.
 String getName()
          Gets the value of the name property.
 void setAccessType(String value)
          Sets the value of the accessType property.
 void setAttachedAt(XMLGregorianCalendar value)
          Sets the value of the attachedAt property.
 void setAttachedBy(String value)
          Sets the value of the attachedBy property.
 void setContentType(String value)
          Sets the value of the contentType property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

accessType

protected String accessType

contentType

protected String contentType

attachedAt

protected XMLGregorianCalendar attachedAt

attachedBy

protected String attachedBy

any

protected List<Object> any
Constructor Detail

TAttachmentInfo

public TAttachmentInfo()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getAccessType

public String getAccessType()
Gets the value of the accessType property.

Returns:
possible object is String

setAccessType

public void setAccessType(String value)
Sets the value of the accessType property.

Parameters:
value - allowed object is String

getContentType

public String getContentType()
Gets the value of the contentType property.

Returns:
possible object is String

setContentType

public void setContentType(String value)
Sets the value of the contentType property.

Parameters:
value - allowed object is String

getAttachedAt

public XMLGregorianCalendar getAttachedAt()
Gets the value of the attachedAt property.

Returns:
possible object is XMLGregorianCalendar

setAttachedAt

public void setAttachedAt(XMLGregorianCalendar value)
Sets the value of the attachedAt property.

Parameters:
value - allowed object is XMLGregorianCalendar

getAttachedBy

public String getAttachedBy()
Gets the value of the attachedBy property.

Returns:
possible object is String

setAttachedBy

public void setAttachedBy(String value)
Sets the value of the attachedBy 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.