public class

UnitRepresentationAdapter

extends AbstractUnitRepresentation
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.output.AbstractUnitRepresentation
     ↳ com.pnfsoftware.jeb.core.output.UnitRepresentationAdapter

Class Overview

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

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.output.IUnitDocumentPresentation
Public Constructors
UnitRepresentationAdapter(long id, String label, boolean defaultRepresentation, IGenericDocument doc)
Create the representation adapter.
Public Methods
void dispose()
IGenericDocument getDocument()
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.core.output.AbstractUnitRepresentation
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.output.IUnitDocumentPresentation

Public Constructors

public UnitRepresentationAdapter (long id, String label, boolean defaultRepresentation, IGenericDocument doc)

Create the representation adapter.

Public Methods

public void dispose ()

public IGenericDocument getDocument ()