org.apache.olingo.odata2.client.core.edm.Impl

## Class EdmEntitySetImpl

- java.lang.Object
- - org.apache.olingo.odata2.client.core.edm.Impl.EdmNamedImpl
  - - org.apache.olingo.odata2.client.core.edm.Impl.EdmEntitySetImpl

- All Implemented Interfaces:
    EdmAnnotatable, EdmEntitySet, EdmMappable, EdmNamed

      public class EdmEntitySetImpl
      extends EdmNamedImpl
      implements EdmEntitySet, EdmAnnotatable

  Objects of this class represent EdmEntitySet

- - ### Field Summary

    - ### Fields inherited from class org.apache.olingo.odata2.client.core.edm.Impl.EdmNamedImpl

      `edm, name`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EdmEntitySetImpl()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdmAnnotations` | `getAnnotations()` Get all annotations applied to an EDM element
    `EdmDocumentation` | `getDocumentation()`
    `EdmEntityContainer` | `getEdmEntityContainer()`
    `EdmEntityType` | `getEdmEntityType()`
    `EdmEntityContainer` | `getEntityContainer()` Get the entity container the entity set is contained in
    `EdmEntityType` | `getEntityType()` Get the entity type
    `FullQualifiedName` | `getEntityTypeName()`
    `EdmMapping` | `getMapping()` Get mapping information applied to an EDM element
    `EdmEntitySet` | `getRelatedEntitySet(EdmNavigationProperty navigationProperty)` Get the related entity set by providing the navigation property
    `void` | `setAnnotations(EdmAnnotationsImpl annotations)`
    `void` | `setDocumentation(EdmDocumentation documentation)`
    `void` | `setEdmEntityContainer(EdmEntityContainer edmEntityContainer)`
    `void` | `setEdmEntityType(EdmEntityType edmEntityType)`
    `void` | `setEdmEntityTypeName(FullQualifiedName fqName)`
    `void` | `setEntityTypeName(FullQualifiedName entityTypeName)`
    `void` | `setMapping(EdmMapping mapping)`
    `String` | `toString()`

    - ### Methods inherited from class org.apache.olingo.odata2.client.core.edm.Impl.EdmNamedImpl

      `getName, setEdm, setName`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmNamed

      `getName`

- - ### Constructor Detail

    - #### EdmEntitySetImpl

          public EdmEntitySetImpl()

  - ### Method Detail

    - #### getEntityTypeName

          public FullQualifiedName getEntityTypeName()

    - #### setEntityTypeName

          public void setEntityTypeName(FullQualifiedName entityTypeName)

    - #### getEntityType

          public EdmEntityType getEntityType()
                                      throws EdmException

      Description copied from interface: `EdmEntitySet`
      Get the entity type
      Specified by:
        `getEntityType` in interface `EdmEntitySet`
      Returns:
        `EdmEntityType`
      Throws:
        `EdmException`

    - #### getEdmEntityContainer

          public EdmEntityContainer getEdmEntityContainer()

    - #### setEdmEntityContainer

          public void setEdmEntityContainer(EdmEntityContainer edmEntityContainer)

    - #### getEdmEntityType

          public EdmEntityType getEdmEntityType()

    - #### setEdmEntityType

          public void setEdmEntityType(EdmEntityType edmEntityType)

    - #### setAnnotations

          public void setAnnotations(EdmAnnotationsImpl annotations)

    - #### getDocumentation

          public EdmDocumentation getDocumentation()

    - #### setDocumentation

          public void setDocumentation(EdmDocumentation documentation)

    - #### setMapping

          public void setMapping(EdmMapping mapping)

    - #### getRelatedEntitySet

          public EdmEntitySet getRelatedEntitySet(EdmNavigationProperty navigationProperty)
                                           throws EdmException

      Description copied from interface: `EdmEntitySet`
      Get the related entity set by providing the navigation property
      Specified by:
        `getRelatedEntitySet` in interface `EdmEntitySet`
      Parameters:
        `navigationProperty` - of type `EdmNavigationProperty`
      Returns:
        `EdmEntitySet`
      Throws:
        `EdmException`

    - #### getEntityContainer

          public EdmEntityContainer getEntityContainer()
                                                throws EdmException

      Description copied from interface: `EdmEntitySet`
      Get the entity container the entity set is contained in
      Specified by:
        `getEntityContainer` in interface `EdmEntitySet`
      Returns:
        `EdmEntityContainer`
      Throws:
        `EdmException`

    - #### getAnnotations

          public EdmAnnotations getAnnotations()
                                        throws EdmException

      Description copied from interface: `EdmAnnotatable`
      Get all annotations applied to an EDM element
      Specified by:
        `getAnnotations` in interface `EdmAnnotatable`
      Returns:
        `EdmAnnotations` never null
      Throws:
        `EdmException`

    - #### getMapping

          public EdmMapping getMapping()
                                throws EdmException

      Description copied from interface: `EdmMappable`
      Get mapping information applied to an EDM element
      Specified by:
        `getMapping` in interface `EdmMappable`
      Returns:
        `EdmMapping`
      Throws:
        `EdmException`

    - #### setEdmEntityTypeName

          public void setEdmEntityTypeName(FullQualifiedName fqName)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `EdmNamedImpl`

Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.