org.odata4j.edm
Class EdmDataServices
java.lang.Object
org.odata4j.edm.EdmDataServices
- Direct Known Subclasses:
- EdmDataServicesDecorator
public class EdmDataServices
- extends Object
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.
- See Also:
- [msdn] 2.2 <edmx:DataServices>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
public static final EdmDataServices EMPTY
EdmDataServices
protected EdmDataServices(ODataVersion version,
ImmutableList<EdmSchema> schemas,
ImmutableList<PrefixedNamespace> namespaces)
findEdmComplexType
public EdmComplexType findEdmComplexType(String complexTypeFQName)
findEdmEntitySet
public EdmEntitySet findEdmEntitySet(String entitySetName)
findEdmEntityType
public EdmType findEdmEntityType(String fqName)
findEdmFunctionImport
public EdmFunctionImport findEdmFunctionImport(String functionImportName)
findEdmProperty
public EdmPropertyBase findEdmProperty(String propName)
findSchema
public EdmSchema findSchema(String namespace)
getAssociations
public Iterable<EdmAssociation> getAssociations()
getComplexTypes
public Iterable<EdmComplexType> getComplexTypes()
getEdmEntitySet
public EdmEntitySet getEdmEntitySet(EdmEntityType type)
getEdmEntitySet
public EdmEntitySet getEdmEntitySet(String entitySetName)
getEntitySets
public Iterable<EdmEntitySet> getEntitySets()
getEntityTypes
public Iterable<EdmEntityType> getEntityTypes()
getNamespaces
public ImmutableList<PrefixedNamespace> getNamespaces()
getSchemas
public ImmutableList<EdmSchema> getSchemas()
getStructuralTypes
public Iterable<EdmStructuralType> getStructuralTypes()
getSubTypes
public Iterable<EdmStructuralType> getSubTypes(EdmStructuralType t)
getVersion
public String getVersion()
newBuilder
public static EdmDataServices.Builder newBuilder()
newBuilder
public static EdmDataServices.Builder newBuilder(EdmDataServices metadata)
resolveType
public EdmType resolveType(String fqTypeName)
http://odata4j.org