@StableMinor(version="7.1", 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() |
Modifier and Type | Method and Description |
---|---|
SearchContentAttachment |
clone()
Clones this
SearchContentAttachment instance. |
byte[] |
getContent()
Returns the content data for this attachment.
|
String |
getContentType()
Returns the MIME content type for this attachment.
|
String |
getName()
Returns the name for this attachment.
|
String |
getUrl()
Returns the URL for this attachment.
|
void |
setContent(byte[] content)
Sets the content data for this attachment.
|
void |
setContentType(String contentType)
Sets the MIME content type for this attachment.
|
void |
setName(String name)
Sets the name for this attachment.
|
void |
setUrl(String url)
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.Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.