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

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

public class BeanPanelModel
extends java.lang.Object

This is the model associated to bean view.

Author:
sylvain

Field Summary
protected  Struts2BaseFileModel baseModel
          Struts2 base model.
protected  org.w3c.dom.Element bean
          Bean tag.
protected  java.lang.String beanName
          Bean name.
protected  java.lang.String beanOptional
          Bean is optional.
protected  org.w3c.dom.Element beans
          Beans tag.
protected  java.lang.String beanScope
          Bean scope.
protected  java.lang.String beanStatic
          Bean injected in static methods.
protected  java.lang.String beanType
          Bean type.
protected  java.lang.String className
          Bean class name.
 
Constructor Summary
BeanPanelModel(Struts2BaseFileModel baseModel, org.w3c.dom.Element beans, org.w3c.dom.Element bean)
           
 
Method Summary
 java.lang.String check()
          Check if parameters are correct.
 java.lang.String getBeanName()
           
 java.lang.String getBeanOptional()
           
 java.lang.String getBeanScope()
           
 java.lang.String getBeanStatic()
           
 java.lang.String getBeanType()
           
 java.lang.String getClassName()
           
 org.w3c.dom.Element performOk()
          Performs OK.
 void setBeanName(java.lang.String beanName)
           
 void setBeanOptional(java.lang.String beanOptional)
           
 void setBeanScope(java.lang.String beanScope)
           
 void setBeanStatic(java.lang.String beanStatic)
           
 void setBeanType(java.lang.String beanType)
           
 void setClassName(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanName

protected java.lang.String beanName
Bean name.


className

protected java.lang.String className
Bean class name.


beanType

protected java.lang.String beanType
Bean type.


beanScope

protected java.lang.String beanScope
Bean scope.


beanStatic

protected java.lang.String beanStatic
Bean injected in static methods.


beanOptional

protected java.lang.String beanOptional
Bean is optional.


baseModel

protected Struts2BaseFileModel baseModel
Struts2 base model.


beans

protected org.w3c.dom.Element beans
Beans tag.


bean

protected org.w3c.dom.Element bean
Bean tag.

Constructor Detail

BeanPanelModel

public BeanPanelModel(Struts2BaseFileModel baseModel,
                      org.w3c.dom.Element beans,
                      org.w3c.dom.Element bean)
Method Detail

getClassName

public java.lang.String getClassName()
Returns:
the className

setClassName

public void setClassName(java.lang.String className)
Parameters:
className - the className to set

check

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


performOk

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


getBeanName

public java.lang.String getBeanName()
Returns:
the beanName

setBeanName

public void setBeanName(java.lang.String beanName)
Parameters:
beanName - the beanName to set

getBeanOptional

public java.lang.String getBeanOptional()
Returns:
the beanOptional

setBeanOptional

public void setBeanOptional(java.lang.String beanOptional)
Parameters:
beanOptional - the beanOptional to set

getBeanScope

public java.lang.String getBeanScope()
Returns:
the beanScope

setBeanScope

public void setBeanScope(java.lang.String beanScope)
Parameters:
beanScope - the beanScope to set

getBeanStatic

public java.lang.String getBeanStatic()
Returns:
the beanStatic

setBeanStatic

public void setBeanStatic(java.lang.String beanStatic)
Parameters:
beanStatic - the beanStatic to set

getBeanType

public java.lang.String getBeanType()
Returns:
the beanType

setBeanType

public void setBeanType(java.lang.String beanType)
Parameters:
beanType - the beanType to set