com.finalist.jaggenerator.modules
Class BusinessMethod

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bycom.finalist.jaggenerator.modules.BusinessMethod
All Implemented Interfaces:
java.lang.Cloneable, JagBean, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class BusinessMethod
extends javax.swing.tree.DefaultMutableTreeNode
implements JagBean

Helper class for representing business methods.

Version:
$Revision: 1.5 $, $Date: 2005/03/05 10:52:12 $
Author:
Rudie Ekkelenkamp - Finalist IT Group
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
BusinessMethod()
           
BusinessMethod(Session parent)
          Creates new form BeanForm
BusinessMethod(Session parent, org.w3c.dom.Element node)
          Use for building up the entity field gui component
 
Method Summary
 java.util.ArrayList getArgumentList()
          get a list of all arguments of the BusinessArgument class.
 java.lang.String getDescription()
          Get the method description.
 java.lang.String getMethodName()
          Get the business method name.
 java.lang.String getMethodNameUpper()
          Get the business method name in uppercase notation.
 javax.swing.JPanel getPanel()
           
 java.lang.String getRefName()
           
 java.lang.String getReturnType()
          the return type of the method.
 java.lang.String getSignature()
           
 void getXML(org.w3c.dom.Element el)
           
 void setArgumentList(java.util.ArrayList argumentList)
          Set the argument list.
 void setDescription(java.lang.String description)
          Set the method description.
 void setMethodName(java.lang.String methodName)
          Set the method name.
 void setReturnType(java.lang.String returnType)
          Set the return type of the business method.
 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

log

static org.apache.commons.logging.Log log
Constructor Detail

BusinessMethod

public BusinessMethod(Session parent)
Creates new form BeanForm


BusinessMethod

public BusinessMethod()

BusinessMethod

public BusinessMethod(Session parent,
                      org.w3c.dom.Element node)
Use for building up the entity field gui component

Method Detail

getPanel

public javax.swing.JPanel getPanel()
Specified by:
getPanel in interface JagBean

getRefName

public java.lang.String getRefName()
Specified by:
getRefName in interface JagBean

getSignature

public java.lang.String getSignature()

getXML

public void getXML(org.w3c.dom.Element el)
            throws javax.xml.parsers.ParserConfigurationException
Specified by:
getXML in interface JagBean
Throws:
javax.xml.parsers.ParserConfigurationException

getReturnType

public java.lang.String getReturnType()
the return type of the method.

Returns:

setReturnType

public void setReturnType(java.lang.String returnType)
Set the return type of the business method.

Parameters:
returnType -

getMethodName

public java.lang.String getMethodName()
Get the business method name.

Returns:
the name.

getMethodNameUpper

public java.lang.String getMethodNameUpper()
Get the business method name in uppercase notation.

Returns:
the name.

setMethodName

public void setMethodName(java.lang.String methodName)
Set the method name.

Parameters:
methodName - the name.

getDescription

public java.lang.String getDescription()
Get the method description.

Returns:
description.

setDescription

public void setDescription(java.lang.String description)
Set the method description.

Parameters:
description -

getArgumentList

public java.util.ArrayList getArgumentList()
get a list of all arguments of the BusinessArgument class.

Returns:
Collection of BusinessArgument classes.

setArgumentList

public void setArgumentList(java.util.ArrayList argumentList)
Set the argument list.

Parameters:
argumentList -

toString

public java.lang.String toString()


Copyright © 2003-2005 SourceForge. All Rights Reserved.