# Class: com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignaturePackageEntry

Represents a signature package available through the [NativeSignatureDBManager](NativeSignatureDBManager). The corresponding signatures are not necessarily loaded in memory \(see [NativeSignaturePackageEntry#isLoadedInMemory()](NativeSignaturePackageEntry#isLoadedInMemory()). 

 The entry also stores signatures intended to be written into the package, see [NativeSignaturePackageEntry#getSignatureToWrite()](NativeSignaturePackageEntry#getSignatureToWrite()). 

 Notes: once loaded in memory, the signatures are not stored in this class, but in an internal storage of the [NativeSignatureDBManager](NativeSignatureDBManager).

## Constructor: NativeSignaturePackageEntry
- parameter: `file`, type: `java.io.File`
- parameter: `metadata`, type: `com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignaturePackageMetadata`


## Method: addSignatureToWrite
- parameter: `sig`, type: `com.pnfsoftware.jeb.core.units.code.asm.sig.INativeSignature`

Description: Add a signature to be written into the package.
parameter: sig: 

## Method: clearSignaturesToWrite


## Method: decrementOpenHandle


## Method: getFile
- return type: `java.io.File`


## Method: getMetadata
- return type: `com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignaturePackageMetadata`


## Method: getSignatureToWrite
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.asm.sig.INativeSignature>`

Description: Retrieve the signatures that should be added to the package.
return: list of signatures

## Method: getSize
- return type: `long`

Description: Get the package file size in bytes.

## Method: getStatus
- return type: `com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignaturePackageEntry.PackageStatus`


## Method: incrementOpenHandle


## Method: isActive
- return type: `boolean`


## Method: isLoadedInMemory
- return type: `boolean`

Description: 
return: true if the signatures of this package are loaded in memory, false otherwise

## Method: isUserCreated
- return type: `boolean`

Description: Returns true if the package was created by a user, false if it is an official PNF Software package.

## Method: setStatus
- parameter: `status`, type: `com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignaturePackageEntry.PackageStatus`


## Method: toString
- return type: `java.lang.String`


