Uses of Interface
org.eclipse.emf.cdo.etypes.Annotation
Package
Description
The generated EMF API of the CDO system data types and native annotations.
The generated EMF implementation of the CDO system data types and native annotations.
The generated EMF edit support of the CDO system data types and native annotations.
Provides a base class for supporting the specialization of
AnnotationItemProvider
and StringToStringMapEntryItemProvider
.The generated EMF utilities of the CDO system data types and native annotations.
Client utility classes, some common interfaces and exceptions.
-
Uses of Annotation in org.eclipse.emf.cdo.etypes
Modifier and TypeMethodDescriptionEtypesFactory.createAnnotation()
Returns a new object of class 'Annotation'.EtypesFactory.createAnnotation
(String source) ModelElement.getAnnotation
(String source) Modifier and TypeMethodDescriptionModelElement.getAnnotations()
Returns the value of the 'Annotations' containment reference list.Modifier and TypeMethodDescriptionboolean
AnnotationValidator.isValidLocation
(Annotation annotation) Returns whether this annotation with this annotation validator'sannotation source
is valid at itscurrent 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
Modifier and TypeClassDescriptionclass
An implementation of the model object 'Annotation'.Modifier and TypeMethodDescriptionEtypesFactoryImpl.createAnnotation()
EtypesFactoryImpl.createAnnotation
(String source) ModelElementImpl.getAnnotation
(String source) -
Uses of Annotation in org.eclipse.emf.cdo.etypes.provider
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeFieldDescriptionprotected final Annotation
AnnotationItemProviderAdapterFactory.ModeledItemPropertyDescriptorDecorator.annotation
The annotation modeled by the modeled object.Modifier and TypeMethodDescriptionAnnotationItemProviderAdapterFactory.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 aproperty
of themodeled object
corresponding to the given key and feature for the given annotation.AnnotationItemProviderAdapterFactory.getPropertyDescriptor
(EObject eObject, String key, EStructuralFeature eStructuralFeature, Annotation annotation, ResourceLocator resourceLocator) Creates a property descriptor for aproperty
of themodeled object
corresponding to the given key and feature for the given annotation.AnnotationItemProviderAdapterFactory.getPropertyDescriptors
(EObject eObject, Annotation annotation, ResourceLocator resourceLocator) Returns a list of property descriptors for themodeled object
representing the given annotation.boolean
AnnotationItemProviderAdapterFactory.isShowInstances
(Annotation annotation) Returns whetherAnnotationItemProvider.SourcePropertyDescriptor#createPropertyValueWrapper(Object, Object)
should show themodeled object
in the property tree.ModifierConstructorDescriptionModeledItemPropertyDescriptorDecorator
(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
Modifier and TypeMethodDescriptionBasicAnnotationValidator.ValidationContext.getAnnotation()
Returns the annotation being validated.Modifier and TypeMethodDescriptionprotected 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.Modifier and TypeMethodDescriptionEtypesSwitch.caseAnnotation
(Annotation object) Returns the result of interpreting the object as an instance of 'Annotation'.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 byvalidateFeatureDetail
.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.BasicAnnotationValidator.Assistant.getApplicableProperties
(EObject eObject, Annotation annotation) Returns thesubset 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 whethernested annotations
are meaningful for this annotation.protected boolean
BasicAnnotationValidator.isAnnotationsSupported
(Annotation annotation, ModelElement modelElement) Returns whethernested annotations
are meaningful for this annotation.boolean
BasicAnnotationValidator.Assistant.isContentsSupported
(Annotation annotation) Returns whethercontents
are meaningful for this annotation.protected boolean
BasicAnnotationValidator.isContentsSupported
(Annotation annotation, ModelElement modelElement) Returns whethercontents
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, bothcontained
by the given model element, are valid.boolean
BasicAnnotationValidator.Assistant.isReferencesSupported
(Annotation annotation) Returns whetherreferences
are meaningful for this annotation.protected boolean
BasicAnnotationValidator.isReferencesSupported
(Annotation annotation, ModelElement modelElement) Returns whetherreferences
are meaningful for this annotation.boolean
BasicAnnotationValidator.Assistant.isValidLocation
(Annotation annotation) Returns whether this annotation with this annotation validator'sannotation source
is valid at itscurrent location
.boolean
BasicAnnotationValidator.isValidLocation
(Annotation annotation) Returns whether this annotation with this annotation validator'sannotation source
is valid at itscurrent location
.protected boolean
BasicAnnotationValidator.isValidLocation
(Annotation annotation, ModelElement modelElement) Returns whether this annotationcontained
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) 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'snested 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'sdata type
.protected boolean
BasicAnnotationValidator.validateContents
(Annotation annotation, ModelElement modelElement, DiagnosticChain diagnostics, Map<Object, Object> context) Returns whether this annotation'scontents
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'sdetails
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'sclass
.protected boolean
BasicAnnotationValidator.validateReferences
(Annotation annotation, ModelElement modelElement, DiagnosticChain diagnostics, Map<Object, Object> context) Returns whether this annotation'sreferences
are valid.Modifier and TypeMethodDescriptionprotected 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) ModifierConstructorDescriptionValidationContext
(Annotation annotation, ModelElement modelElement, Map.Entry<String, String> entry, EAttribute eAttribute) Creates an instance. -
Uses of Annotation in org.eclipse.emf.cdo.lm.reviews
Modifier and TypeMethodDescriptionstatic Annotation
ReviewsPackage.getAnnotation
(ModelElement modelElement, boolean createOnDemand) -
Uses of Annotation in org.eclipse.emf.cdo.util
Modifier and TypeMethodDescriptionstatic Annotation
CDOUtil.setAnnotation
(ModelElement modelElement, String sourceURI, String key, String value) static Annotation
CDOUtil.setDocumentation
(ModelElement modelElement, String value)