skipcheck

TM1 CSDL docs · Metadata

CsdlAnnotation

import io.skipcheck.tm1.csdl.CsdlAnnotation;

A CSDL annotation: a vocabulary term applied to a model element, such as Core.Description or Core.Revisions.

Members

CsdlAnnotation constructorValidates the components.
find staticThe first annotation with this term (ignoring qualifiers), if any.
toString
hashCode
equals
term
qualifier
value

CsdlAnnotation

constructor
CsdlAnnotation(String term, String qualifier, CsdlValue value)

Validates the components.

find

static
static Optional<CsdlAnnotation> find(List<CsdlAnnotation> annotations, String term)

The first annotation with this term (ignoring qualifiers), if any.

Parameters

annotations
the annotations to search
term
the term as written, e.g. Core.Revisions

Returns

the first matching annotation, or empty if none has the term

toString

String toString()

hashCode

int hashCode()

equals

boolean equals(Object o)

term

String term()

qualifier

String qualifier()

value

CsdlValue value()

Also in the Javadoc.