org.ajax4jsf.builder.config
Class PropertyBean

java.lang.Object
  extended by org.ajax4jsf.builder.config.JsfBean
      extended by org.ajax4jsf.builder.config.PropertyBean
All Implemented Interfaces:
LoaderHolder

public class PropertyBean
extends JsfBean

Describe JavaBean property of component.

Version:
$Revision: 1.1.2.3 $ $Date: 2007/02/20 20:57:59 $
Author:
asmirnov@exadel.com (latest modification by $Author: ishabalov $)

Constructor Summary
PropertyBean()
           
 
Method Summary
 java.lang.String getAlias()
           
 java.lang.String getBoxingClass()
           
 java.lang.String getDefaultvalue()
           
 java.lang.String getGetterName()
           
 java.lang.String getGetterPrefix()
           
 java.lang.String getMethodargs()
           
 java.lang.String getMethodArgsClasses()
           
 java.lang.String getReturntype()
           
 java.lang.String getSetterName()
           
 java.lang.String getSimpleClassName()
          Convert full class name to simple.
 boolean isAttachedstate()
           
 boolean isEl()
           
 boolean isElonly()
           
 boolean isExist()
           
 boolean isExistintag()
           
 boolean isHidden()
           
 boolean isRaw()
           
 boolean isRequired()
           
 boolean isSimpleType()
           
 boolean isTransient()
           
 void setAlias(java.lang.String alias)
           
 void setAttachedstate(boolean attachedState)
           
 void setDefaultvalue(java.lang.String defaultValue)
           
 void setDisabled(boolean disabled)
          Disable all generations for this property.
 void setEl(boolean el)
           
 void setElonly(boolean elOnly)
           
 void setExist(boolean exist)
           
 void setExistintag(boolean existInEl)
           
 void setHidden(boolean hidden)
           
 void setMethodargs(java.lang.String methodargs)
           
 void setRaw(boolean raw)
           
 void setRequired(boolean required)
           
 void setReturntype(java.lang.String _returntype)
           
 void setTransient(boolean transient1)
           
 
Methods inherited from class org.ajax4jsf.builder.config.JsfBean
escapeXML, getClassname, getDescription, getDisplayname, getGenericTypes, getIcon, getLoader, getLog, getName, getPackageName, getParent, getSuperclass, getTest, getXmlEncodedDescription, getXmlEncodedDisplayname, haveMethod, isInstanceof, setClassname, setDescription, setDisplayname, setIcon, setLoader, setName, setParent, setSuperclass, setTest, upperFirstChar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyBean

public PropertyBean()
Method Detail

isEl

public boolean isEl()
Returns:
Returns the el.

setEl

public void setEl(boolean el)
Parameters:
el - The el to set.

isElonly

public boolean isElonly()
Returns:
Returns the elOnly.

setElonly

public void setElonly(boolean elOnly)
Parameters:
elOnly - The elOnly to set.

isExist

public boolean isExist()
Returns:
Returns the exist.

setExist

public void setExist(boolean exist)
Parameters:
exist - The exist to set.

isExistintag

public boolean isExistintag()
Returns:
Returns the existInEl.

setExistintag

public void setExistintag(boolean existInEl)
Parameters:
existInEl - The existInEl to set.

isHidden

public boolean isHidden()
Returns:
Returns the hidden.

setHidden

public void setHidden(boolean hidden)
Parameters:
hidden - The hidden to set.

setDisabled

public void setDisabled(boolean disabled)
Disable all generations for this property. Used for exclude properties defined in standart sets as entities in config file or detected from superclass.

Parameters:
disabled - if true , set hidden , exist and existintag properties to true.

isRaw

public boolean isRaw()
Returns:
Returns the raw.

setRaw

public void setRaw(boolean raw)
Parameters:
raw - The raw to set.

isAttachedstate

public boolean isAttachedstate()
Returns:
Returns the attachedState.

setAttachedstate

public void setAttachedstate(boolean attachedState)
Parameters:
attachedState - The attachedState to set.

getMethodargs

public java.lang.String getMethodargs()
Returns:
Returns the methodargs.

setMethodargs

public void setMethodargs(java.lang.String methodargs)
Parameters:
methodargs - The methodargs to set.

getMethodArgsClasses

public java.lang.String getMethodArgsClasses()
Returns:
comma-separated list of classes for method args ( need to build method signature )

isTransient

public boolean isTransient()
Returns:
Returns the transient.

setTransient

public void setTransient(boolean transient1)
Parameters:
transient1 - The transient to set.

isRequired

public boolean isRequired()
Returns:
Returns the required.

setRequired

public void setRequired(boolean required)
Parameters:
required - The required to set.

getAlias

public java.lang.String getAlias()
Returns:
Returns the alias.

setAlias

public void setAlias(java.lang.String alias)
Parameters:
alias - The alias to set.

getGetterName

public java.lang.String getGetterName()

getSetterName

public java.lang.String getSetterName()

getGetterPrefix

public java.lang.String getGetterPrefix()
Returns:

getSimpleClassName

public java.lang.String getSimpleClassName()
Description copied from class: JsfBean
Convert full class name to simple.

Overrides:
getSimpleClassName in class JsfBean
Returns:
class name without package name.

setDefaultvalue

public void setDefaultvalue(java.lang.String defaultValue)
Parameters:
defaultValue - The defaultValue to set.

getDefaultvalue

public java.lang.String getDefaultvalue()

getReturntype

public java.lang.String getReturntype()

setReturntype

public void setReturntype(java.lang.String _returntype)

isSimpleType

public boolean isSimpleType()

getBoxingClass

public java.lang.String getBoxingClass()


Copyright © 2009. All Rights Reserved.