com.alveole.studio.web.managers.struts2editor
Class ResultTypePanelModel

java.lang.Object
  extended by com.alveole.studio.web.managers.struts2editor.ResultTypePanelModel

public class ResultTypePanelModel
extends java.lang.Object

This is the model associated to interceptor stack view.

Author:
sylvain

Field Summary
protected  Struts2BaseFileModel baseModel
          Struts2 base model.
protected  org.w3c.dom.Element pack
          Associated package.
protected  java.lang.String[][] parameters
          List of parameters.
protected  org.w3c.dom.Element parent
          Result-types tag.
protected  org.w3c.dom.Element resultType
          Result-type tag.
protected  java.lang.String resultTypeClass
          Result-type class name.
protected  java.lang.String resultTypeName
          Result-type target name.
protected  java.lang.String resultTypeNameOld
          Result-type target name.
 
Constructor Summary
ResultTypePanelModel(Struts2BaseFileModel baseModel, org.w3c.dom.Element parent, org.w3c.dom.Element resultType)
           
 
Method Summary
 java.lang.String check()
          Check if parameters are correct.
 Struts2BaseFileModel getBaseModel()
           
 org.w3c.dom.Element getPack()
           
 java.lang.String[][] getParameters()
           
 org.w3c.dom.Element getParent()
           
 org.w3c.dom.Element getResultType()
           
 java.lang.String getResultTypeClass()
           
 java.lang.String getResultTypeName()
           
 org.w3c.dom.Element performOk()
          Performs OK.
 void setBaseModel(Struts2BaseFileModel baseModel)
           
 void setPack(org.w3c.dom.Element pack)
           
 void setParameters(java.lang.String[][] parameters)
           
 void setParent(org.w3c.dom.Element parent)
           
 void setResultType(org.w3c.dom.Element resultType)
           
 void setResultTypeClass(java.lang.String resultTypeClass)
           
 void setResultTypeName(java.lang.String resultTypeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resultTypeName

protected java.lang.String resultTypeName
Result-type target name.


resultTypeNameOld

protected java.lang.String resultTypeNameOld
Result-type target name.


resultTypeClass

protected java.lang.String resultTypeClass
Result-type class name.


baseModel

protected Struts2BaseFileModel baseModel
Struts2 base model.


parameters

protected java.lang.String[][] parameters
List of parameters.


parent

protected org.w3c.dom.Element parent
Result-types tag.


resultType

protected org.w3c.dom.Element resultType
Result-type tag.


pack

protected org.w3c.dom.Element pack
Associated package.

Constructor Detail

ResultTypePanelModel

public ResultTypePanelModel(Struts2BaseFileModel baseModel,
                            org.w3c.dom.Element parent,
                            org.w3c.dom.Element resultType)
Method Detail

check

public java.lang.String check()
Check if parameters are correct.


performOk

public org.w3c.dom.Element performOk()
Performs OK.


getParameters

public java.lang.String[][] getParameters()
Returns:
the parameters

setParameters

public void setParameters(java.lang.String[][] parameters)
Parameters:
parameters - the parameters to set

getBaseModel

public Struts2BaseFileModel getBaseModel()
Returns:
the baseModel

setBaseModel

public void setBaseModel(Struts2BaseFileModel baseModel)
Parameters:
baseModel - the baseModel to set

getPack

public org.w3c.dom.Element getPack()
Returns:
the pack

setPack

public void setPack(org.w3c.dom.Element pack)
Parameters:
pack - the pack to set

getParent

public org.w3c.dom.Element getParent()
Returns:
the parent

setParent

public void setParent(org.w3c.dom.Element parent)
Parameters:
parent - the parent to set

getResultType

public org.w3c.dom.Element getResultType()
Returns:
the resultType

setResultType

public void setResultType(org.w3c.dom.Element resultType)
Parameters:
resultType - the resultType to set

getResultTypeClass

public java.lang.String getResultTypeClass()
Returns:
the resultTypeClass

setResultTypeClass

public void setResultTypeClass(java.lang.String resultTypeClass)
Parameters:
resultTypeClass - the resultTypeClass to set

getResultTypeName

public java.lang.String getResultTypeName()
Returns:
the resultTypeName

setResultTypeName

public void setResultTypeName(java.lang.String resultTypeName)
Parameters:
resultTypeName - the resultTypeName to set