DLESE Tools
v1.6.0

org.dlese.dpc.repository.action.form
Class SetDefinitionsForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by org.dlese.dpc.repository.action.form.SetDefinitionsForm
All Implemented Interfaces:
Serializable

public final class SetDefinitionsForm
extends org.apache.struts.validator.ValidatorForm
implements Serializable

Bean for values used to add/edit OAI set definitions.

Version:
$Id: SetDefinitionsForm.java,v 1.17 2009/03/20 23:33:54 jweather Exp $
Author:
John Weatherley
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.validator.ValidatorForm
page, validatorResults
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SetDefinitionsForm()
          Constructor for the SetDefinitionsForm Bean object
 
Method Summary
 String[] getExcludedDirs()
          Gets the excludedDirs attribute of the SetDefinitionsForm object
 ArrayList getExcludedDirsNotInRepository()
          Gets the Excluded Dirs that are defined for the set but that do not exist in the repository.
 String getExcludedQuery()
          Gets the excludedQuery attribute of the SetDefinitionsForm object
 String getExcludedTerms()
          Gets the excludedTerms attribute of the SetDefinitionsForm object
 String[] getIncludedDirs()
          Gets the includedDirs attribute of the SetDefinitionsForm object
 ArrayList getIncludedDirsNotInRepository()
          Gets the includedDirs that are defined for the set but that do not exist in the repository.
 String getIncludedFormat()
          Gets the includedFormat attribute of the SetDefinitionsForm object
 boolean getIncludedFormatNotAvailable()
          True if the repository does not have the included format configured.
 String getIncludedQuery()
          Gets the includedQuery attribute of the SetDefinitionsForm object
 String getIncludedTerms()
          Gets the includedTerms attribute of the SetDefinitionsForm object
 boolean getIsDefinitionEmpty()
          True if the set definition has nothing set.
 String getSetDescription()
          Gets the setDescription attribute of the SetDefinitionsForm object
 ArrayList getSetInfos()
          Gets the setInfos sorted by name, or null if none available.
 String getSetName()
          Gets the setName attribute of the SetDefinitionsForm object
 String getSetSpec()
          Gets the setSpec attribute of the SetDefinitionsForm object
 String getSetURL()
          Gets the setURL attribute of the SetDefinitionsForm object
 void reset()
          Resets the data in the form to default values.
 void setExcludedDirs(String[] value)
          Sets the excludedDirs attribute of the SetDefinitionsForm object
 void setExcludedQuery(String value)
          Sets the excludedQuery attribute of the SetDefinitionsForm object
 void setExcludedTerms(String value)
          Sets the excludedTerms attribute of the SetDefinitionsForm object
 void setIncludedDirs(String[] value)
          Sets the includedDirs attribute of the SetDefinitionsForm object
 void setIncludedFormat(String value)
          Sets the includedFormat attribute of the SetDefinitionsForm object
 void setIncludedQuery(String value)
          Sets the includedQuery attribute of the SetDefinitionsForm object
 void setIncludedTerms(String value)
          Sets the includedTerms attribute of the SetDefinitionsForm object
 void setSetDescription(String value)
          Sets the setDescription attribute of the SetDefinitionsForm object
 void setSetName(String value)
          Sets the setName attribute of the SetDefinitionsForm object
 void setSetSpec(String value)
          Sets the setSpec attribute of the SetDefinitionsForm object
 void setSetURL(String value)
          Sets the setURL attribute of the SetDefinitionsForm object
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Validates the form data.
 
Methods inherited from class org.apache.struts.validator.ValidatorForm
getPage, getResultValueMap, getValidationKey, getValidatorResults, reset, setPage, setValidatorResults
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetDefinitionsForm

public SetDefinitionsForm()
Constructor for the SetDefinitionsForm Bean object

Method Detail

reset

public void reset()
Resets the data in the form to default values. Needed by Struts if form is stored in session scope.


validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      HttpServletRequest request)
Validates the form data.

Overrides:
validate in class org.apache.struts.validator.ValidatorForm
Parameters:
mapping - The ActionMapping
request - The HttpServletRequest request
Returns:
The ActionErrors

setSetName

public void setSetName(String value)
Sets the setName attribute of the SetDefinitionsForm object

