Top Fields Constructors Methods
org.hibernate.boot.archive.scan.internal

public Class MappingFileDescriptorImpl

extends Object
implements MappingFileDescriptor
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.archive.scan.spi.MappingFileDescriptor
Imports
org.hibernate.boot.archive.spi.InputStreamAccess, org.hibernate.boot.archive.scan.spi.MappingFileDescriptor

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String
private final InputStreamAccess

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public InputStreamAccess
getStreamAccess()

Implements org.hibernate.boot.archive.scan.spi.MappingFileDescriptor.getStreamAccess.

Retrieves access to the InputStream for the mapping file.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name
streamAccessback to summary
private final InputStreamAccess streamAccess

Constructor Detail

MappingFileDescriptorImplback to summary
public MappingFileDescriptorImpl(String name, InputStreamAccess streamAccess)

Method Detail

getNameback to summary
public String getName()

Implements org.hibernate.boot.archive.scan.spi.MappingFileDescriptor.getName.

Doc from org.hibernate.boot.archive.scan.spi.MappingFileDescriptor.getName.

The mapping file name. This is its name within the archive, the expectation being that most times this will equate to a "classpath lookup resource name".

Returns:String

The mapping file resource name.

Annotations
@Override
getStreamAccessback to summary
public InputStreamAccess getStreamAccess()

Implements org.hibernate.boot.archive.scan.spi.MappingFileDescriptor.getStreamAccess.

Doc from org.hibernate.boot.archive.scan.spi.MappingFileDescriptor.getStreamAccess.

Retrieves access to the InputStream for the mapping file.

Returns:InputStreamAccess

Access to the InputStream for the mapping file.

Annotations
@Override