public abstract static class DBObjectDeclarationFactory.DeclarationHelper<T extends DBObjectProvider>
extends java.lang.Object
Constructor and Description |
---|
DBObjectDeclarationFactory.DeclarationHelper() |
Modifier and Type | Method and Description |
---|---|
abstract T |
findProvider(java.lang.String id, Context context)
Finds the DBObjectProvider implementation for the given identifier.
|
java.util.Collection<? extends DBObjectProvider> |
findReferenceProviders(T pro, Scope scope)
Find any DBObjectProviders in scope that could contain references to objects in the given provider.
|
abstract java.lang.Class<T> |
getProviderClass()
Gets the DBObjectProvider implementation class this helper is for.
|
abstract java.lang.String |
toString(T pro)
Creates a unique identifying String for the given DBObjectProvider that we can use in a DBObjectDeclaration identifier.
|
public DBObjectDeclarationFactory.DeclarationHelper()
public abstract java.lang.Class<T> getProviderClass()
public abstract T findProvider(java.lang.String id, Context context)
public abstract java.lang.String toString(T pro)
public java.util.Collection<? extends DBObjectProvider> findReferenceProviders(T pro, Scope scope)