Package org.otrs.ticketconnector
Class OTRSAttachment
- java.lang.Object
-
- org.otrs.ticketconnector.OTRSAttachment
-
- All Implemented Interfaces:
Serializable
public class OTRSAttachment extends Object implements Serializable
Java class for OTRS_Attachment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OTRS_Attachment"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> <element name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Filename" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
content
protected String
contentType
protected String
filename
-
Constructor Summary
Constructors Constructor Description OTRSAttachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContent()
Gets the value of the content property.String
getContentType()
Gets the value of the contentType property.String
getFilename()
Gets the value of the filename property.void
setContent(byte[] value)
Sets the value of the content property.void
setContentType(String value)
Sets the value of the contentType property.void
setFilename(String value)
Sets the value of the filename property.
-
-
-
Method Detail
-
getContent
public byte[] getContent()
Gets the value of the content property.- Returns:
- possible object is byte[]
-
setContent
public void setContent(byte[] value)
Sets the value of the content property.- Parameters:
value
- allowed object is byte[]
-
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 isString
-
getFilename
public String getFilename()
Gets the value of the filename property.- Returns:
- possible object is
String
-
-