Regain 2.1.0-STABLE API

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

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

public class JClassEnum
extends Object

Represents a Java class or an Enum

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

Field Summary
private  Type _type
           
private  String className
           
private  ArrayList constants
           
private  ArrayList innerClasses
           
private  ArrayList interfaces
           
private  ArrayList methodDeclarations
           
private  String superClass
           
 
Constructor Summary
JClassEnum()
           
 
Method Summary
 String getClassName()
          Returns the class name.
 ArrayList getConstants()
           
 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.
 Type getType()
           
 void setClassName(String className)
          Sets the class name.
 void setInnerClasses(ArrayList innerClasses)
          Sets the inner classes.
 void setInterfaces(ArrayList interfaces)
          Sets the interfaces.
 void setMethodDeclarations(ArrayList methodDeclarations)
          Sets the method declarations.
 void setSuperClass(String superClass)
          Sets the super class.
 void setType(Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

private String className

_type

private Type _type

methodDeclarations

private ArrayList methodDeclarations

innerClasses

private ArrayList innerClasses

superClass

private String superClass

interfaces

private ArrayList interfaces

constants

private ArrayList constants
Constructor Detail

JClassEnum

public JClassEnum()
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

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 -

getConstants

public ArrayList getConstants()
Returns:
the constants

getType

public Type getType()
Returns:
the _type

setType

public void setType(Type type)
Parameters:
type - the _type to set

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