Parameters:
value - The new setName value

setSetSpec

public void setSetSpec(String value)
Sets the setSpec attribute of the SetDefinitionsForm object

Parameters:
value - The new setSpec value

setSetDescription

public void setSetDescription(String value)
Sets the setDescription attribute of the SetDefinitionsForm object

Parameters:
value - The new setDescription value

setSetURL

public void setSetURL(String value)
Sets the setURL attribute of the SetDefinitionsForm object

Parameters:
value - The new setURL value

getSetName

public String getSetName()
Gets the setName attribute of the SetDefinitionsForm object

Returns:
The setName value

getSetSpec

public String getSetSpec()
Gets the setSpec attribute of the SetDefinitionsForm object

Returns:
The setSpec value

getSetDescription

public String getSetDescription()
Gets the setDescription attribute of the SetDefinitionsForm object

Returns:
The setDescription value

getSetURL

public String getSetURL()
Gets the setURL attribute of the SetDefinitionsForm object

Returns:
The setURL value

setIncludedDirs

public void setIncludedDirs(String[] value)
Sets the includedDirs attribute of the SetDefinitionsForm object

Parameters:
value - The new includedDirs value

getIncludedDirs

public String[] getIncludedDirs()
Gets the includedDirs attribute of the SetDefinitionsForm object

Returns:
The includedDirs value

getIncludedDirsNotInRepository

public ArrayList getIncludedDirsNotInRepository()
Gets the includedDirs that are defined for the set but that do not exist in the repository.

Returns:
The includedDirsNotInRepository value

getSetInfos

public final ArrayList getSetInfos()
Gets the setInfos sorted by name, or null if none available.

Returns:
The setInfos value

getIncludedFormat

public String getIncludedFormat()
Gets the includedFormat attribute of the SetDefinitionsForm object

Returns:
The includedFormat value

getIncludedFormatNotAvailable

public boolean getIncludedFormatNotAvailable()
True if the repository does not have the included format configured.

Returns:
True if the repository does not have the included format configured.

getIncludedTerms

public String getIncludedTerms()
Gets the includedTerms attribute of the SetDefinitionsForm object

Returns:
The includedTerms value

getIncludedQuery

public String getIncludedQuery()
Gets the includedQuery attribute of the SetDefinitionsForm object

Returns:
The includedQuery value

getExcludedDirs

public String[] getExcludedDirs()
Gets the excludedDirs attribute of the SetDefinitionsForm object

Returns:
The excludedDirs value

getExcludedDirsNotInRepository

public ArrayList getExcludedDirsNotInRepository()
Gets the Excluded Dirs that are defined for the set but that do not exist in the repository.

Returns:
The includedDirsNotInRepository value

getExcludedTerms

public String getExcludedTerms()
Gets the excludedTerms attribute of the SetDefinitionsForm object

Returns:
The excludedTerms value

getExcludedQuery

public String getExcludedQuery()
Gets the excludedQuery attribute of the SetDefinitionsForm object

Returns:
The excludedQuery value

setIncludedFormat

public void setIncludedFormat(String value)
Sets the includedFormat attribute of the SetDefinitionsForm object

Parameters:
value - The new includedFormat value

setIncludedTerms

public void setIncludedTerms(String value)
Sets the includedTerms attribute of the SetDefinitionsForm object

Parameters:
value - The new includedTerms value

setIncludedQuery

public void setIncludedQuery(String value)
Sets the includedQuery attribute of the SetDefinitionsForm object

Parameters:
value - The new includedQuery value

setExcludedDirs

public void setExcludedDirs(String[] value)
Sets the excludedDirs attribute of the SetDefinitionsForm object

Parameters:
value - The new excludedDirs value

setExcludedTerms

public void setExcludedTerms(String value)
Sets the excludedTerms attribute of the SetDefinitionsForm object

Parameters:
value - The new excludedTerms value

setExcludedQuery

public void setExcludedQuery(String value)
Sets the excludedQuery attribute of the SetDefinitionsForm object

Parameters:
value - The new excludedQuery value

getIsDefinitionEmpty

public boolean getIsDefinitionEmpty()
True if the set definition has nothing set.

Returns:
True if the definition is empty.

DLESE Tools
v1.6.0