org.codehaus.aspectwerkz.metadata
Class ClassMetaData

java.lang.Object
  extended byorg.codehaus.aspectwerkz.metadata.ClassMetaData
All Implemented Interfaces:
MetaData, java.io.Serializable

public class ClassMetaData
extends java.lang.Object
implements MetaData

Holds meta-data for a class.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
ClassMetaData()
           
 
Method Summary
 java.util.List getAllMethods()
          Returns a list with all the methods meta-data even the inherited methods.
 java.util.List getFields()
          Returns a list with all the field meta-data.
 java.util.List getInterfaces()
          Returns the interfaces.
 java.util.List getMethods()
          Returns a list with all the methods meta-data.
 int getModifiers()
          Returns the class modifiers.
 java.lang.String getName()
          Returns the name of the class.
 ClassMetaData getSuperClass()
          Returns the super class.
 void setFields(java.util.List fields)
          Sets a list with FieldMetaData instances.
 void setInterfaces(java.util.List interfaces)
          Sets the interfaces.
 void setMethods(java.util.List methods)
          Sets a list with MethodMetaData instances.
 void setModifiers(int modifiers)
          Sets the class modifiers.
 void setName(java.lang.String name)
          Sets the name of the class.
 void setSuperClass(ClassMetaData superClass)
          Sets the super class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassMetaData

public ClassMetaData()
Method Detail

getName

public java.lang.String getName()
Returns the name of the class.

Returns:
the name of the class

setName

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

Parameters:
name - the name of the class

getModifiers

public int getModifiers()
Returns the class modifiers.

Returns:
the class modifiers

setModifiers

public void setModifiers(int modifiers)
Sets the class modifiers.

Parameters:
modifiers - the class modifiers

getAllMethods

public java.util.List getAllMethods()
Returns a list with all the methods meta-data even the inherited methods.

Returns:
the methods meta-data for all the methods

getMethods

public java.util.List getMethods()
Returns a list with all the methods meta-data.

Returns:
the methods meta-data

setMethods

public void setMethods(java.util.List methods)
Sets a list with MethodMetaData instances.

Parameters:
methods - a list with MethodMetaData instances

getFields

public java.util.List getFields()
Returns a list with all the field meta-data.

Returns:
the field meta-data

setFields

public void setFields(java.util.List fields)
Sets a list with FieldMetaData instances.

Parameters:
fields - a list with FieldMetaData instances

getInterfaces

public java.util.List getInterfaces()
Returns the interfaces.

Returns:
the interfaces

setInterfaces

public void setInterfaces(java.util.List interfaces)
Sets the interfaces.

Parameters:
interfaces - the interfaces

getSuperClass

public ClassMetaData getSuperClass()
Returns the super class.

Returns:
the super class

setSuperClass

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

Parameters:
superClass - the super class


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.