com.pnpconsult.zeiterfassung.actions.admin
Class EditCustomerForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.pnpconsult.zeiterfassung.actions.EditForm
          extended bycom.pnpconsult.zeiterfassung.actions.admin.EditCustomerForm
All Implemented Interfaces:
java.io.Serializable

public class EditCustomerForm
extends EditForm

Version:
$Id: EditCustomerForm.java,v 1.6 2004/06/09 19:26:40 powerpete Exp $
Author:
M. Petersen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.pnpconsult.zeiterfassung.actions.EditForm
isNew
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
EditCustomerForm()
           
 
Method Summary
protected  java.io.Serializable dataObjectKey()
           
protected  java.lang.Class dataObjectType()
           
 long getCustomerId()
           
 java.lang.String getCustomerName()
           
 java.util.Collection getProjects()
           
protected  java.lang.Object newDataObject()
           
 void readFromDataObject(java.lang.Object obj)
           
 void setCustomerId(long id)
           
 void setCustomerName(java.lang.String name)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void writeToDataObject(java.lang.Object obj)
           
 
Methods inherited from class com.pnpconsult.zeiterfassung.actions.EditForm
changeArchived, isNew, load, save, setNew, update
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditCustomerForm

public EditCustomerForm()
Method Detail

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)

writeToDataObject

public void writeToDataObject(java.lang.Object obj)
Specified by:
writeToDataObject in class EditForm

readFromDataObject

public void readFromDataObject(java.lang.Object obj)
Specified by:
readFromDataObject in class EditForm

getCustomerName

public java.lang.String getCustomerName()
Returns:
Returns the name.

setCustomerName

public void setCustomerName(java.lang.String name)
Parameters:
name - The name to set.

getProjects

public java.util.Collection getProjects()
Returns:
Returns the projects.

getCustomerId

public long getCustomerId()
Returns:
Returns the id.

setCustomerId

public void setCustomerId(long id)
Parameters:
id - The id to set.

newDataObject

protected java.lang.Object newDataObject()
Specified by:
newDataObject in class EditForm
See Also:
EditForm.newDataObject()

dataObjectType

protected java.lang.Class dataObjectType()
Specified by:
dataObjectType in class EditForm
See Also:
EditForm.dataObjectType()

dataObjectKey

protected java.io.Serializable dataObjectKey()
Specified by:
dataObjectKey in class EditForm
See Also:
EditForm.dataObjectKey()


Copyright © 2003-2004 PNP Unternehmensberatung. All Rights Reserved.