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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
accessType |
protected List<Object> |
any |
protected XMLGregorianCalendar |
attachedAt |
protected String |
attachedBy |
protected String |
contentType |
protected String |
name |
| Constructor and Description |
|---|
TAttachmentInfo() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected String name
protected String accessType
protected String contentType
protected XMLGregorianCalendar attachedAt
protected String attachedBy
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getAccessType()
Stringpublic void setAccessType(String value)
value - allowed object is
Stringpublic String getContentType()
Stringpublic void setContentType(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getAttachedAt()
XMLGregorianCalendarpublic void setAttachedAt(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic String getAttachedBy()
Stringpublic void setAttachedBy(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.