org.odata4j.core
Interface OExtensible<T>

Type Parameters:
T - the type being extended
All Known Subinterfaces:
ODataProducer, OEntity
All Known Implementing Classes:
CommandProducer, InMemoryProducer, JdbcProducer, JPAProducer, MetadataProducer, ODataProducerDelegate

public interface OExtensible<T>

Basic extension mechanism.

See Also:
OExtension

Method Summary
<TExtension extends OExtension<T>>
TExtension
findExtension(Class<TExtension> clazz)
          Finds an extension instance given an interface, if one exists.
 

Method Detail

findExtension

<TExtension extends OExtension<T>> TExtension findExtension(Class<TExtension> clazz)
Finds an extension instance given an interface, if one exists.

Type Parameters:
TExtension - type of extension
Parameters:
clazz - the extension interface
Returns:
the extension instance, or null if no extension exists for this type


http://odata4j.org