Interface EntityPropertyAnnotationModel


public interface EntityPropertyAnnotationModel
Data structure representing an OData property of an entity or complex type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of the property as defined in the OData EDM.
    OData EDM type of the property as defined in the OData EDM.
    boolean
    Value is true for key properties of the OData entity.
    boolean
    Value is true if this property is one of the OData simple types, and false if it is an OData complex type.
  • Method Details

    • getEdmName

      @Nonnull String getEdmName()
      Name of the property as defined in the OData EDM.
      Returns:
      the OData EDM name.
    • isSimpleType

      boolean isSimpleType()
      Value is true if this property is one of the OData simple types, and false if it is an OData complex type.
      Returns:
      false if this property is an OData complex type, true else.
    • getEdmType

      @Nonnull String getEdmType()
      OData EDM type of the property as defined in the OData EDM.
      Returns:
      the OData EDM type.
    • isKeyField

      boolean isKeyField()
      Value is true for key properties of the OData entity.
      Returns:
      true iff this property is a key field of the OData entity