lumis.search
Class SearchContentAttachment

Package class diagram package SearchContentAttachment
java.lang.Object
  extended by lumis.search.SearchContentAttachment
All Implemented Interfaces:
Serializable, Cloneable

@StableMinor(version="5.5",
             sinceVersion="4.2.2")
public class SearchContentAttachment
extends Object
implements Serializable, Cloneable

Attachment to a SearchContent object. Contains the information about a single attachment.

Since:
4.2.2
See Also:
Serialized Form

Constructor Summary
SearchContentAttachment()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchContentAttachment

public SearchContentAttachment()
Method Detail

getName

public String getName()
Returns the name for this attachment.

Returns:
the name.
Since:
4.2.2

setName

public void setName(String name)
Sets the name for this attachment.

Parameters:
name - the name.
Since:
4.2.2

getContentType

public String getContentType()
Returns the MIME content type for this attachment.

Returns:
the MIME content type.
Since:
4.2.2

setContentType

public void setContentType(String contentType)
Sets the MIME content type for this attachment.

Parameters:
contentType - the MIME content type.
Since:
4.2.2

getContent

public byte[] getContent()
Returns the content data for this attachment.

Returns:
the content data for this attachment.
Since:
4.2.2

setContent

public void setContent(byte[] content)
Sets the content data for this attachment.

Parameters:
content - the content data.
Since:
4.2.2

getUrl

public String getUrl()
Returns the URL for this attachment.

Returns:
url the URL or null if no URL was specified for this attachment.
Since:
4.2.2

setUrl

public void setUrl(String url)
Sets the URL for this attachment.

Parameters:
url - the URL.
Since:
4.2.2

clone

public SearchContentAttachment clone()
Clones this SearchContentAttachment instance.

Overrides:
clone in class Object
Returns:
the cloned instance.


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.