2016/02/07 - Apache Onami has been retired.

For more information, please explore the Attic.

public interface

UnannotatedPersistenceUnitBuilder

implements AnnotatedPersistenceUnitBuilder
org.apache.onami.persist.UnannotatedPersistenceUnitBuilder

Class Overview

2nd step of the persistence unit builder process. Define an annotation

Summary

Public Methods
abstract AnnotatedPersistenceUnitBuilder annotatedWith(Class<? extends Annotation> annotation)
Defines an annotation for the persistence unit.
[Expand]
Inherited Methods
From interface org.apache.onami.persist.AnnotatedPersistenceUnitBuilder
From interface org.apache.onami.persist.UnconfiguredPersistenceUnitBuilder

Public Methods

public abstract AnnotatedPersistenceUnitBuilder annotatedWith (Class<? extends Annotation> annotation)

Defines an annotation for the persistence unit.

Parameters
annotation the annotation to use when referencing the persistence unit.
Returns
  • the next builder step.