| Package | Description |
|---|---|
| org.eclipse.emf.ecore |
Provides an API for the Ecore dialect of
UML.
|
| org.eclipse.emf.ecore.impl |
Provides an implementation of Ecore.
|
| org.eclipse.emf.ecore.util |
Provides utilities.
|
| org.eclipse.emf.ecore.xml.namespace | |
| org.eclipse.emf.ecore.xml.namespace.impl | |
| org.eclipse.emf.ecore.xml.type | |
| org.eclipse.emf.ecore.xml.type.impl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
EAnnotation
A representation of the model object 'EAnnotation'.
|
interface |
EAttribute
A representation of the model object 'EAttribute'.
|
interface |
EClass
A representation of the model object 'EClass'.
|
interface |
EClassifier
A representation of the model object 'EClassifier'.
|
interface |
EcoreFactory
The Factory for the model.
|
interface |
EcorePackage
The Package for the model.
|
interface |
EDataType
A representation of the model object 'EData Type'.
|
static interface |
EDataType.Internal
Internal API implemented by all data types.
|
interface |
EEnum
A representation of the model object 'EEnum'.
|
interface |
EEnumLiteral
A representation of the model object 'EEnum Literal'.
|
interface |
EFactory
A representation of the model object 'EFactory'.
|
interface |
ENamedElement
A representation of the model object 'ENamed Element'.
|
interface |
EOperation
A representation of the model object 'EOperation'.
|
static interface |
EOperation.Internal
Internal API implemented by all operations.
|
interface |
EPackage
A representation of the model object 'EPackage'.
|
interface |
EParameter
A representation of the model object 'EParameter'.
|
interface |
EReference
A representation of the model object 'EReference'.
|
interface |
EStructuralFeature
A representation of the model object 'EStructural Feature'.
|
static interface |
EStructuralFeature.Internal
Internal API implemented by all features.
|
interface |
ETypedElement
A representation of the model object 'ETyped Element'.
|
interface |
ETypeParameter
A representation of the model object 'EType Parameter'.
|
| Modifier and Type | Method and Description |
|---|---|
EModelElement |
EAnnotation.getEModelElement()
Returns the value of the 'EModel Element' container reference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EAnnotation.setEModelElement(EModelElement value)
Sets the value of the '
EModel Element' container reference. |
| Modifier and Type | Class and Description |
|---|---|
class |
EAnnotationImpl
An implementation of the model object 'EAnnotation'.
|
class |
EAttributeImpl
An implementation of the model object 'EAttribute'.
|
class |
EClassifierImpl
An implementation of the model object 'EMeta Object'.
|
class |
EClassImpl
An implementation of the model object 'EClass'.
|
class |
EcoreFactoryImpl
An implementation of the model Factory.
|
class |
EcorePackageImpl
An implementation of the model Package.
|
class |
EDataTypeImpl
An implementation of the model object 'EData Type'.
|
class |
EEnumImpl
An implementation of the model object 'EEnum'.
|
class |
EEnumLiteralImpl
An implementation of the model object 'EEnum Literal'.
|
class |
EFactoryImpl
An implementation of the model object 'EFactory'.
|
class |
EModelElementImpl
An implementation of the model object 'EModel Element'.
|
class |
ENamedElementImpl
An implementation of the model object 'ENamed Element'.
|
class |
EOperationImpl
An implementation of the model object 'EOperation'.
|
class |
EPackageImpl
An implementation of the model object 'EPackage'.
|
class |
EParameterImpl
An implementation of the model object 'EParameter'.
|
class |
EReferenceImpl
An implementation of the model object 'EReference'.
|
class |
EStructuralFeatureImpl
An implementation of the model object 'EStructural Feature'.
|
class |
ETypedElementImpl
An implementation of the model object 'ETyped Element'.
|
class |
ETypeParameterImpl
An implementation of the model object 'EType Parameter'.
|
| Modifier and Type | Method and Description |
|---|---|
EModelElement |
EAnnotationImpl.getEModelElement() |
| Modifier and Type | Method and Description |
|---|---|
NotificationChain |
EAnnotationImpl.basicSetEModelElement(EModelElement newEModelElement,
NotificationChain msgs) |
void |
EAnnotationImpl.setEModelElement(EModelElement newEModelElement) |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<EModelElement,EAnnotation> |
BasicExtendedMetaData.annotationMap |
protected java.util.Map<EModelElement,java.lang.Object> |
BasicExtendedMetaData.extendedMetaDataHolderCache |
| Modifier and Type | Method and Description |
|---|---|
EModelElement |
BasicEAnnotationValidator.ValidationContext.getEModelElement()
The containing model elements of the annotation being validated.
|
| Modifier and Type | Method and Description |
|---|---|
T |
EcoreSwitch.caseEModelElement(EModelElement object)
Returns the result of interpreting the object as an instance of 'EModel Element'.
|
protected BasicDiagnostic |
BasicEAnnotationValidator.createValueDiagnostic(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EStructuralFeature feature)
Creates the placeholder diagnostic used by
validateFeatureDetail. |
protected java.util.Collection<? extends EAnnotation> |
BasicEAnnotationValidator.getAllValidAnnotations(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Collection<? extends EAnnotation> annotations)
Returns the filtered collection of nested annotations that are valid for this annotation.
|
protected EAnnotation |
BasicExtendedMetaData.getAnnotation(EModelElement eModelElement,
boolean demandCreate) |
static java.lang.String |
EcoreUtil.getAnnotation(EModelElement eModelElement,
java.lang.String sourceURI,
java.lang.String key) |
static java.util.List<java.lang.String> |
EcoreUtil.getConstraints(EModelElement eModelElement) |
static java.lang.String |
EcoreUtil.getDocumentation(EModelElement eModelElement) |
protected java.util.Map<java.lang.String,EStructuralFeature> |
BasicEAnnotationValidator.getProperties(EModelElement eModelElement)
Returns a map from key to
feature. |
java.util.Map<java.lang.String,EStructuralFeature> |
BasicEAnnotationValidator.Assistant.getProperties(EModelElement eModelElement)
Returns a map from key to
feature. |
protected java.util.List<EClass> |
ExtendedMetaDataAnnotationValidator.getPropertyClasses(EModelElement eModelElement) |
protected java.util.List<EClass> |
EcoreAnnotationValidator.getPropertyClasses(EModelElement eModelElement) |
protected java.util.List<EClass> |
DateConversionDelegateFactory.AnnotationValidator.getPropertyClasses(EModelElement eModelElement) |
protected abstract java.util.List<EClass> |
BasicEAnnotationValidator.getPropertyClasses(EModelElement eModelElement)
Returns the model classes used to represent annotations for the given model element.
|
java.util.List<EClass> |
BasicEAnnotationValidator.Assistant.getPropertyClasses(EModelElement eModelElement)
Returns the model classes used to represent annotations for the given model element.
|
protected java.util.Collection<? extends EAnnotation> |
BasicEAnnotationValidator.getValidAnnotations(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Collection<? extends EAnnotation> annotations)
Returns the filtered collection of nested annotations that are valid for this annotation.
|
protected java.util.Collection<? extends EObject> |
BasicEAnnotationValidator.getValidContents(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Collection<? extends EObject> contents)
Returns the filtered collection of contents that are valid for this annotation.
|
protected java.util.Collection<?> |
BasicEAnnotationValidator.getValidReferences(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Collection<?> references)
Returns the filtered collection of references that are valid for this annotation.
|
protected boolean |
BasicEAnnotationValidator.isAnnotationsSupported(EAnnotation eAnnotation,
EModelElement eModelElement)
Returns whether
nested annotations are meaningful for this annotation. |
protected boolean |
BasicEAnnotationValidator.isContentsSupported(EAnnotation eAnnotation,
EModelElement eModelElement)
Returns whether
contents are meaningful for this annotation. |
protected boolean |
BasicEAnnotationValidator.isDuplicateValid(EModelElement eModelElement,
EAnnotation primaryEAnnotation,
EAnnotation secondaryEAnnotation)
Returns whether the given two annotations, both with the annotation validator's annotation source, both
contained by the given model element, are valid. |
protected boolean |
BasicEAnnotationValidator.isIncludedProperty(EModelElement eModelElement,
EClass eClass,
EStructuralFeature eStructuralFeature)
Returns whether the given structural feature of the given class for the given model element is
included as a property. |
protected boolean |
BasicEAnnotationValidator.isReferencesSupported(EAnnotation eAnnotation,
EModelElement eModelElement)
Returns whether
references are meaningful for this annotation. |
protected boolean |
ExtendedMetaDataAnnotationValidator.isValidLocation(EAnnotation eAnnotation,
EModelElement eModelElement) |
protected boolean |
EcoreAnnotationValidator.isValidLocation(EAnnotation eAnnotation,
EModelElement eModelElement) |
protected boolean |
DateConversionDelegateFactory.AnnotationValidator.isValidLocation(EAnnotation eAnnotation,
EModelElement eModelElement) |
protected boolean |
BasicEAnnotationValidator.isValidLocation(EAnnotation eAnnotation,
EModelElement eModelElement)
Returns whether this annotation
contained by this model element is valid at this location. |
protected void |
BasicEAnnotationValidator.reportDuplicate(EAnnotation primaryEAnnotation,
EAnnotation secondaryEAnnotation,
EModelElement eModelElement,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportIgnoredAnnotations(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Collection<? extends EAnnotation> ignoredAnnotations,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportIgnoredContents(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Collection<? extends EObject> ignoredContents,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportIgnoredEntry(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportIgnoredReferences(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Collection<? extends EObject> ignoredReferences,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportInvalidAnnotation(EAnnotation eAnnotation,
EModelElement eModelElement,
EAnnotation nestedEAnnotation,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportInvalidContent(EAnnotation eAnnotation,
EModelElement eModelElement,
EObject content,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportInvalidReference(EAnnotation eAnnotation,
EModelElement eModelElement,
EObject reference,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportInvalidReferenceLiteral(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EReference reference,
java.lang.String literalValue,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportInvalidValueLiteral(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EAttribute attribute,
java.lang.String literalValue,
EDataType dataType,
DiagnosticChain diagnostics,
java.lang.RuntimeException exception,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportMissingEntry(EAnnotation eAnnotation,
EModelElement eModelElement,
java.lang.String key,
EStructuralFeature property,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportMissingRequiredEntryValue(EAnnotation eAnnotation,
EModelElement eModelElement,
EStructuralFeature feature,
java.util.List<java.lang.Object> values,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportTooFewValues(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EStructuralFeature feature,
java.util.List<java.lang.Object> values,
int size,
int lowerBound,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected void |
BasicEAnnotationValidator.reportTooManyValues(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EStructuralFeature feature,
java.util.List<java.lang.Object> values,
int size,
int upperBound,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
static void |
EcoreUtil.setAnnotation(EModelElement eModelElement,
java.lang.String sourceURI,
java.lang.String key,
java.lang.String value) |
static void |
EcoreUtil.setConstraints(EModelElement eModelElement,
java.util.List<java.lang.String> constraints) |
static void |
EcoreUtil.setDocumentation(EModelElement eModelElement,
java.lang.String documentation) |
protected java.util.List<java.lang.String> |
BasicEAnnotationValidator.split(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
java.lang.String literalValue,
EStructuralFeature feature,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Splits the literal value into a list of literal values as appropriate for this feature.
|
protected boolean |
BasicEAnnotationValidator.validateAnnotations(EAnnotation eAnnotation,
EModelElement eModelElement,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether this annotation's
nested annotations are valid. |
protected boolean |
BasicEAnnotationValidator.validateAttributeDetailLiteralValue(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EAttribute attribute,
java.util.List<java.lang.Object> dataValues,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether the literal value of this detail entry for the corresponding attribute is valid.
|
protected boolean |
EcoreAnnotationValidator.validateAttributeDetailValueLiteral(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EAttribute attribute,
java.lang.String literalValue,
java.util.List<java.lang.Object> dataValues,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected boolean |
BasicEAnnotationValidator.validateAttributeDetailValueLiteral(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EAttribute attribute,
java.lang.String literalValue,
java.util.List<java.lang.Object> dataValues,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether the given literal value is valid with respect to this detail entry's corresponding attribute's
data type. |
protected boolean |
BasicEAnnotationValidator.validateContents(EAnnotation eAnnotation,
EModelElement eModelElement,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether this annotation's
contents are valid. |
protected boolean |
BasicEAnnotationValidator.validateDetail(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether this detail entry is valid.
|
protected boolean |
ExtendedMetaDataAnnotationValidator.validateDetails(EAnnotation eAnnotation,
EModelElement eModelElement,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected boolean |
BasicEAnnotationValidator.validateDetails(EAnnotation eAnnotation,
EModelElement eModelElement,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether this annotation's
details are valid. |
boolean |
EcoreValidator.validateEModelElement(EModelElement eModelElement,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected boolean |
ExtendedMetaDataAnnotationValidator.validateFeatureDetail(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EStructuralFeature feature,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected boolean |
BasicEAnnotationValidator.validateFeatureDetail(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EStructuralFeature feature,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether the value of this detail entry for the corresponding feature is valid.
|
protected boolean |
ExtendedMetaDataAnnotationValidator.validateFeatureDetailValue(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EStructuralFeature feature,
java.util.List<java.lang.Object> values,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected boolean |
BasicEAnnotationValidator.validateFeatureDetailValue(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EStructuralFeature feature,
java.util.List<java.lang.Object> values,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether the modeled values for this detail entry's corresponding feature are valid.
|
protected boolean |
BasicEAnnotationValidator.validateReferenceDetailLiteralValue(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EReference reference,
java.util.List<java.lang.Object> referenceValues,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether the literal value of this detail entry for the corresponding reference is valid.
|
protected boolean |
ExtendedMetaDataAnnotationValidator.validateReferenceDetailValueLiteral(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EReference reference,
java.lang.String literalValue,
java.util.List<java.lang.Object> referenceValues,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
protected boolean |
BasicEAnnotationValidator.validateReferenceDetailValueLiteral(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EReference reference,
java.lang.String literalValue,
java.util.List<java.lang.Object> referenceValues,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether the given literal value is valid with respect to this detail entry's corresponding reference's
class. |
protected boolean |
BasicEAnnotationValidator.validateReferences(EAnnotation eAnnotation,
EModelElement eModelElement,
DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns whether this annotation's
references are valid. |
| Constructor and Description |
|---|
ValidationContext(EAnnotation eAnnotation,
EModelElement eModelElement,
java.util.Map.Entry<java.lang.String,java.lang.String> entry,
EAttribute eAttribute)
Creates an instance.
|
| Constructor and Description |
|---|
BasicExtendedMetaData(java.lang.String annotationURI,
EPackage.Registry registry,
java.util.Map<EModelElement,EAnnotation> annotationMap) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
XMLNamespaceFactory
The Factory for the model.
|
interface |
XMLNamespacePackage
The Package for the model.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XMLNamespaceFactoryImpl
An implementation of the model Factory.
|
class |
XMLNamespacePackageImpl
An implementation of the model Package.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
XMLTypeFactory
The Factory for the model.
|
interface |
XMLTypePackage
The Package for the model.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XMLTypeFactoryImpl
An implementation of the model Factory.
|
class |
XMLTypePackageImpl
An implementation of the model Package.
|
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature