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 boolean
equals(Object o)
ClassDescriptor.Categorization
getCategorization()
String
getName()
Retrieves the class name, not the file name.InputStreamAccess
getStreamAccess()
Retrieves access to the InputStream for the class file.int
hashCode()
-
-
-
Constructor Detail
-
ClassDescriptorImpl
public ClassDescriptorImpl(String name, ClassDescriptor.Categorization categorization, InputStreamAccess streamAccess)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ClassDescriptor
Retrieves the class name, not the file name.- Specified by:
getName
in interfaceClassDescriptor
- Returns:
- The name (FQN) of the class
-
getCategorization
public ClassDescriptor.Categorization getCategorization()
- Specified by:
getCategorization
in interfaceClassDescriptor
-
getStreamAccess
public InputStreamAccess getStreamAccess()
Description copied from interface:ClassDescriptor
Retrieves access to the InputStream for the class file.- Specified by:
getStreamAccess
in interfaceClassDescriptor
- Returns:
- Access to the InputStream for the class file.
-
-