# Uses of Interface
org.eclipse.emf.cdo.etypes.Annotation

Packages that use Annotation
Package
Description
org.eclipse.emf.cdo.etypes
The generated EMF API of the CDO system data types and native annotations.
org.eclipse.emf.cdo.etypes.impl
The generated EMF implementation of the CDO system data types and native annotations.
org.eclipse.emf.cdo.etypes.provider
The generated EMF edit support of the CDO system data types and native annotations.
org.eclipse.emf.cdo.etypes.provider.annotation
Provides a base class for supporting the specialization of
invalid reference

    AnnotationItemProvider

and
invalid reference

    StringToStringMapEntryItemProvider

.
org.eclipse.emf.cdo.etypes.util
The generated EMF utilities of the CDO system data types and native annotations.
org.eclipse.emf.cdo.lm.client
Client concepts for dealing with CDO Lifecycle Management systems and assemblies.
org.eclipse.emf.cdo.lm.reviews
org.eclipse.emf.cdo.lm.util
The generated EMF utilities of the CDO Lifecycle Management model.
org.eclipse.emf.cdo.util
Client utility classes, some common interfaces and exceptions.

## Uses of Annotation in org.eclipse.emf.cdo.etypes

Methods in org.eclipse.emf.cdo.etypes that return Annotation
Modifier and Type
Method
Description
`Annotation`
EtypesFactory.`createAnnotation()`
Returns a new object of class 'Annotation'.
`Annotation`
EtypesFactory.`createAnnotation(String source)`
`Annotation`
ModelElement.`getAnnotation(String source)`
Methods in org.eclipse.emf.cdo.etypes that return types with arguments of type Annotation
Modifier and Type
Method
Description
`EList<Annotation>`
ModelElement.`getAnnotations()`
Returns the value of the 'Annotations' containment reference list.
Methods in org.eclipse.emf.cdo.etypes with parameters of type Annotation
Modifier and Type
Method
Description
`boolean`
AnnotationValidator.`isValidLocation(Annotation annotation)`
Returns whether this annotation with this annotation validator's `annotation source` is valid at its `current location`.
`boolean`
AnnotationValidator.`validate(Annotation annotation, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether this annotation is valid.

## Uses of Annotation in org.eclipse.emf.cdo.etypes.impl

Classes in org.eclipse.emf.cdo.etypes.impl that implement Annotation
Modifier and Type
Class
Description
`class`
`AnnotationImpl`
An implementation of the model object 'Annotation'.
Methods in org.eclipse.emf.cdo.etypes.impl that return Annotation
Modifier and Type
Method
Description
`Annotation`
EtypesFactoryImpl.`createAnnotation()`
`Annotation`
EtypesFactoryImpl.`createAnnotation(String source)`
`Annotation`
ModelElementImpl.`getAnnotation(String source)`
Methods in org.eclipse.emf.cdo.etypes.impl that return types with arguments of type Annotation
Modifier and Type
Method
Description
`EList<Annotation>`
ModelElementImpl.`getAnnotations()`

## Uses of Annotation in org.eclipse.emf.cdo.etypes.provider

Methods in org.eclipse.emf.cdo.etypes.provider that return Annotation
Modifier and Type
Method
Description
`protected Annotation`
StringToStringMapEntryItemProvider.`getAnnotation(Object object)`
Returns the containing annotation of the given annotation detail.

## Uses of Annotation in org.eclipse.emf.cdo.etypes.provider.annotation

Fields in org.eclipse.emf.cdo.etypes.provider.annotation declared as Annotation
Modifier and Type
Field
Description
`protected final Annotation`
AnnotationItemProviderAdapterFactory.ModeledItemPropertyDescriptorDecorator.`annotation`
The annotation modeled by the modeled object.
Methods in org.eclipse.emf.cdo.etypes.provider.annotation with parameters of type Annotation
Modifier and Type
Method
Description
`IItemPropertyDescriptor`
AnnotationItemProviderAdapterFactory.`createPropertyDescriptorDecorator(IItemPropertyDescriptor propertyDescriptor, EObject eObject, String key, EStructuralFeature eStructuralFeature, Annotation annotation, ResourceLocator resourceLocator, EditingDomain domain)`
Creates a property descriptor decorator for the property descriptor of a `property` of the `modeled object` corresponding to the given key and feature for the given annotation.
`IItemPropertyDescriptor`
AnnotationItemProviderAdapterFactory.`getPropertyDescriptor(EObject eObject, String key, EStructuralFeature eStructuralFeature, Annotation annotation, ResourceLocator resourceLocator)`
Creates a property descriptor for a `property` of the `modeled object` corresponding to the given key and feature for the given annotation.
`List<IItemPropertyDescriptor>`
AnnotationItemProviderAdapterFactory.`getPropertyDescriptors(EObject eObject, Annotation annotation, ResourceLocator resourceLocator)`
Returns a list of property descriptors for the `modeled object` representing the given annotation.
`boolean`
AnnotationItemProviderAdapterFactory.`isShowInstances(Annotation annotation)`
Returns whether
invalid reference

    AnnotationItemProvider.SourcePropertyDescriptor#createPropertyValueWrapper(Object, Object)

should show the `modeled object` in the property tree.
Constructors in org.eclipse.emf.cdo.etypes.provider.annotation with parameters of type Annotation
Modifier
Constructor
Description
``
`ModeledItemPropertyDescriptorDecorator(IItemPropertyDescriptor propertyDescriptor, EObject eObject, String key, EStructuralFeature eStructuralFeature, Annotation annotation, ResourceLocator resourceLocator, EditingDomain domain, BasicAnnotationValidator.Assistant assistant)`

## Uses of Annotation in org.eclipse.emf.cdo.etypes.util

Methods in org.eclipse.emf.cdo.etypes.util that return Annotation
Modifier and Type
Method
Description
`Annotation`
BasicAnnotationValidator.ValidationContext.`getAnnotation()`
Returns the annotation being validated.
Methods in org.eclipse.emf.cdo.etypes.util that return types with arguments of type Annotation
Modifier and Type
Method
Description
`protected Collection<? extends Annotation>`
BasicAnnotationValidator.`getAllValidAnnotations(Annotation annotation, ModelElement modelElement, Collection<? extends Annotation> annotations)`
Returns the filtered collection of nested annotations that are valid for this annotation.
`Collection<? extends Annotation>`
BasicAnnotationValidator.Assistant.`getValidAnnotations(Annotation annotation, Collection<? extends Annotation> annotations)`
Returns the filtered collection of nested annotations that are valid for this annotation.
`protected Collection<? extends Annotation>`
BasicAnnotationValidator.`getValidAnnotations(Annotation annotation, ModelElement modelElement, Collection<? extends Annotation> annotations)`
Returns the filtered collection of nested annotations that are valid for this annotation.
Methods in org.eclipse.emf.cdo.etypes.util with parameters of type Annotation
Modifier and Type
Method
Description
`T`
EtypesSwitch.`caseAnnotation(Annotation object)`
Returns the result of interpreting the object as an instance of 'Annotation'.
`EObject`
BasicAnnotationValidator.Assistant.`createInstance(EClass eClass, Annotation annotation)`
Creates an initialized instance of the modeled representation for the given annotation.
`protected EObject`
BasicAnnotationValidator.`createInstance(EClass eClass, Annotation annotation)`
Creates an instance of the modeled representation for the given annotation.
`protected BasicDiagnostic`
BasicAnnotationValidator.`createValueDiagnostic(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EStructuralFeature feature)`
Creates the placeholder diagnostic used by `validateFeatureDetail`.
`protected Collection<? extends Annotation>`
BasicAnnotationValidator.`getAllValidAnnotations(Annotation annotation, ModelElement modelElement, Collection<? extends Annotation> annotations)`
Returns the filtered collection of nested annotations that are valid for this annotation.
`Map<String,EStructuralFeature>`
BasicAnnotationValidator.Assistant.`getApplicableProperties(EObject eObject, Annotation annotation)`
Returns the `subset of properties` that are applicable for the current state of the modeled annotation instance.
`Collection<? extends Annotation>`
BasicAnnotationValidator.Assistant.`getValidAnnotations(Annotation annotation, Collection<? extends Annotation> annotations)`
Returns the filtered collection of nested annotations that are valid for this annotation.
`protected Collection<? extends Annotation>`
BasicAnnotationValidator.`getValidAnnotations(Annotation annotation, ModelElement modelElement, Collection<? extends Annotation> annotations)`
Returns the filtered collection of nested annotations that are valid for this annotation.
`Collection<? extends EObject>`
BasicAnnotationValidator.Assistant.`getValidContents(Annotation annotation, Collection<? extends EObject> contents)`
Returns the filtered collection of contents that are valid for this annotation.
`protected Collection<? extends EObject>`
BasicAnnotationValidator.`getValidContents(Annotation annotation, ModelElement modelElement, Collection<? extends EObject> contents)`
Returns the filtered collection of contents that are valid for this annotation.
`Collection<?>`
BasicAnnotationValidator.Assistant.`getValidReferences(Annotation annotation, Collection<?> references)`
Returns the filtered collection of references that are valid for this annotation.
`protected Collection<?>`
BasicAnnotationValidator.`getValidReferences(Annotation annotation, ModelElement modelElement, Collection<?> references)`
Returns the filtered collection of references that are valid for this annotation.
`protected EObject`
BasicAnnotationValidator.`initialize(EObject eObject, Annotation annotation)`
Returns an initialized instance of the given object for the given annotation.
`boolean`
BasicAnnotationValidator.Assistant.`isAnnotationsSupported(Annotation annotation)`
Returns whether `nested annotations` are meaningful for this annotation.
`protected boolean`
BasicAnnotationValidator.`isAnnotationsSupported(Annotation annotation, ModelElement modelElement)`
Returns whether `nested annotations` are meaningful for this annotation.
`boolean`
BasicAnnotationValidator.Assistant.`isContentsSupported(Annotation annotation)`
Returns whether `contents` are meaningful for this annotation.
`protected boolean`
BasicAnnotationValidator.`isContentsSupported(Annotation annotation, ModelElement modelElement)`
Returns whether `contents` are meaningful for this annotation.
`protected boolean`
BasicAnnotationValidator.`isDuplicateValid(ModelElement modelElement, Annotation primaryAnnotation, Annotation secondaryAnnotation)`
Returns whether the given two annotations, both with the annotation validator's annotation source, both `contained` by the given model element, are valid.
`boolean`
BasicAnnotationValidator.Assistant.`isReferencesSupported(Annotation annotation)`
Returns whether `references` are meaningful for this annotation.
`protected boolean`
BasicAnnotationValidator.`isReferencesSupported(Annotation annotation, ModelElement modelElement)`
Returns whether `references` are meaningful for this annotation.
`boolean`
BasicAnnotationValidator.Assistant.`isValidLocation(Annotation annotation)`
Returns whether this annotation with this annotation validator's `annotation source` is valid at its `current location`.
`boolean`
BasicAnnotationValidator.`isValidLocation(Annotation annotation)`
Returns whether this annotation with this annotation validator's `annotation source` is valid at its `current location`.
`protected boolean`
BasicAnnotationValidator.`isValidLocation(Annotation annotation, ModelElement modelElement)`
Returns whether this annotation `contained` by this model element is valid at this location.
`protected void`
BasicAnnotationValidator.`reportDuplicate(Annotation primaryAnnotation, Annotation secondaryAnnotation, ModelElement modelElement, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportIgnoredAnnotations(Annotation annotation, ModelElement modelElement, Collection<? extends Annotation> ignoredAnnotations, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportIgnoredContents(Annotation annotation, ModelElement modelElement, Collection<? extends EObject> ignoredContents, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportIgnoredEntry(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportIgnoredReferences(Annotation annotation, ModelElement modelElement, Collection<? extends EObject> ignoredReferences, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportInvalidAnnotation(Annotation annotation, ModelElement modelElement, Annotation nestedAnnotation, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportInvalidContent(Annotation annotation, ModelElement modelElement, EObject content, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportInvalidLocation(Annotation annotation, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportInvalidReference(Annotation annotation, ModelElement modelElement, EObject reference, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportInvalidReferenceLiteral(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EReference reference, String literalValue, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportInvalidValueLiteral(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EAttribute attribute, String literalValue, EDataType dataType, DiagnosticChain diagnostics, RuntimeException exception, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportMissingEntry(Annotation annotation, ModelElement modelElement, String key, EStructuralFeature property, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportMissingRequiredEntryValue(Annotation annotation, ModelElement modelElement, EStructuralFeature feature, List<Object> values, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportTooFewValues(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EStructuralFeature feature, List<Object> values, int size, int lowerBound, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected void`
BasicAnnotationValidator.`reportTooManyValues(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EStructuralFeature feature, List<Object> values, int size, int upperBound, DiagnosticChain diagnostics, Map<Object,Object> context)`
`protected List<String>`
BasicAnnotationValidator.`split(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, String literalValue, EStructuralFeature feature, DiagnosticChain diagnostics, Map<Object,Object> context)`
Splits the literal value into a list of literal values as appropriate for this feature.
`boolean`
BasicAnnotationValidator.`validate(Annotation annotation, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether this annotation is valid.
`boolean`
EtypesValidator.`validateAnnotation(Annotation annotation, DiagnosticChain diagnostics, Map<Object,Object> context)`
`boolean`
EtypesValidator.`validateAnnotation_WellFormed(Annotation annotation, DiagnosticChain diagnostics, Map<Object,Object> context)`
Validates the WellFormed constraint of 'Annotation'.
`boolean`
EtypesValidator.`validateAnnotation_WellFormedSourceURI(Annotation annotation, DiagnosticChain diagnostics, Map<Object,Object> context)`
Validates the WellFormedSourceURI constraint of 'Annotation'.
`protected boolean`
BasicAnnotationValidator.`validateAnnotations(Annotation annotation, ModelElement modelElement, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether this annotation's `nested annotations` are valid.
`protected boolean`
BasicAnnotationValidator.`validateAttributeDetailLiteralValue(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EAttribute attribute, List<Object> dataValues, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether the literal value of this detail entry for the corresponding attribute is valid.
`protected boolean`
BasicAnnotationValidator.`validateAttributeDetailValueLiteral(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EAttribute attribute, String literalValue, List<Object> dataValues, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether the given literal value is valid with respect to this detail entry's corresponding attribute's `data type`.
`protected boolean`
BasicAnnotationValidator.`validateContents(Annotation annotation, ModelElement modelElement, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether this annotation's `contents` are valid.
`protected boolean`
BasicAnnotationValidator.`validateDetail(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether this detail entry is valid.
`protected boolean`
BasicAnnotationValidator.`validateDetails(Annotation annotation, ModelElement modelElement, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether this annotation's `details` are valid.
`protected boolean`
BasicAnnotationValidator.`validateFeatureDetail(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EStructuralFeature feature, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether the value of this detail entry for the corresponding feature is valid.
`protected boolean`
BasicAnnotationValidator.`validateFeatureDetailValue(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EStructuralFeature feature, List<Object> values, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether the modeled values for this detail entry's corresponding feature are valid.
`protected boolean`
BasicAnnotationValidator.`validateReferenceDetailLiteralValue(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EReference reference, List<Object> referenceValues, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether the literal value of this detail entry for the corresponding reference is valid.
`protected boolean`
BasicAnnotationValidator.`validateReferenceDetailValueLiteral(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EReference reference, String literalValue, List<Object> referenceValues, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether the given literal value is valid with respect to this detail entry's corresponding reference's `class`.
`protected boolean`
BasicAnnotationValidator.`validateReferences(Annotation annotation, ModelElement modelElement, DiagnosticChain diagnostics, Map<Object,Object> context)`
Returns whether this annotation's `references` are valid.
Method parameters in org.eclipse.emf.cdo.etypes.util with type arguments of type Annotation
Modifier and Type
Method
Description
`protected Collection<? extends Annotation>`
BasicAnnotationValidator.`getAllValidAnnotations(Annotation annotation, ModelElement modelElement, Collection<? extends Annotation> annotations)`
Returns the filtered collection of nested annotations that are valid for this annotation.
`Collection<? extends Annotation>`
BasicAnnotationValidator.Assistant.`getValidAnnotations(Annotation annotation, Collection<? extends Annotation> annotations)`
Returns the filtered collection of nested annotations that are valid for this annotation.
`protected Collection<? extends Annotation>`
BasicAnnotationValidator.`getValidAnnotations(Annotation annotation, ModelElement modelElement, Collection<? extends Annotation> annotations)`
Returns the filtered collection of nested annotations that are valid for this annotation.
`protected void`
BasicAnnotationValidator.`reportIgnoredAnnotations(Annotation annotation, ModelElement modelElement, Collection<? extends Annotation> ignoredAnnotations, DiagnosticChain diagnostics, Map<Object,Object> context)`
Constructors in org.eclipse.emf.cdo.etypes.util with parameters of type Annotation
Modifier
Constructor
Description
``
`ValidationContext(Annotation annotation, ModelElement modelElement, Map.Entry<String,String> entry, EAttribute eAttribute)`
Creates an instance.

## Uses of Annotation in org.eclipse.emf.cdo.lm.client

Methods in org.eclipse.emf.cdo.lm.client that return Annotation
Modifier and Type
Method
Description
`Annotation`
ISystemDescriptor.`attachFingerPrint(FixedBaseline fixedBaseline)`

## Uses of Annotation in org.eclipse.emf.cdo.lm.reviews

Methods in org.eclipse.emf.cdo.lm.reviews that return Annotation
Modifier and Type
Method
Description
`static Annotation`
ReviewsPackage.`getAnnotation(ModelElement modelElement, boolean createOnDemand)`

## Uses of Annotation in org.eclipse.emf.cdo.lm.util

Methods in org.eclipse.emf.cdo.lm.util that return Annotation
Modifier and Type
Method
Description
`static Annotation`
LMFingerPrintAnnotation.`create()`
`static Annotation`
LMFingerPrintAnnotation.`create(String value, String count, String param)`
`static Annotation`
LMFingerPrintAnnotation.`create(CDOFingerPrinter.FingerPrint fingerPrint)`
Methods in org.eclipse.emf.cdo.lm.util with parameters of type Annotation
Modifier and Type
Method
Description
`static CDOFingerPrinter.FingerPrint`
LMFingerPrintAnnotation.`getFingerPrint(Annotation annotation)`

## Uses of Annotation in org.eclipse.emf.cdo.util

Methods in org.eclipse.emf.cdo.util that return Annotation
Modifier and Type
Method
Description
`static Annotation`
CDOUtil.`setAnnotation(ModelElement modelElement, String sourceURI, String key, String value)`
`static Annotation`
CDOUtil.`setDocumentation(ModelElement modelElement, String value)`