com.xenonsoft.bridgetown.soa.config
Class MethodConfig

java.lang.Object
  extended bycom.xenonsoft.bridgetown.soa.config.MethodConfig
All Implemented Interfaces:
java.io.Serializable

public class MethodConfig
extends java.lang.Object
implements java.io.Serializable

This is an object that stores a data thats represents a method signature after parsing the bridgetown XML configuration file. A method will have a name and zero or more arguments.

Version:
$Id: MethodConfig.java,v 1.4 2005/02/23 01:31:12 peter_pilgrim Exp $
Author:
Peter Pilgrim, Aug 3, 2004 5:38:44 PM
See Also:
Serialized Form

Constructor Summary
MethodConfig()
          Default constructor
 
Method Summary
 void addArgument(ArgumentConfig argument)
          Add an argument value reference config to the method config
 java.util.List getArguments()
          Gets the arguments
 java.lang.String getName()
          Gets the name of the method
 void setArguments(java.util.List arguments)
          Sets the arguments
 void setName(java.lang.String name)
          Sets the name of the method
 java.lang.String toString()
          Gets debuggable string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodConfig

public MethodConfig()
Default constructor

Method Detail

getName

public java.lang.String getName()
Gets the name of the method

Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Sets the name of the method

Parameters:
name - the new value for name

getArguments

public java.util.List getArguments()
Gets the arguments

Returns:
Returns the arguments.

setArguments

public void setArguments(java.util.List arguments)
Sets the arguments

Parameters:
arguments - the new value for arguments

addArgument

public void addArgument(ArgumentConfig argument)
Add an argument value reference config to the method config

Parameters:
argument - the argument to add

toString

public java.lang.String toString()
Gets debuggable string



Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.