org.scrashmeow.ojb.console.ui.form
Class NestedObjectEditorForm

java.lang.Object
  |
  +--org.apache.struts.action.ActionForm
        |
        +--org.apache.struts.action.DynaActionForm
              |
              +--org.apache.struts.validator.DynaValidatorForm
                    |
                    +--org.scrashmeow.ojb.console.framework.OjbcDynaValidatorForm
                          |
                          +--org.scrashmeow.ojb.console.ui.form.ObjectEditorForm
                                |
                                +--org.scrashmeow.ojb.console.ui.form.NestedObjectEditorForm
All Implemented Interfaces:
ApplicationServiceAware, org.apache.commons.beanutils.DynaBean, java.io.Serializable, StrutsAware

public class NestedObjectEditorForm
extends ObjectEditorForm

Form bean for a Struts application.

Version:
1.0
Author:
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.validator.DynaValidatorForm
page, validatorResults
 
Fields inherited from class org.apache.struts.action.DynaActionForm
dynaClass, dynaValues
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
NestedObjectEditorForm()
          Constructor
 
Method Summary
protected  Widget[] buildWidgets(org.apache.ojb.broker.metadata.ClassDescriptor cld, ObjectEditorForm form, HttpServletRequest request)
          Method buildWidgets @add-javadoc!!!
protected  org.apache.ojb.broker.metadata.ClassDescriptor findParentClassDescriptor(ObjectEditorContext cxt)
          Method findParentClassDescriptor @add-javadoc!!!
 java.lang.String getCollectionName()
          Method getCollectionName @add-javadoc!!!
 java.lang.String getNestedName()
          Method getNestedName @add-javadoc!!!
 java.lang.String getReferenceName()
          Method getReferenceName @add-javadoc!!!
 boolean hasCollectionName()
          Method hasCollectionName @add-javadoc!!!
 boolean hasReferenceName()
          Method hasReferenceName @add-javadoc!!!
 void setCollectionName(java.lang.String name)
          Method setCollectionName @add-javadoc!!!
 void setReferenceName(java.lang.String name)
          Method setReferenceName @add-javadoc!!!
 
Methods inherited from class org.scrashmeow.ojb.console.ui.form.ObjectEditorForm
afterPopulate, configureWidgets, findClassDescriptor, getClassId, getContent, getKeyValue, getObjectKey, getUid, getValidatorFormName, getWidgetId, getWidgets, isEditMode, lookupEditorContext, prePopulate, reset, setClassId, setContent, setObjectKey, setUid, setWidgetId, setWidgets, validate
 
Methods inherited from class org.scrashmeow.ojb.console.framework.OjbcDynaValidatorForm
getApplicationService, getMethod, getValidate, isDispatchedTo, setMethod, setValidate
 
Methods inherited from class org.apache.struts.validator.DynaValidatorForm
getPage, getResultValueMap, getValidatorResults, log, log, reset, setPage, setValidatorResults, validate
 
Methods inherited from class org.apache.struts.action.DynaActionForm
contains, get, get, get, getDynaClass, getDynaProperty, getMap, initialize, isDynaAssignable, remove, reset, set, set, set, toString
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.commons.beanutils.DynaBean
contains, get, get, get, getDynaClass, remove, set, set, set
 

Constructor Detail

NestedObjectEditorForm

public NestedObjectEditorForm()
Constructor

Method Detail

getCollectionName

public java.lang.String getCollectionName()
Method getCollectionName @add-javadoc!!!

Returns:
@add-javadoc!!!

setCollectionName

public void setCollectionName(java.lang.String name)
Method setCollectionName @add-javadoc!!!

Parameters:
name - @add-javadoc!!!

getReferenceName

public java.lang.String getReferenceName()
Method getReferenceName @add-javadoc!!!

Returns:
@add-javadoc!!!

setReferenceName

public void setReferenceName(java.lang.String name)
Method setReferenceName @add-javadoc!!!

Parameters:
name - @add-javadoc!!!

hasCollectionName

public boolean hasCollectionName()
Method hasCollectionName @add-javadoc!!!

Returns:
@add-javadoc!!!

hasReferenceName

public boolean hasReferenceName()
Method hasReferenceName @add-javadoc!!!

Returns:
@add-javadoc!!!

getNestedName

public java.lang.String getNestedName()
Method getNestedName @add-javadoc!!!

Returns:
@add-javadoc!!!

findParentClassDescriptor

protected org.apache.ojb.broker.metadata.ClassDescriptor findParentClassDescriptor(ObjectEditorContext cxt)
                                                                            throws ServiceException
Method findParentClassDescriptor @add-javadoc!!!

Parameters:
cxt - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

buildWidgets

protected Widget[] buildWidgets(org.apache.ojb.broker.metadata.ClassDescriptor cld,
                                ObjectEditorForm form,
                                HttpServletRequest request)
                         throws ServiceException
Method buildWidgets @add-javadoc!!!

Overrides:
buildWidgets in class ObjectEditorForm
Parameters:
cld - @add-javadoc!!!
form - @add-javadoc!!!
request - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.