Class EntityProperty

java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlProperty
com.ptc.odata.core.entity.property.EntityProperty
All Implemented Interfaces:
org.apache.olingo.commons.api.edm.provider.CsdlAnnotatable, org.apache.olingo.commons.api.edm.provider.CsdlNamed

public class EntityProperty extends org.apache.olingo.commons.api.edm.provider.CsdlProperty
Wrapper around the CsdlProperty so as to not expose olingo dependencies.
Supported API: true

Extendable: false
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates if the property is common (updateable via UpdateCommonProperties action)

    Supported API: true
    boolean
    Indicates if the property is immutable (from an OData perspective)

    Supported API: true
    boolean
    Indicates if the property is filterable or not (i.e.
    boolean
    Indicates if the property is read-only

    Supported API: true

    Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlProperty

    getAnnotations, getDefaultValue, getMapping, getMaxLength, getMimeType, getName, getPrecision, getScale, getScaleAsString, getSrid, getType, getTypeAsFQNObject, isCollection, isNullable, isUnicode, setAnnotations, setCollection, setDefaultValue, setMapping, setMaxLength, setMimeType, setName, setNullable, setPrecision, setScale, setScaleAsString, setSrid, setType, setType, setUnicode

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

    getAllByName, getOneByName

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • isReadOnly

      public boolean isReadOnly()
      Indicates if the property is read-only

      Supported API: true
      Returns:
      true if the property is read-only
    • isImmutable

      public boolean isImmutable()
      Indicates if the property is immutable (from an OData perspective)

      Supported API: true
      Returns:
      true if the property is immutable
    • isNonFilterable

      public boolean isNonFilterable()
      Indicates if the property is filterable or not (i.e. can be use in $filter query parameter)

      Supported API: true
      Returns:
      true if the property is non-filterable
    • isCommon

      public boolean isCommon()
      Indicates if the property is common (updateable via UpdateCommonProperties action)

      Supported API: true
      Returns:
      true if the property is common