objectivehtml.struts
Class CreateForm

java.lang.Object
  |
  +--objectivehtml.struts.CreateForm

public class CreateForm
extends java.lang.Object

This class holds a list of directives for a create-form configuration.


Field Summary
static java.lang.String COND_ALWAYS
          This condition means this form is always created
static java.lang.String COND_NOTEXISTS
          This condition means this form is created when it does not exist
 
Constructor Summary
CreateForm()
           
 
Method Summary
 java.lang.String getCondition()
          Gets the condition that the form is to be created.
 Connections getConnections()
          Gets the connections for this create-form process.
 java.lang.String getName()
          Gets the name of the form we are to create.
 java.lang.String getSessionRef()
          Gets the session name that this created form is to be (or has been) bound with.
 void setCondition(java.lang.String sCondition)
          Sets the condition that the form is to be created.
 void setConnections(Connections clConnections)
          Sets the connections for this create-form process.
 void setName(java.lang.String sName)
          Sets the name of the form we are to create.
 void setSessionRef(java.lang.String sSessionRef)
          Sets the session name that this created form is to be bound with.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COND_ALWAYS

public static final java.lang.String COND_ALWAYS
This condition means this form is always created

COND_NOTEXISTS

public static final java.lang.String COND_NOTEXISTS
This condition means this form is created when it does not exist
Constructor Detail

CreateForm

public CreateForm()
Method Detail

setName

public void setName(java.lang.String sName)
Sets the name of the form we are to create.
Parameters:
sName - the form Name

getName

public java.lang.String getName()
Gets the name of the form we are to create.
Returns:
the form Name

setSessionRef

public void setSessionRef(java.lang.String sSessionRef)
Sets the session name that this created form is to be bound with.
Parameters:
sSessionRef - the session name

getSessionRef

public java.lang.String getSessionRef()
Gets the session name that this created form is to be (or has been) bound with.
Returns:
the session name

setCondition

public void setCondition(java.lang.String sCondition)
Sets the condition that the form is to be created.
Parameters:
sCondition - the condition for the form to be created

getCondition

public java.lang.String getCondition()
Gets the condition that the form is to be created.
Returns:
the condition for the form to be created

setConnections

public void setConnections(Connections clConnections)
Sets the connections for this create-form process.
Parameters:
clConnections - a collection of Connection objects

getConnections

public Connections getConnections()
Gets the connections for this create-form process.
Returns:
a collection of the Connection objects