@Deprecated @StableMinor(version="12.5", sinceVersion="4.2.2") public class SearchContentAttachment extends Object implements Serializable, Cloneable
SearchContent
object. Contains the information about a single attachment.Constructor and Description |
---|
SearchContentAttachment()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SearchContentAttachment |
clone()
Deprecated.
Clones this
SearchContentAttachment instance. |
byte[] |
getContent()
Deprecated.
Returns the content data for this attachment.
|
String |
getContentType()
Deprecated.
Returns the MIME content type for this attachment.
|
String |
getName()
Deprecated.
Returns the name for this attachment.
|
String |
getUrl()
Deprecated.
Returns the URL for this attachment.
|
void |
setContent(byte[] content)
Deprecated.
Sets the content data for this attachment.
|
void |
setContentType(String contentType)
Deprecated.
Sets the MIME content type for this attachment.
|
void |
setName(String name)
Deprecated.
Sets the name for this attachment.
|
void |
setUrl(String url)
Deprecated.
Sets the URL for this attachment.
|
public String getName()
public void setName(String name)
name
- the name.public String getContentType()
public void setContentType(String contentType)
contentType
- the MIME content type.public byte[] getContent()
public void setContent(byte[] content)
content
- the content data.public String getUrl()
null
if no URL was specified for this attachment.public void setUrl(String url)
url
- the URL.public SearchContentAttachment clone()
SearchContentAttachment
instance.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.