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 constructor | Validates the components. |
find static | The first annotation with this term (ignoring qualifiers), if any. |
toString | |
hashCode | |
equals | |
term | |
qualifier | |
value |
CsdlAnnotation
constructorCsdlAnnotation(String term, String qualifier, CsdlValue value)Validates the components.
find
staticstatic 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.