org.apache.olingo.commons.api.edm.provider

## Class CsdlPropertyRef

- java.lang.Object
- - org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
  - - org.apache.olingo.commons.api.edm.provider.CsdlPropertyRef

- All Implemented Interfaces:
    CsdlNamed

      public class CsdlPropertyRef
      extends CsdlAbstractEdmItem
      implements CsdlNamed

  The type Csdl property ref.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CsdlPropertyRef()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAlias()` Gets alias.
    `String` | `getName()` Gets name.
    `CsdlPropertyRef` | `setAlias(String alias)` Sets alias.
    `CsdlPropertyRef` | `setName(String name)` Sets name.

    - ### Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem

      `getAllByName, getOneByName`

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

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

- - ### Constructor Detail

    - #### CsdlPropertyRef

          public CsdlPropertyRef()

  - ### Method Detail

    - #### getName

          public String getName()

      Description copied from interface: `CsdlNamed`
      Gets name.
      Specified by:
        `getName` in interface `CsdlNamed`
      Returns:
        the name

    - #### setName

          public CsdlPropertyRef setName(String name)

      Sets name.
      Parameters:
        `name` - the name
      Returns:
        the name

    - #### getAlias

          public String getAlias()

      Gets alias.
      Returns:
        the alias

    - #### setAlias

          public CsdlPropertyRef setAlias(String alias)

      Sets alias.
      Parameters:
        `alias` - the alias
      Returns:
        the alias

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.