DLESE Tools
v1.6.0

org.dlese.dpc.dds.action.form
Class DDSEditRecordForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.dlese.dpc.dds.action.form.DDSEditRecordForm
All Implemented Interfaces:
Serializable

public class DDSEditRecordForm
extends org.apache.struts.action.ActionForm
implements Serializable

A bean that holds data for editing records.

Author:
John Weatherley
See Also:
DDSReportingAction, Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
DDSEditRecordForm()
          Constructor for the RepositoryForm object
 
Method Summary
 String getCollection()
           
 String getDeleteRecord()
           
protected static String getDs()
          Return a string for the current time and date, sutiable for display in log files and output to standout:
 String getId()
           
 String getRecordId()
           
 String getRecordXml()
           
 String getXmlFormat()
           
protected  void prtln(String s)
          Output a line of text to standard out, with datestamp, if debug is set to true.
protected  void prtlnErr(String s)
          Output a line of text to error out, with datestamp.
 void setCollection(String value)
           
static void setDebug(boolean isDebugOuput)
          Sets the debug attribute
 void setDeleteRecord(String value)
           
 void setId(String value)
           
 void setRecordId(String value)
           
 void setRecordXml(String value)
           
 void setXmlFormat(String value)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDSEditRecordForm

public DDSEditRecordForm()
Constructor for the RepositoryForm object

Method Detail

getId

public String getId()

setId

public void setId(String value)

getRecordXml

public String getRecordXml()

setRecordXml

public void setRecordXml(String value)

getCollection

public String getCollection()

setCollection

public void setCollection(String value)

getXmlFormat

public String getXmlFormat()

setXmlFormat

public void setXmlFormat(String value)

getRecordId

public String getRecordId()

setRecordId

public void setRecordId(String value)

getDeleteRecord

public String getDeleteRecord()

setDeleteRecord

public void setDeleteRecord(String 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

DLESE Tools
v1.6.0