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

## Class EdmElementImpl

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

- All Implemented Interfaces:
    EdmElement, EdmMappable, EdmNamed, EdmTyped
  Direct Known Subclasses:
    EdmParameterImpl, EdmPropertyImpl

      public abstract class EdmElementImpl
      extends EdmTypedImpl
      implements EdmElement

  Objects of this class represent EdmElement

- - ### Field Summary

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

      `edmType, multiplicity, typeName`

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

      `edm, name`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EdmElementImpl()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdmFacets` | `getFacets()` Get the facet information for an element
    `EdmMapping` | `getMapping()` Get mapping information applied to an EDM element
    `void` | `setFacets(EdmFacets edmFacets)`
    `void` | `setMapping(EdmMapping edmMapping)`
    `String` | `toString()`

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

      `getMultiplicity, getType, setEdmType, setMultiplicity, setTypeName`

    - ### 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.EdmTyped

      `getMultiplicity, getType`

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

      `getName`

- - ### Constructor Detail

    - #### EdmElementImpl

          public EdmElementImpl()

  - ### Method Detail

    - #### 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`

    - #### setFacets

          public void setFacets(EdmFacets edmFacets)

    - #### setMapping

          public void setMapping(EdmMapping edmMapping)

    - #### getFacets

          public EdmFacets getFacets()
                              throws EdmException

      Description copied from interface: `EdmElement`
      Get the facet information for an element
      Specified by:
        `getFacets` in interface `EdmElement`
      Returns:
        `EdmFacets`
      Throws:
        `EdmException`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `EdmTypedImpl`

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