org.figure8.join.control.form
Class LogicalEnvironmentForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.figure8.join.control.JoinForm
          extended by org.figure8.join.control.form.LogicalEnvironmentForm
All Implemented Interfaces:
java.io.Serializable

public class LogicalEnvironmentForm
extends JoinForm

This is a Struts form for managing and manipulating LogicalEnvironment into Join.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.figure8.join.control.JoinForm
errors
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
LogicalEnvironmentForm()
          Creates a new LogicalEnvironmentForm.
 
Method Summary
 void doValidate(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate form attributes depending on operation.
 java.lang.String getActiveStr()
           
 java.lang.String getDescription()
           
 java.lang.String getKey()
           
 java.lang.String getLabel()
           
 java.lang.String getManagerId()
           
 java.lang.String getReleaseName()
           
 long getStepId()
           
 java.lang.String getStepIdStr()
           
 boolean isActive()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form attributes.
 void setActive(boolean active)
           
 void setActiveStr(java.lang.String activeStr)
           
 void setDescription(java.lang.String description)
           
 void setKey(java.lang.String key)
           
 void setLabel(java.lang.String label)
           
 void setManagerId(java.lang.String managerId)
           
 void setReleaseName(java.lang.String releaseName)
           
 void setStepId(long stepId)
           
 void setStepIdStr(java.lang.String stepIdStr)
           
 
Methods inherited from class org.figure8.join.control.JoinForm
addActionError, addActionError, addActionError, getGuiMessageResources, getId, getIdStr, getMessageResources, setId, setIdStr, validate, validateEntityObjectId
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogicalEnvironmentForm

public LogicalEnvironmentForm()
Creates a new LogicalEnvironmentForm.

Method Detail

getKey

public java.lang.String getKey()
Returns:
The business key of current logical environment

setKey

public void setKey(java.lang.String key)
Parameters:
key - The business key of current logical environment

getLabel

public java.lang.String getLabel()
Returns:
The label of current logical environment

setLabel

public void setLabel(java.lang.String label)
Parameters:
label - The label of logical environment represented by form

getDescription

public java.lang.String getDescription()
Returns:
The description of the currently loaded logical environment

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description of the current logical environment

getManagerId

public java.lang.String getManagerId()
Returns:
The identifier of user managing the logical environment

setManagerId

public void setManagerId(java.lang.String managerId)
Parameters:
managerId - The identifier of manager for logical environment

isActive

public boolean isActive()
Returns:
true if the logical environment is active.

setActive

public void setActive(boolean active)
Parameters:
active - The flag telling if environment is active

getReleaseName

public java.lang.String getReleaseName()
Returns:
The name of the release this environment is attached to

setReleaseName

public void setReleaseName(java.lang.String releaseName)
Parameters:
releaseName - The name of release this environment is attached to

getStepId

public long getStepId()
Returns:
The unique id of step this environment is dedicated to

setStepId

public void setStepId(long stepId)
Parameters:
stepId - The unique id of step this environment is dedicated to

getActiveStr

public java.lang.String getActiveStr()
Returns:
Flag telling if current environment is active or not

setActiveStr

public void setActiveStr(java.lang.String activeStr)
Parameters:
activeStr - Flag telling if current environment is active or not

getStepIdStr

public java.lang.String getStepIdStr()
Returns:
String representation of the stepId long

setStepIdStr

public void setStepIdStr(java.lang.String stepIdStr)
Parameters:
stepIdStr - String representation of the stepId long.

doValidate

public void doValidate(java.lang.String operation,
                       org.apache.struts.action.ActionMapping mapping,
                       javax.servlet.http.HttpServletRequest request)
Validate form attributes depending on operation.

Specified by:
doValidate in class JoinForm
Parameters:
operation - String representing the operation to invoke on Action
mapping - Mapping between forwards name and path for this action
request - The servlet container request wrapper

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Reset form attributes.

Overrides:
reset in class JoinForm
Parameters:
mapping - Mapping between forwards name and path for this action
request - The servlet container request wrapper


Copyright © 2005-2008 Join. All Rights Reserved.