Regain 2.1.0-STABLE API

net.sf.regain.crawler.preparator.java
Class JMethod

java.lang.Object
  extended by net.sf.regain.crawler.preparator.java.JMethod

public class JMethod
extends Object

Represents methods of a Java class

Author:
Renuka Sindhgatta, http://www.oreillynet.com/pub/au/2554 Modifications by Thomas Tesche, http://clusterconsult.thtesche.com/

Field Summary
private  String codeBlock
           
private  String methodName
           
private  ArrayList parameters
           
private  String returnType
           
 
Constructor Summary
JMethod()
           
 
Method Summary
 String getCodeBlock()
          Returns the code block of a method
 String getMethodName()
          Returns the name of the method.
 ArrayList getParameters()
          Returns the parameters of a method.
 String getReturnType()
          Returns the return type of a method.
 void setCodeBlock(String codeBlock)
          Sets the code block for the method.
 void setMethodName(String methodName)
          Sets the name of a method.
 void setParameters(ArrayList parameters)
          Sets the parameters of a method.
 void setReturnType(String returnType)
          Sets the return type of method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

methodName

private String methodName

parameters

private ArrayList parameters

codeBlock

private String codeBlock

returnType

private String returnType
Constructor Detail

JMethod

public JMethod()
Method Detail

getMethodName

public String getMethodName()
Returns the name of the method.

Returns:
the method name

setMethodName

public void setMethodName(String methodName)
Sets the name of a method.

Parameters:
methodName -

getParameters

public ArrayList getParameters()
Returns the parameters of a method.

Returns:
all parameters

setParameters

public void setParameters(ArrayList parameters)
Sets the parameters of a method.

Parameters:
parameters -

getCodeBlock

public String getCodeBlock()
Returns the code block of a method

Returns:
the code block

setCodeBlock

public void setCodeBlock(String codeBlock)
Sets the code block for the method.

Parameters:
codeBlock -

getReturnType

public String getReturnType()
Returns the return type of a method.

Returns:
the return type

setReturnType

public void setReturnType(String returnType)
Sets the return type of method.

Parameters:
returnType -

Regain 2.1.0-STABLE API

Regain 2.1.0-STABLE, Copyright (C) 2004-2010 Til Schneider, www.murfman.de, Thomas Tesche, www.clustersystems.info