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
public EdmDataServices(ODataVersion version,
List<EdmSchema> schemas)
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