Package org.otrs.ticketconnector
Class OTRSAttachment
- java.lang.Object
-
- org.otrs.ticketconnector.OTRSAttachment
-
- All Implemented Interfaces:
java.io.Serializable
public class OTRSAttachment extends java.lang.Object implements java.io.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 java.lang.String
contentType
protected java.lang.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.java.lang.String
getContentType()
Gets the value of the contentType property.java.lang.String
getFilename()
Gets the value of the filename property.void
setContent(byte[] value)
Sets the value of the content property.void
setContentType(java.lang.String value)
Sets the value of the contentType property.void
setFilename(java.lang.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 java.lang.String getContentType()
Gets the value of the contentType property.- Returns:
- possible object is
String
-
setContentType
public void setContentType(java.lang.String value)
Sets the value of the contentType property.- Parameters:
value
- allowed object isString
-
getFilename
public java.lang.String getFilename()
Gets the value of the filename property.- Returns:
- possible object is
String
-
setFilename
public void setFilename(java.lang.String value)
Sets the value of the filename property.- Parameters:
value
- allowed object isString
-
-