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
Supported API: true
Extendable: false
CsdlProperty so as to not expose olingo dependencies.
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisCommon()Indicates if the property is common (updateable via UpdateCommonProperties action)
Supported API: truebooleanIndicates if the property is immutable (from an OData perspective)
Supported API: truebooleanIndicates if the property is filterable or not (i.e.booleanIndicates if the property is read-only
Supported API: trueMethods 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, setUnicodeMethods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
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
-