The Spring Framework

org.springframework.core.type
Interface ClassMetadata

All Known Subinterfaces:
AnnotationMetadata
All Known Implementing Classes:
StandardAnnotationMetadata, StandardClassMetadata

public interface ClassMetadata

Interface that defines abstract metadata of a specific class, in a form that does not require that class to be loaded yet.

Since:
2.5
Author:
Juergen Hoeller
See Also:
StandardClassMetadata, MetadataReader.getClassMetadata(), AnnotationMetadata

Method Summary
 String getClassName()
          Return the name of the underlying class.
 String[] getInterfaceNames()
          Return the name of all interfaces that the underlying class implements, or an empty array if there are none.
 String getSuperClassName()
          Return the name of the super class of the underlying class, or null if there is no super class defined.
 boolean hasSuperClass()
          Return whether the underlying class has a super class.
 boolean isAbstract()
          Return whether the underlying class is marked as abstract.
 boolean isConcrete()
          Return whether the underlying class represents a concrete class, i.e. neither an interface nor an abstract class.
 boolean isInterface()
          Return whether the underlying class represents an interface.
 

Method Detail

getClassName

String getClassName()
Return the name of the underlying class.


isInterface

boolean isInterface()
Return whether the underlying class represents an interface.


isAbstract

boolean isAbstract()
Return whether the underlying class is marked as abstract.


isConcrete

boolean isConcrete()
Return whether the underlying class represents a concrete class, i.e. neither an interface nor an abstract class.


hasSuperClass

boolean hasSuperClass()
Return whether the underlying class has a super class.


getSuperClassName

String getSuperClassName()
Return the name of the super class of the underlying class, or null if there is no super class defined.


getInterfaceNames

String[] getInterfaceNames()
Return the name of all interfaces that the underlying class implements, or an empty array if there are none.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.