C
- actual client classpublic abstract class AbstractService<C extends EdmEnabledODataClient> extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Modifier | Constructor and Description |
---|---|
protected |
AbstractService(String compressedMetadata,
String metadataETag,
ODataServiceVersion version,
String serviceRoot,
boolean transactional) |
Modifier and Type | Method and Description |
---|---|
C |
getClient() |
abstract Class<?> |
getComplexTypeClass(String name) |
Context |
getContext() |
<T> T |
getEntityContainer(Class<T> reference)
Return an initialized concrete implementation of the passed EntityContainer interface.
|
abstract Class<?> |
getEntityTypeClass(String name) |
abstract Class<?> |
getEnumTypeClass(String name) |
PersistenceManager |
getPersistenceManager() |
abstract Class<? extends AbstractTerm> |
getTermClass(String name) |
boolean |
isTransactional() |
protected AbstractService(String compressedMetadata, String metadataETag, ODataServiceVersion version, String serviceRoot, boolean transactional)
public abstract Class<? extends AbstractTerm> getTermClass(String name)
public C getClient()
public Context getContext()
public boolean isTransactional()
public PersistenceManager getPersistenceManager()
public <T> T getEntityContainer(Class<T> reference) throws IllegalStateException, IllegalArgumentException
T
- interface annotated as EntityContainerreference
- class object of the EntityContainer annotated interfaceIllegalArgumentException
- if the passed reference is not an interface annotated as EntityContainerIllegalStateException
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.