Class ClassDescriptorImpl
- java.lang.Object
-
- org.hibernate.boot.archive.scan.internal.ClassDescriptorImpl
-
- All Implemented Interfaces:
ClassDescriptor
public class ClassDescriptorImpl extends Object implements ClassDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.boot.archive.scan.spi.ClassDescriptor
ClassDescriptor.Categorization
-
-
Constructor Summary
Constructors Constructor Description ClassDescriptorImpl(String name, ClassDescriptor.Categorization categorization, InputStreamAccess streamAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ClassDescriptor.CategorizationgetCategorization()StringgetName()Retrieves the class name, not the file name.InputStreamAccessgetStreamAccess()Retrieves access to the InputStream for the class file.inthashCode()
-
-
-
Constructor Detail
-
ClassDescriptorImpl
public ClassDescriptorImpl(String name, ClassDescriptor.Categorization categorization, InputStreamAccess streamAccess)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ClassDescriptorRetrieves the class name, not the file name.- Specified by:
getNamein interfaceClassDescriptor- Returns:
- The name (FQN) of the class
-
getCategorization
public ClassDescriptor.Categorization getCategorization()
- Specified by:
getCategorizationin interfaceClassDescriptor
-
getStreamAccess
public InputStreamAccess getStreamAccess()
Description copied from interface:ClassDescriptorRetrieves access to the InputStream for the class file.- Specified by:
getStreamAccessin interfaceClassDescriptor- Returns:
- Access to the InputStream for the class file.
-
-