|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.beanmaker.Bean
Bean is the class that contains the informations of xml file.
These informations will pass (through getXXX methods) to
org.beanmaker.BeanCreator class. It will provide
to create the JavaBean.
The informatons are the following:
BeanCreator| Field Summary | |
static java.lang.String |
CLASS_NAME
Identifies the class name. |
| Constructor Summary | |
Bean()
Constructs the Bean object. |
|
| Method Summary | |
java.util.ArrayList |
getAttributes()
Return the attributes |
java.lang.String |
getBeanName()
Return the name of the JavaBean |
java.util.ArrayList |
getImports()
Return the imports, the size of ArrayList is 0 if the imports are not specified |
java.util.ArrayList |
getInterfaces()
Return the interfaces that the JavaBean'll implement, the size of ArrayList is 0 if the interfaces are not specified |
java.lang.String |
getPackage()
Return the package of the JavaBean, String can be void if the package isn't specified. |
java.lang.String |
getSuperclass()
Return the name of superclass, the size of ArrayList is 0 if the interfaces aren't specified |
java.util.ArrayList |
getTypes()
Return the types of attributes |
void |
setAttributes(java.util.ArrayList attributes)
Sets the value of the attributes specified in attributes |
void |
setBeanName(java.lang.String beanName)
Sets the value of the name of JavaBean specified in beanName |
void |
setImports(java.util.ArrayList imports)
Sets the value of the imports specified in imports |
void |
setInterfaces(java.util.ArrayList interfaces)
Sets the value of the interfaces specified in interfaces |
void |
setPackage(java.lang.String newPackage)
Sets the value of the package specified in beanName |
void |
setSuperclass(java.lang.String superclass)
Sets the value of the superclass that the JavaBean'll extend specified in superclass |
void |
setTypes(java.util.ArrayList types)
Sets the value of the types of the attributes specified in types |
java.lang.String |
toString()
Return the String represented by this object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public Bean()
| Method Detail |
public void setAttributes(java.util.ArrayList attributes)
attributes - ArrayList that contains the attributes.public java.util.ArrayList getAttributes()
public void setBeanName(java.lang.String beanName)
beanName - String that contains the name of JavaBean.public java.lang.String getBeanName()
public void setImports(java.util.ArrayList imports)
imports - ArrayList that contains the imports.public java.util.ArrayList getImports()
public void setInterfaces(java.util.ArrayList interfaces)
interfaces - ArrayList that contains the interfaces.public java.util.ArrayList getInterfaces()
public void setPackage(java.lang.String newPackage)
public java.lang.String getPackage()
public void setSuperclass(java.lang.String superclass)
superclass - String that contains the superclasspublic java.lang.String getSuperclass()
public void setTypes(java.util.ArrayList types)
types - ArrayList that contains the types of the attributes.public java.util.ArrayList getTypes()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||