org.odata4j.edm
Class EdmDataServices

java.lang.Object
  extended by 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>

Field Summary
static EdmDataServices EMPTY
           
 
Constructor Summary
EdmDataServices(ODataVersion version, List<EdmSchema> schemas)
           
 
Method Summary
 EdmComplexType findEdmComplexType(String complexTypeFQName)
           
 EdmEntitySet findEdmEntitySet(String entitySetName)
           
 EdmPropertyBase findEdmProperty(String propName)
           
 Iterable<EdmAssociation> getAssociations()
           
 Iterable<EdmComplexType> getComplexTypes()
           
 EdmEntitySet getEdmEntitySet(EdmEntityType type)
           
 EdmEntitySet getEdmEntitySet(String entitySetName)
           
 Iterable<EdmEntitySet> getEntitySets()
           
 Iterable<EdmEntityType> getEntityTypes()
           
 List<EdmSchema> getSchemas()
           
 String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final EdmDataServices EMPTY
Constructor Detail

EdmDataServices

public EdmDataServices(ODataVersion version,
                       List<EdmSchema> schemas)
Method Detail

findEdmComplexType

public EdmComplexType findEdmComplexType(String complexTypeFQName)

findEdmEntitySet

public EdmEntitySet findEdmEntitySet(String entitySetName)

findEdmProperty

public EdmPropertyBase findEdmProperty(String propName)

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()

getSchemas

public List<EdmSchema> getSchemas()

getVersion

public String getVersion()


http://odata4j.org