Regain 1.7.7-STABLE API

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

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

public class JClass
extends Object

Represents 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 className
           
private  ArrayList innerClasses
           
private  ArrayList interfaces
           
private  boolean isInterface
           
private  ArrayList methodDeclarations
           
private  String superClass
           
 
Constructor Summary
JClass()
           
 
Method Summary
 String getClassName()
          Returns the class name.
 ArrayList getInnerClasses()
          Gets the inner classes of a class.
 ArrayList getInterfaces()
          Return all interfaces
 ArrayList getMethodDeclarations()
          Returns the method declarations.
 String getSuperClass()
          Returns the super class.
 boolean isInterface()
          Returns if the class is an interface.
 void setClassName(String className)
          Sets the class name.
 void setInnerClasses(ArrayList innerClasses)
          Sets the inner classes.
 void setInterfaces(ArrayList interfaces)
          Sets the interfaces.
 void setIsInterface(boolean isInterface)
           
 void setMethodDeclarations(ArrayList methodDeclarations)
          Sets the method declarations.
 void setSuperClass(String superClass)
          Sets the super class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

private String className

isInterface

private boolean isInterface

methodDeclarations

private ArrayList methodDeclarations

innerClasses

private ArrayList innerClasses

superClass

private String superClass

interfaces

private ArrayList interfaces
Constructor Detail

JClass

public JClass()
Method Detail

getClassName

public String getClassName()
Returns the class name.

Returns:
the class name

setClassName

public void setClassName(String className)
Sets the class name.

Parameters:
className - the name of the class

isInterface

public boolean isInterface()
Returns if the class is an interface.

Returns:
true if the class is an interface

setIsInterface

public void setIsInterface(boolean isInterface)

getMethodDeclarations

public ArrayList getMethodDeclarations()
Returns the method declarations.

Returns:
method declarations

setMethodDeclarations

public void setMethodDeclarations(ArrayList methodDeclarations)
Sets the method declarations.

Parameters:
methodDeclarations -

getInnerClasses

public ArrayList getInnerClasses()
Gets the inner classes of a class.

Returns:
the inner classes

setInnerClasses

public void setInnerClasses(ArrayList innerClasses)
Sets the inner classes.

Parameters:
innerClasses -

getSuperClass

public String getSuperClass()
Returns the super class.

Returns:
the super class

setSuperClass

public void setSuperClass(String superClass)
Sets the super class.

Parameters:
superClass -

getInterfaces

public ArrayList getInterfaces()
Return all interfaces

Returns:
the interfaces

setInterfaces

public void setInterfaces(ArrayList interfaces)
Sets the interfaces.

Parameters:
interfaces -

Regain 1.7.7-STABLE API

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