public class EntityInfoAggregator extends Object
EdmEntitySet
informations.public static EntityInfoAggregator create(EdmEntitySet entitySet, ExpandSelectTreeNode expandSelectTree) throws EntityProviderException
EntityInfoAggregator based on given EdmEntitySetentitySet - with which the EntityInfoAggregator is initialized.expandSelectTree - EntityInfoAggregatorEntityProviderException - if during initialization of EntityInfoAggregator something goes wrong (e.g. exceptions during
access
of EdmEntitySet).public static EntityInfoAggregator create(EdmEntitySet entitySet) throws EntityProviderException
EntityInfoAggregator based on given EdmEntitySetentitySet - with which the EntityInfoAggregator is initialized.EntityInfoAggregatorEntityProviderException - if during initialization of EntityInfoAggregator something goes wrong (e.g. exceptions during
access
of EdmEntitySet).public static EntityPropertyInfo create(EdmProperty property) throws EntityProviderException
EntityPropertyInfo based on given EdmPropertyproperty - for which the EntityPropertyInfo is created.EntityPropertyInfoEntityProviderException - if create of EntityPropertyInfo something goes wrong (e.g. exceptions during
access of EdmProperty).public static Map<String,EntityPropertyInfo> create(EdmComplexType complexType) throws EntityProviderException
complexType - for which the EntityPropertyInfo is created.complex type property name to EntityPropertyInfoEntityProviderException - if create of EntityPropertyInfo something goes wrong (e.g. exceptions during
access of EntityPropertyInfo).public static EntityPropertyInfo create(EdmFunctionImport functionImport) throws EntityProviderException
EntityPropertyInfo based on given EdmFunctionImportfunctionImport - for which the EntityPropertyInfo is created.EntityPropertyInfoEntityProviderException - if create of EntityPropertyInfo something goes wrong (e.g. exceptions during
access of EdmFunctionImport).public EdmEntitySet getEntitySet()
public String getEntitySetName()
public boolean isDefaultEntityContainer()
true if the entity container of EdmEntitySet is the default container,
otherwise false.public EntityPropertyInfo getTargetPathInfo(String targetPath)
public EdmEntityType getEntityType()
public String getEntityContainerName()
public Collection<String> getTargetPathNames()
public List<String> getNoneSyndicationTargetPathNames()
none syndication target path names (all target path names which are
not pre-defined).public List<String> getNavigationPropertyNames() throws EntityProviderException
EntityProviderExceptionpublic List<String> getPropertyNames() throws EntityProviderException
EntityProviderExceptionpublic List<String> getSelectedPropertyNames() throws EntityProviderException
EntityProviderExceptionpublic List<String> getSelectedNavigationPropertyNames() throws EntityProviderException
EntityProviderExceptionpublic Collection<EntityPropertyInfo> getPropertyInfos()
public EntityPropertyInfo getPropertyInfo(String name)
public Collection<EntityPropertyInfo> getETagPropertyInfos()
public List<EntityPropertyInfo> getKeyPropertyInfos() throws EntityProviderException
EntityProviderExceptionpublic NavigationPropertyInfo getNavigationPropertyInfo(String name)
Copyright © 2020. All rights reserved.