com.atlassian.jira.issue.search.parameters.lucene
Class CustomFieldObjectParameter

java.lang.Object
  extended bycom.atlassian.jira.issue.search.parameters.AbstractSearchParameter
      extended bycom.atlassian.jira.issue.search.parameters.LuceneParameter
          extended bycom.atlassian.jira.issue.search.parameters.lucene.SingleFieldSingleValueLuceneParameter
              extended bycom.atlassian.jira.issue.search.parameters.lucene.CustomFieldObjectParameter
All Implemented Interfaces:
CustomFieldParameter, SearchParameter
Direct Known Subclasses:
CustomFieldNumberParameter, CustomFieldPeriodParameter, CustomFieldSelectParameter, CustomFieldStringParameter

public abstract class CustomFieldObjectParameter
extends SingleFieldSingleValueLuceneParameter
implements CustomFieldParameter


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.search.parameters.AbstractSearchParameter
log
 
Constructor Summary
CustomFieldObjectParameter()
           
CustomFieldObjectParameter(CustomField customField, java.lang.Object pValue)
           
 
Method Summary
 CustomField getCustomField()
           
 electric.xml.Element getXml()
          Return an XML representation of this search parameter
 boolean isValid()
           
 void setCustomField(CustomField customField)
           
 void setCustomField(java.lang.String pId)
           
 void setXml(electric.xml.Element el)
          Initialise this search parameter using an XML element.
 
Methods inherited from class com.atlassian.jira.issue.search.parameters.lucene.SingleFieldSingleValueLuceneParameter
getQuery, getXmlElementName
 
Methods inherited from class com.atlassian.jira.issue.search.parameters.AbstractSearchParameter
addValue, clearValues, equals, getName, getQueryString, getQueryStringPrefix, getValues, hashCode, setName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.search.SearchParameter
addValue, getName, getQueryString, getValues, setName
 

Constructor Detail

CustomFieldObjectParameter

public CustomFieldObjectParameter()

CustomFieldObjectParameter

public CustomFieldObjectParameter(CustomField customField,
                                  java.lang.Object pValue)
Method Detail

getCustomField

public CustomField getCustomField()
Specified by:
getCustomField in interface CustomFieldParameter

setCustomField

public void setCustomField(CustomField customField)
Specified by:
setCustomField in interface CustomFieldParameter

setCustomField

public void setCustomField(java.lang.String pId)
Specified by:
setCustomField in interface CustomFieldParameter

getXml

public electric.xml.Element getXml()
Description copied from interface: SearchParameter
Return an XML representation of this search parameter

Specified by:
getXml in interface SearchParameter
Overrides:
getXml in class SingleFieldSingleValueLuceneParameter

setXml

public void setXml(electric.xml.Element el)
Description copied from interface: SearchParameter
Initialise this search parameter using an XML element. Usual process is: SearchParameter param = new MySearchParameter(); param.setXml(element);

Specified by:
setXml in interface SearchParameter
Overrides:
setXml in class AbstractSearchParameter

isValid

public boolean isValid()
Specified by:
isValid in interface SearchParameter
Overrides:
isValid in class SingleFieldSingleValueLuceneParameter


Copyright © 2002-2005 Atlassian. All Rights Reserved.