public abstract static class DBObjectDeclarationFactory.DeclarationHelper<T extends DBObjectProvider>
extends java.lang.Object
Constructor and Description |
---|
DBObjectDeclarationFactory.DeclarationHelper() |
Modifier and Type | Method and Description |
---|---|
T |
findProvider(java.lang.String id,
Context context)
Deprecated.
replaced by
#fromString(String,Context) |
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.Object |
fromString(java.lang.String id)
Create a DBObjectProvider identifier from the given id String that
was created by
toString(Object) . |
Project |
getProject(T pro,
Context context)
Gets the Project that the given provider is in, or null if the
provider doesn't belong to a Project.
|
java.lang.Class<T> |
getProviderClass()
Deprecated.
replaced by
getProviderType() |
abstract java.lang.String |
getProviderType()
Gets the provider type that this helper if for.
|
java.lang.String |
toString(DBObjectProvider pro)
Deprecated.
replaced by
#toString(DBObjectProviderID) |
abstract java.lang.String |
toString(java.lang.Object ident)
Creates a unique identifying String for the DBObjectProvider that is
represented by the given identifier that we can use in a
DBObjectDeclaration identifier.
|
public DBObjectDeclarationFactory.DeclarationHelper()
public abstract java.lang.String getProviderType()
public abstract java.lang.Object fromString(java.lang.String id)
toString(Object)
.id
- the delcaration identifier string created by
toString
.public abstract java.lang.String toString(java.lang.Object ident)
public java.util.Collection<? extends DBObjectProvider> findReferenceProviders(T pro, Scope scope) throws java.lang.InterruptedException
java.lang.InterruptedException
public Project getProject(T pro, Context context)
pro
- the provider to get the project forcontext
- the relevant IDE context@Deprecated public java.lang.Class<T> getProviderClass()
getProviderType()
@Deprecated public java.lang.String toString(DBObjectProvider pro)
#toString(DBObjectProviderID)