Class DDSRepositoryUpdateServiceForm

java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.services.dds.action.form.DDSRepositoryUpdateServiceForm
All Implemented Interfaces:
Serializable

public class DDSRepositoryUpdateServiceForm extends org.apache.struts.action.ActionForm implements Serializable
A ActionForm bean that holds data for DDS repository update web service.
Author:
John Weatherley
See Also:
  • Field Details

  • Constructor Details

    • DDSRepositoryUpdateServiceForm

      public DDSRepositoryUpdateServiceForm()
      Constructor for the RepositoryForm object
  • Method Details

    • getId

      public String getId()
      Gets the id attribute of the DDSRepositoryUpdateServiceForm object
      Returns:
      The id value
    • setId

      public void setId(String id)
      Sets the id attribute of the DDSRepositoryUpdateServiceForm object
      Parameters:
      id - The new id value
    • getCollectionKey

      public String getCollectionKey()
      Returns the value of collection.
      Returns:
      The collection value
    • setCollectionKey

      public void setCollectionKey(String collectionKey)
      Sets the value of collection.
      Parameters:
      collection - The value to assign collection.
    • getXmlFormat

      public String getXmlFormat()
      Gets the xmlFormat attribute of the DDSRepositoryUpdateServiceForm object
      Returns:
      The xmlFormat value
    • setXmlFormat

      public void setXmlFormat(String xmlFormat)
      Sets the xmlFormat attribute of the DDSRepositoryUpdateServiceForm object
      Parameters:
      xmlFormat - The new xmlFormat value
    • getResponseDate

      public String getResponseDate()
      Gets the response date String.
      Returns:
      The response date String
    • getErrorMsg

      public String getErrorMsg()
      Returns the value of errorMsg.
      Returns:
      The errorMsg value
    • setErrorMsg

      public void setErrorMsg(String errorMsg)
      Sets the value of errorMsg.
      Parameters:
      errorMsg - The value to assign errorMsg.
    • getResultCode

      public String getResultCode()
      Returns the value of resultCode.
    • setResultCode

      public void setResultCode(String resultCode)
      Sets the value of resultCode.
      Parameters:
      resultCode - The value to assign resultCode.
    • getErrorCode

      public String getErrorCode()
      Gets the errorCode attribute of the object
      Returns:
      The errorCode value
    • setErrorCode

      public void setErrorCode(String errorCode)
      Sets the errorCode attribute of the object
      Parameters:
      errorMsg - The new errorMsg value
    • getAuthorizedFor

      public String getAuthorizedFor()
      Gets the role name for which this user is authorized
      Returns:
      The authorizedFor value
    • setAuthorizedFor

      public void setAuthorizedFor(String val)
      Sets the role name for which this user is authorized
      Parameters:
      val - The new authorizedFor value
    • getDs

      protected static final String getDs()
      Return a string for the current time and date, sutiable for display in log files and output to standout:
      Returns:
      The dateStamp value
    • prtlnErr

      protected final void prtlnErr(String s)
      Output a line of text to error out, with datestamp.
      Parameters:
      s - The text that will be output to error out.
    • prtln

      protected final void prtln(String s)
      Output a line of text to standard out, with datestamp, if debug is set to true.
      Parameters:
      s - The String that will be output.
    • setDebug

      public static void setDebug(boolean isDebugOuput)
      Sets the debug attribute
      Parameters:
      isDebugOuput - The new debug value