Class SetDefinitionsForm

java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
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:
  • 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

    Constructors
    Constructor
    Description
    Constructor for the SetDefinitionsForm Bean object
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the excludedDirs attribute of the SetDefinitionsForm object
    Gets the Excluded Dirs that are defined for the set but that do not exist in the repository.
    Gets the excludedQuery attribute of the SetDefinitionsForm object
    Gets the excludedTerms attribute of the SetDefinitionsForm object
    Gets the includedDirs attribute of the SetDefinitionsForm object
    Gets the includedDirs that are defined for the set but that do not exist in the repository.
    Gets the includedFormat attribute of the SetDefinitionsForm object
    boolean
    True if the repository does not have the included format configured.
    Gets the includedQuery attribute of the SetDefinitionsForm object
    Gets the includedTerms attribute of the SetDefinitionsForm object
    boolean
    True if the set definition has nothing set.
    Gets the setDescription attribute of the SetDefinitionsForm object
    final ArrayList
    Gets the setInfos sorted by name, or null if none available.
    Gets the setName attribute of the SetDefinitionsForm object
    Gets the setSpec attribute of the SetDefinitionsForm object
    Gets the setURL attribute of the SetDefinitionsForm object
    void
    Resets the data in the form to default values.
    void
    Sets the excludedDirs attribute of the SetDefinitionsForm object
    void
    Sets the excludedQuery attribute of the SetDefinitionsForm object
    void
    Sets the excludedTerms attribute of the SetDefinitionsForm object
    void
    Sets the includedDirs attribute of the SetDefinitionsForm object
    void
    Sets the includedFormat attribute of the SetDefinitionsForm object
    void
    Sets the includedQuery attribute of the SetDefinitionsForm object
    void
    Sets the includedTerms attribute of the SetDefinitionsForm object
    void
    Sets the setDescription attribute of the SetDefinitionsForm object
    void
    Sets the setName attribute of the SetDefinitionsForm object
    void
    Sets the setSpec attribute of the SetDefinitionsForm object
    void
    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 Details

    • SetDefinitionsForm

      public SetDefinitionsForm()
      Constructor for the SetDefinitionsForm Bean object
  • Method Details

    • 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.