org.tm4j.vtl.struts
Class VelocityForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.tm4j.vtl.struts.VelocityForm
All Implemented Interfaces:
java.io.Serializable

public class VelocityForm
extends org.apache.struts.action.ActionForm

The base class for forms which can be populated by the VelocityAction class or derived Action classes. Provides bean interface for retrieving/setting the TopicMap, TopicMapObject, layout name and template name associated with the request.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
VelocityForm()
           
 
Method Summary
 java.lang.String getLayout()
          Get the layout name for this request
 java.lang.String getObj()
          Get the requested object ID for this request
 java.lang.Object getPageInfoBean()
           
 java.lang.String getTemplate()
          Get the requested template for rendering this request.
 java.lang.String getTm()
          Get the source topic map for this request.
 org.tm4j.topicmap.TopicMapObject getTmObject()
          Get the requested topic map object for this request.
 org.tm4j.topicmap.TopicMap getTopicMap()
          Get the TopicMap instance associated with this request.
 void setLayout(java.lang.String string)
           
 void setObj(java.lang.String string)
           
 void setPageInfoBean(java.lang.Object piBean)
           
 void setTemplate(java.lang.String string)
           
 void setTm(java.lang.String string)
           
 void setTmObject(org.tm4j.topicmap.TopicMapObject object)
           
 void setTopicMap(org.tm4j.topicmap.TopicMap map)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityForm

public VelocityForm()
Method Detail

getLayout

public java.lang.String getLayout()
Get the layout name for this request

Returns:

getObj

public java.lang.String getObj()
Get the requested object ID for this request

Returns:

getTemplate

public java.lang.String getTemplate()
Get the requested template for rendering this request.

Returns:

getTm

public java.lang.String getTm()
Get the source topic map for this request.

Returns:

getTmObject

public org.tm4j.topicmap.TopicMapObject getTmObject()
Get the requested topic map object for this request.

Returns:

getTopicMap

public org.tm4j.topicmap.TopicMap getTopicMap()
Get the TopicMap instance associated with this request.

Returns:

setLayout

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

setObj

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

setTemplate

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

setTm

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

setTmObject

public void setTmObject(org.tm4j.topicmap.TopicMapObject object)
Parameters:
object -

setTopicMap

public void setTopicMap(org.tm4j.topicmap.TopicMap map)
Parameters:
map -

setPageInfoBean

public void setPageInfoBean(java.lang.Object piBean)

getPageInfoBean

public java.lang.Object getPageInfoBean()