2010-01-22 1.2.0

org.eclipse.soda.dk.platform.validation.test.checker
Class ClassInfo

java.lang.Object
  extended by org.eclipse.soda.dk.platform.validation.test.checker.DeclarationInfo
      extended by org.eclipse.soda.dk.platform.validation.test.checker.ClassInfo
All Implemented Interfaces:
java.io.Serializable

public class ClassInfo
extends DeclarationInfo

Since:
1.0
Version:
1.2.0
See Also:
Serialized Form

Constructor Summary
ClassInfo()
          Constructs an instance of this class.
ClassInfo(java.lang.String name, int accessFlags, java.lang.String superClassName, java.lang.String[] interfaceNames)
          Constructs an instance of this class from the specified name, access flags, super class name and interface names parameters.
 
Method Summary
 FieldInfo[] getFields()
          Gets the fields (FieldInfo[]) value.
 java.lang.Integer getInnerClassAccessFlags()
          Gets the inner class access flags (Integer) value.
 java.lang.String[] getInterfaceNames()
          Gets the interface names (String[]) value.
 java.lang.Class[] getInterfaces()
          Gets the interfaces (Class[]) value.
 MethodInfo[] getMethods()
          Gets the methods (MethodInfo[]) value.
 int getModifiers()
          Gets the modifiers (int) value.
 java.lang.Class getSuperClass()
          Gets the super class (Class) value.
 java.lang.String getSuperClassName()
          Gets the super class name (String) value.
 boolean isInterface()
          Gets the interface (boolean) value.
 void setFields(FieldInfo[] fields)
          Sets the fields value.
 void setInnerClassAccessFlags(java.lang.Integer innerClassAccessFlags)
          Sets the inner class access flags value.
 void setMethods(MethodInfo[] methods)
          Sets the methods value.
 java.lang.String toString()
          Returns the string value.
 
Methods inherited from class org.eclipse.soda.dk.platform.validation.test.checker.DeclarationInfo
getAccessFlags, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassInfo

public ClassInfo()
Constructs an instance of this class.

See Also:
ClassInfo(String,int,String,String[])

ClassInfo

public ClassInfo(java.lang.String name,
                 int accessFlags,
                 java.lang.String superClassName,
                 java.lang.String[] interfaceNames)
Constructs an instance of this class from the specified name, access flags, super class name and interface names parameters.

Parameters:
name - The name (String) parameter.
accessFlags - The access flags (int) parameter.
superClassName - The super class name (String) parameter.
interfaceNames - The interface names (String[]) parameter.
See Also:
ClassInfo()
Method Detail

getFields

public FieldInfo[] getFields()
Gets the fields (FieldInfo[]) value.

Returns:
The fields (FieldInfo[]) value.
See Also:
setFields(FieldInfo[])

getInnerClassAccessFlags

public java.lang.Integer getInnerClassAccessFlags()
Gets the inner class access flags (Integer) value.

Returns:
The inner class access flags (Integer) value.
See Also:
setInnerClassAccessFlags(Integer)

getInterfaceNames

public java.lang.String[] getInterfaceNames()
Gets the interface names (String[]) value.

Returns:
The interface names (String[]) value.

getInterfaces

public java.lang.Class[] getInterfaces()
                                throws java.lang.ClassNotFoundException
Gets the interfaces (Class[]) value.

Returns:
The interfaces (Class[]) value.
Throws:
java.lang.ClassNotFoundException - Class Not Found Exception.

getMethods

public MethodInfo[] getMethods()
Gets the methods (MethodInfo[]) value.

Returns:
The methods (MethodInfo[]) value.
See Also:
setMethods(MethodInfo[])

getModifiers

public int getModifiers()
Gets the modifiers (int) value.

Overrides:
getModifiers in class DeclarationInfo
Returns:
The modifiers (int) value.

getSuperClass

public java.lang.Class getSuperClass()
                              throws java.lang.ClassNotFoundException
Gets the super class (Class) value.

Returns:
The super class (Class) value.
Throws:
java.lang.ClassNotFoundException - Class Not Found Exception.

getSuperClassName

public java.lang.String getSuperClassName()
Gets the super class name (String) value.

Returns:
The super class name (String) value.

isInterface

public boolean isInterface()
Gets the interface (boolean) value.

Returns:
The interface (boolean) value.

setFields

public void setFields(FieldInfo[] fields)
Sets the fields value.

Parameters:
fields - The fields (FieldInfo[]) parameter.
See Also:
getFields()

setInnerClassAccessFlags

public void setInnerClassAccessFlags(java.lang.Integer innerClassAccessFlags)
Sets the inner class access flags value.

Parameters:
innerClassAccessFlags - The inner class access flags (Integer) parameter.
See Also:
getInnerClassAccessFlags()

setMethods

public void setMethods(MethodInfo[] methods)
Sets the methods value.

Parameters:
methods - The methods (MethodInfo[]) parameter.
See Also:
getMethods()

toString

public java.lang.String toString()
Returns the string value.

Overrides:
toString in class java.lang.Object
Returns:
The string (String) value.

2010-01-22 1.2.0

Copyright (c) 2010 IBM. See license in Legal section.