Interface DataAccessPlugin<D>
- Type Parameters:
D
- Type of data access is given to.
Plug-in allowing access to data managed by some sort of container.
- Since:
- 5.2.5
-
Method Summary
Modifier and TypeMethodDescription@NotNull DataAccessSessionBuilder<D>
Provides a builder for creating a (configured) session for accessing data.
Attention: This call should return very fast.<A> A
getAspect
(@NotNull DataAccessAspectType<A> type) Look up a specific aspect that may be supported by this plug-in.
Attention: This method may be called very often and must return very fast.@Nullable Image<?>
getIcon()
Provides an icon to be shown when displaying this plug-in or information thereon.@NotNull String
getLabel()
Provides a human-readable label to be shown when displaying this plug-in or information thereon.
-
Method Details
-
getAspect
Look up a specific aspect that may be supported by this plug-in.
Attention: This method may be called very often and must return very fast.- Type Parameters:
A
- The object type of the aspect.- Parameters:
type
- The type of aspect.- Returns:
- An aspect implementer or
null
, if the aspect is not supported. - Since:
- 5.2.5
-
getLabel
Provides a human-readable label to be shown when displaying this plug-in or information thereon.- Returns:
- Some text naming this plug-in.
- Since:
- 5.2.5
-
getIcon
Provides an icon to be shown when displaying this plug-in or information thereon.- Returns:
- Some icon or
null
. - Since:
- 5.2.5
-
createSessionBuilder
Provides a builder for creating a (configured) session for accessing data.
Attention: This call should return very fast.- Returns:
- The session builder.
- Since:
- 5.2.9
-