|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.finalist.jaggenerator.modules.Session
| Nested Class Summary |
| Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
| Field Summary | |
javax.swing.JTextField |
descriptionText
|
(package private) static org.apache.commons.logging.Log |
log
|
javax.swing.JTextField |
nameText
|
javax.swing.JTextField |
refNameText
|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
Session(org.w3c.dom.Element el)
|
|
Session(java.lang.String rootPackage)
Creates new form BeanForm |
|
| Method Summary | |
void |
addRef(java.lang.String ref)
|
void |
addRelationRef(java.lang.String entity)
|
java.util.ArrayList |
getBusinessMethods()
|
TemplateString |
getDescription()
|
java.util.List |
getEntities()
Returns a List of all Entities in this Session, but not those that are only a 'relation reference'. |
java.util.List |
getEntitiesAndReferences()
|
java.util.ArrayList |
getEntityRefs()
Gets all entities 'covered' by this session bean. |
TemplateString |
getName()
|
java.util.ArrayList |
getNonRelationEntityRefs()
Gets all entities 'covered' by this session bean, excluding those that were only added to support a container-managed relation. |
javax.swing.JPanel |
getPanel()
|
java.util.List |
getReferencedEntities()
|
java.lang.String |
getRefName()
|
TemplateString |
getRootPackage()
|
java.lang.String |
getRootPath()
|
TemplateString |
getUpperCaseName()
|
void |
getXML(org.w3c.dom.Element el)
|
java.lang.Boolean |
hasBusinessMethods()
check if there are any business methods defines in this Session. |
void |
setBusinessMethods(java.util.ArrayList businessMethods)
set Business methods. |
void |
setDescription(java.lang.String text)
|
void |
setEntityRefs(java.util.ArrayList refs)
Sets all entities 'covered' by this session bean. |
void |
setName(java.lang.String text)
|
void |
setRefName(java.lang.String text)
|
void |
setRootPackage(java.lang.String text)
|
java.lang.String |
toString()
|
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static org.apache.commons.logging.Log log
public javax.swing.JTextField descriptionText
public javax.swing.JTextField nameText
public javax.swing.JTextField refNameText
| Constructor Detail |
public Session(java.lang.String rootPackage)
public Session(org.w3c.dom.Element el)
| Method Detail |
public java.util.ArrayList getBusinessMethods()
public void setBusinessMethods(java.util.ArrayList businessMethods)
public java.lang.Boolean hasBusinessMethods()
public java.util.ArrayList getEntityRefs()
public void setEntityRefs(java.util.ArrayList refs)
public java.util.ArrayList getNonRelationEntityRefs()
public java.lang.String toString()
public javax.swing.JPanel getPanel()
getPanel in interface JagBean
public void getXML(org.w3c.dom.Element el)
throws javax.xml.parsers.ParserConfigurationException
getXML in interface JagBeanjavax.xml.parsers.ParserConfigurationExceptionpublic java.lang.String getRootPath()
public TemplateString getName()
public TemplateString getUpperCaseName()
public void setName(java.lang.String text)
public TemplateString getDescription()
public void setDescription(java.lang.String text)
public TemplateString getRootPackage()
public void setRootPackage(java.lang.String text)
public java.util.List getEntities()
public java.util.List getReferencedEntities()
public java.util.List getEntitiesAndReferences()
public java.lang.String getRefName()
getRefName in interface JagBeanpublic void setRefName(java.lang.String text)
text - public void addRef(java.lang.String ref)
ref - public void addRelationRef(java.lang.String entity)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||