public class

EdmDataServices

extends Object
java.lang.Object
   ↳ org.odata4j.edm.EdmDataServices
Known Direct Subclasses

Class Overview

The <edmx:DataServices> element contains the service metadata of a Data Service. This service metadata contains zero or more EDM conceptual schemas.

Since this is the root of a large metadata tree, convenience methods are included to help locate child metadata elements.

Summary

Nested Classes
class EdmDataServices.Builder Mutable builder for EdmDataServices objects. 
Fields
public static final EdmDataServices EMPTY
private final ImmutableList<PrefixedNamespace> namespaces
private final ImmutableList<EdmSchema> schemas
private final ODataVersion version
Protected Constructors
EdmDataServices(ODataVersion version, ImmutableList<EdmSchema> schemas, ImmutableList<PrefixedNamespace> namespaces)
Public Methods
EdmComplexType findEdmComplexType(String complexTypeFQName)
EdmEntitySet findEdmEntitySet(String entitySetName)
EdmType findEdmEntityType(String fqName)
EdmFunctionImport findEdmFunctionImport(String functionImportName)
EdmPropertyBase findEdmProperty(String propName)
EdmSchema findSchema(String namespace)
Iterable<EdmAssociation> getAssociations()
Iterable<EdmComplexType> getComplexTypes()
EdmEntitySet getEdmEntitySet(String entitySetName)
EdmEntitySet getEdmEntitySet(EdmEntityType type)
Iterable<EdmEntitySet> getEntitySets()
Iterable<EdmEntityType> getEntityTypes()
ImmutableList<PrefixedNamespace> getNamespaces()
ImmutableList<EdmSchema> getSchemas()
Iterable<EdmStructuralType> getStructuralTypes()
Iterable<EdmStructuralType> getSubTypes(EdmStructuralType t)
String getVersion()
static EdmDataServices.Builder newBuilder(EdmDataServices metadata)
static EdmDataServices.Builder newBuilder()
EdmType resolveType(String fqTypeName)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final EdmDataServices EMPTY

private final ImmutableList<PrefixedNamespace> namespaces

private final ImmutableList<EdmSchema> schemas

private final ODataVersion version

Protected Constructors

protected EdmDataServices (ODataVersion version, ImmutableList<EdmSchema> schemas, ImmutableList<PrefixedNamespace> namespaces)

Parameters
version
schemas
namespaces

Public Methods

public EdmComplexType findEdmComplexType (String complexTypeFQName)

Parameters
complexTypeFQName

public EdmEntitySet findEdmEntitySet (String entitySetName)

Parameters
entitySetName

public EdmType findEdmEntityType (String fqName)

Parameters
fqName

public EdmFunctionImport findEdmFunctionImport (String functionImportName)

Parameters
functionImportName

public EdmPropertyBase findEdmProperty (String propName)

Parameters
propName

public EdmSchema findSchema (String namespace)

Parameters
namespace

public Iterable<EdmAssociation> getAssociations ()

public Iterable<EdmComplexType> getComplexTypes ()

public EdmEntitySet getEdmEntitySet (String entitySetName)

Parameters
entitySetName

public EdmEntitySet getEdmEntitySet (EdmEntityType type)

Parameters
type

public Iterable<EdmEntitySet> getEntitySets ()

public Iterable<EdmEntityType> getEntityTypes ()

public ImmutableList<PrefixedNamespace> getNamespaces ()

public ImmutableList<EdmSchema> getSchemas ()

public Iterable<EdmStructuralType> getStructuralTypes ()

public Iterable<EdmStructuralType> getSubTypes (EdmStructuralType t)

Parameters
t

public String getVersion ()

public static EdmDataServices.Builder newBuilder (EdmDataServices metadata)

Parameters
metadata

public static EdmDataServices.Builder newBuilder ()

public EdmType resolveType (String fqTypeName)

Parameters
fqTypeName