org.apache.jetspeed.services.search
Class BaseParsedObject

java.lang.Object
  extended byorg.apache.jetspeed.services.search.BaseParsedObject
All Implemented Interfaces:
ParsedObject

public class BaseParsedObject
extends java.lang.Object
implements ParsedObject

Base parsed object.

Version:
$Id: BaseParsedObject.java,v 1.4 2004/02/23 03:48:47 jford Exp $
Author:
Mark Orciuch

Field Summary
 
Fields inherited from interface org.apache.jetspeed.services.search.ParsedObject
FIELDNAME_CLASSNAME, FIELDNAME_CLASSNAME_DEFAULT, FIELDNAME_CONTENT, FIELDNAME_CONTENT_DEFAULT, FIELDNAME_DESCRIPTION, FIELDNAME_DESCRIPTION_DEFAULT, FIELDNAME_FIELDS, FIELDNAME_FIELDS_DEFAULT, FIELDNAME_KEY, FIELDNAME_KEY_DEFAULT, FIELDNAME_KEYWORDS, FIELDNAME_KEYWORDS_DEFAULT, FIELDNAME_LANGUAGE, FIELDNAME_LANGUAGE_DEFAULT, FIELDNAME_SCORE, FIELDNAME_SCORE_DEFAULT, FIELDNAME_TITLE, FIELDNAME_TITLE_DEFAULT, FIELDNAME_TYPE, FIELDNAME_TYPE_DEFAULT, FIELDNAME_URL, FIELDNAME_URL_DEFAULT, OBJECT_TYPE_PDF, OBJECT_TYPE_PORTLET, OBJECT_TYPE_URL
 
Constructor Summary
BaseParsedObject()
           
 
Method Summary
 java.lang.String getClassName()
          Getter for property className.
 java.lang.String getContent()
          Returns parsed object content
 java.lang.String getDescription()
          Returns parsed object description
 java.util.Map getFields()
          Returns parsed object searchable fields
 java.lang.String getKey()
          Returns parsed object key
 java.lang.String[] getKeywords()
          Returns parsed object keywords
 java.lang.String getLanguage()
          Returns parsed object language
 org.apache.commons.collections.MultiMap getMultiFields()
           
 org.apache.commons.collections.MultiMap getMultiKeywords()
           
 float getScore()
          Getter for property score.
 java.lang.String getTitle()
          Returns parsed object title
 java.lang.String getType()
          Returns parsed object type
 java.net.URL getURL()
          Returns parsed object URL
 void setClassName(java.lang.String className)
          Setter for property className.
 void setContent(java.lang.String content)
          Sets parsed object content
 void setDescription(java.lang.String description)
          Sets parsed object description
 void setFields(java.util.Map fields)
          Sets parsed object searchable fields
 void setKey(java.lang.String key)
          Sets parsed object key
 void setKeywords(java.lang.String[] keywords)
          Sets parsed object keywords
 void setLanguage(java.lang.String language)
          Sets parsed object language
 void setMultiFields(org.apache.commons.collections.MultiMap multiFields)
           
 void setMultiKeywords(org.apache.commons.collections.MultiMap multiKeywords)
           
 void setScore(float score)
          Setter for property score.
 void setTitle(java.lang.String title)
          Sets parsed object title
 void setType(java.lang.String type)
          Sets parsed object type
 void setURL(java.net.URL url)
          Sets parsed object URL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseParsedObject

public BaseParsedObject()
Method Detail

getKey

public java.lang.String getKey()
Returns parsed object key

Specified by:
getKey in interface ParsedObject
Returns:

setKey

public void setKey(java.lang.String key)
Sets parsed object key

Specified by:
setKey in interface ParsedObject

getType

public java.lang.String getType()
Returns parsed object type

Specified by:
getType in interface ParsedObject
Returns:

setType

public void setType(java.lang.String type)
Sets parsed object type

Specified by:
setType in interface ParsedObject
Parameters:
type -

getContent

public java.lang.String getContent()
Returns parsed object content

Specified by:
getContent in interface ParsedObject
Returns:

setContent

public void setContent(java.lang.String content)
Sets parsed object content

Specified by:
setContent in interface ParsedObject
Parameters:
content -

getDescription

public java.lang.String getDescription()
Returns parsed object description

Specified by:
getDescription in interface ParsedObject
Returns:

setDescription

public void setDescription(java.lang.String description)
Sets parsed object description

Specified by:
setDescription in interface ParsedObject
Parameters:
description -

getKeywords

public java.lang.String[] getKeywords()
Returns parsed object keywords

Specified by:
getKeywords in interface ParsedObject
Returns:

setKeywords

public void setKeywords(java.lang.String[] keywords)
Sets parsed object keywords

Specified by:
setKeywords in interface ParsedObject
Parameters:
keywords -

getTitle

public java.lang.String getTitle()
Returns parsed object title

Specified by:
getTitle in interface ParsedObject
Returns:

setTitle

public void setTitle(java.lang.String title)
Sets parsed object title

Specified by:
setTitle in interface ParsedObject
Parameters:
title -

getLanguage

public java.lang.String getLanguage()
Returns parsed object language

Specified by:
getLanguage in interface ParsedObject
Returns:

setLanguage

public void setLanguage(java.lang.String language)
Sets parsed object language

Specified by:
setLanguage in interface ParsedObject
Parameters:
language -

getFields

public java.util.Map getFields()
Returns parsed object searchable fields

Specified by:
getFields in interface ParsedObject
Returns:

setFields

public void setFields(java.util.Map fields)
Sets parsed object searchable fields

Specified by:
setFields in interface ParsedObject
Parameters:
fields -

getURL

public java.net.URL getURL()
Returns parsed object URL

Specified by:
getURL in interface ParsedObject
Returns:

setURL

public void setURL(java.net.URL url)
Sets parsed object URL

Specified by:
setURL in interface ParsedObject
Parameters:
url -

getScore

public float getScore()
Getter for property score.

Specified by:
getScore in interface ParsedObject
Returns:
Value of property score.

setScore

public void setScore(float score)
Setter for property score.

Specified by:
setScore in interface ParsedObject
Parameters:
score - New value of property score.

getClassName

public java.lang.String getClassName()
Getter for property className.

Specified by:
getClassName in interface ParsedObject
Returns:
Value of property className.

setClassName

public void setClassName(java.lang.String className)
Setter for property className.

Specified by:
setClassName in interface ParsedObject
Parameters:
className - New value of property className.

getMultiFields

public org.apache.commons.collections.MultiMap getMultiFields()
Specified by:
getMultiFields in interface ParsedObject
Returns:
See Also:
ParsedObject.getMultiFields()

setMultiFields

public void setMultiFields(org.apache.commons.collections.MultiMap multiFields)
Specified by:
setMultiFields in interface ParsedObject
Parameters:
multiFields -
See Also:
ParsedObject.setMultiFields(org.apache.commons.collections.MultiMap)

getMultiKeywords

public org.apache.commons.collections.MultiMap getMultiKeywords()
Specified by:
getMultiKeywords in interface ParsedObject
Returns:
See Also:
ParsedObject.getMultiKeywords()

setMultiKeywords

public void setMultiKeywords(org.apache.commons.collections.MultiMap multiKeywords)
Specified by:
setMultiKeywords in interface ParsedObject
Parameters:
multiKeywords -
See Also:
ParsedObject.setMultiKeywords(org.apache.commons.collections.MultiMap)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.