# Class: com.pnfsoftware.jeb.core.output.UnitRepresentationAdapter

A simple unit representation, always returning the document set at construction time. Unlike [AbstractTransientUnitRepresentation](AbstractTransientUnitRepresentation), this class cannot act as a document factory.

## Constructor: UnitRepresentationAdapter
- parameter: `id`, type: `long`
- parameter: `label`, type: `java.lang.String`
- parameter: `defaultRepresentation`, type: `boolean`
- parameter: `doc`, type: `com.pnfsoftware.jeb.core.output.IGenericDocument`

Description: Create the representation adapter.
parameter: id: presentation identifier
parameter: label: presentation label
parameter: defaultRepresentation: `true` if this is the default presentation for the unit
parameter: doc: backing document returned by [#getDocument()](#getDocument())

## Method: dispose


## Method: getDocument
- return type: `com.pnfsoftware.jeb.core.output.IGenericDocument`


