IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.struts.config
Class BTTBaseActionMapping

java.lang.Object
  extended byorg.apache.struts.config.ActionConfig
      extended byorg.apache.struts.action.ActionMapping
          extended bycom.ibm.btt.struts.config.BTTBaseActionMapping
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BTTEJBActionMapping, BTTSwitchActionMapping, BTTWSIFActionMapping

public class BTTBaseActionMapping
extends org.apache.struts.action.ActionMapping

See Also:
Serialized Form

Field Summary
protected  java.util.Hashtable bttMaps
           
 
Fields inherited from class org.apache.struts.config.ActionConfig
attribute, configured, exceptions, forward, forwards, include, input, moduleConfig, multipartClass, name, parameter, path, prefix, roleNames, roles, scope, suffix, type, unknown, validate
 
Constructor Summary
BTTBaseActionMapping()
           
 
Method Summary
 void addBTTMapConfig(BTTMapConfig config)
           
 BTTMapConfig findBTTMap(java.lang.String partKey)
          Find and return the ForwardConfig instance defining how forwarding to the specified logical name should be handled.
 java.util.Hashtable findBTTMaps()
          Return the logical names of all locally defined forwards for this mapping.
 ConditionsConfig getConditionsConfig()
          Get the related Conditions Config
 java.lang.String getConditionsID()
          Returns the conditionsID.
 java.lang.String getContext()
          Returns the context.
 java.lang.String getMapFromContext()
          Returns the mapFromContext.
 java.lang.String getMapToContext()
          Returns the mapToContext.
 java.lang.String getProcessCtxMapper()
           
 java.lang.String getValidator()
           
 void setConditionsID(java.lang.String conditionsID)
          Sets the conditionsID.
 void setContext(java.lang.String context)
          Sets the context.
 void setMapFromContext(java.lang.String mapFromContext)
          Sets the mapFromContext.
 void setMapToContext(java.lang.String mapToContext)
          Sets the mapToContext.
 void setProcessCtxMapper(java.lang.String string)
           
 void setValidator(java.lang.String value)
           
 
Methods inherited from class org.apache.struts.action.ActionMapping
findException, findForward, findForwards, getInputForward
 
Methods inherited from class org.apache.struts.config.ActionConfig
addExceptionConfig, addForwardConfig, findExceptionConfig, findExceptionConfigs, findForwardConfig, findForwardConfigs, freeze, getApplicationConfig, getAttribute, getForward, getInclude, getInput, getModuleConfig, getMultipartClass, getName, getParameter, getPath, getPrefix, getRoleNames, getRoles, getScope, getSuffix, getType, getUnknown, getValidate, removeExceptionConfig, removeForwardConfig, setApplicationConfig, setAttribute, setForward, setInclude, setInput, setModuleConfig, setMultipartClass, setName, setParameter, setPath, setPrefix, setRoles, setScope, setSuffix, setType, setUnknown, setValidate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bttMaps

protected java.util.Hashtable bttMaps
Constructor Detail

BTTBaseActionMapping

public BTTBaseActionMapping()
Method Detail

setContext

public void setContext(java.lang.String context)
Sets the context.

Parameters:
context - The context to set

getConditionsID

public java.lang.String getConditionsID()
Returns the conditionsID.

Returns:
String

setConditionsID

public void setConditionsID(java.lang.String conditionsID)
Sets the conditionsID.

Parameters:
conditionsID - The conditionsID to set

getMapFromContext

public java.lang.String getMapFromContext()
Returns the mapFromContext.

Returns:
String

getMapToContext

public java.lang.String getMapToContext()
Returns the mapToContext.

Returns:
String

setMapFromContext

public void setMapFromContext(java.lang.String mapFromContext)
Sets the mapFromContext.

Parameters:
mapFromContext - The mapFromContext to set

setMapToContext

public void setMapToContext(java.lang.String mapToContext)
Sets the mapToContext.

Parameters:
mapToContext - The mapToContext to set

getContext

public java.lang.String getContext()
Returns the context.

Returns:
String

getValidator

public java.lang.String getValidator()
Returns:
String

setValidator

public void setValidator(java.lang.String value)
Parameters:
value -

addBTTMapConfig

public void addBTTMapConfig(BTTMapConfig config)

findBTTMap

public BTTMapConfig findBTTMap(java.lang.String partKey)

Find and return the ForwardConfig instance defining how forwarding to the specified logical name should be handled. This is performed by checking local and then global configurations for the specified forwarding configuration. If no forwarding configuration can be found, return null.

Parameters:
partKey - Logical name of the forwarding instance to be returned

findBTTMaps

public java.util.Hashtable findBTTMaps()

Return the logical names of all locally defined forwards for this mapping. If there are no such forwards, a zero-length array is returned.


getConditionsConfig

public ConditionsConfig getConditionsConfig()
Get the related Conditions Config

Returns:
ConditionsConfig

getProcessCtxMapper

public java.lang.String getProcessCtxMapper()
Returns:
String

setProcessCtxMapper

public void setProcessCtxMapper(java.lang.String string)
Parameters:
string -

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005