Annotation

open class Annotation

Represents an OData annotation.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.AnnotationTerm}.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val value: DataValue?

Functions

Link copied to clipboard

Lookup an existing annotation by term name, or throw an exception if the annotation is not found.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.Annotation#annotations Annotation.annotations} and {@link com.sap.cloud.mobile.kotlin.odata.AnnotationMap#get(kotlin.String) AnnotationMap.get}, for looking up annotations that might not exist.

Link copied to clipboard
open override fun toString(): String

{@inheritDoc}

Link copied to clipboard
open fun valueIsTrue(): Boolean

Return true if {@link com.sap.cloud.mobile.kotlin.odata.Annotation#value Annotation.value} is true.