org.eclipse.ocl.examples.pivot.ecore
Class AbstractEcore2Pivot
java.lang.Object
org.eclipse.ocl.examples.pivot.utilities.AbstractConversion
org.eclipse.ocl.examples.pivot.ecore.AbstractEcore2Pivot
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, MetaModelManagedAdapter, MetaModelManagerListener, PivotConstants, External2Pivot
- Direct Known Subclasses:
- Ecore2Pivot, UML2Pivot
public abstract class AbstractEcore2Pivot
- extends AbstractConversion
- implements External2Pivot, PivotConstants
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Fields inherited from interface org.eclipse.ocl.examples.pivot.PivotConstants |
ACCUMULATOR_SEPARATOR, ANNOTATED_IMPLICIT_OPPOSITE_LOWER_VALUE, ANNOTATED_IMPLICIT_OPPOSITE_ORDERED, ANNOTATED_IMPLICIT_OPPOSITE_UNIQUE, ANNOTATED_IMPLICIT_OPPOSITE_UPPER_VALUE, ANNOTATION_QUOTE, AS_LIBRARY_ANNOTATION_SOURCE, AS_METAMODEL_ANNOTATION_SOURCE, BINDINGS_PREFIX, COLLECTION_NAVIGATION_OPERATOR, DEFAULT_IMPLICIT_OPPOSITE_LOWER_VALUE, DEFAULT_IMPLICIT_OPPOSITE_ORDERED, DEFAULT_IMPLICIT_OPPOSITE_UNIQUE, DEFAULT_IMPLICIT_OPPOSITE_UPPER_VALUE, DOCUMENTATION_ANNOTATION_KEY, DOCUMENTATION_ANNOTATION_SOURCE, DOT_OCL_AS_FILE_EXTENSION, DUPLICATES_ANNOTATION_SOURCE, GEN_MODEL_URI, GREATER_THAN_OPERATOR, GREATER_THAN_OR_EQUAL_OPERATOR, IMPORT_ANNOTATION_SOURCE, ITERATOR_SEPARATOR, LESS_THAN_OPERATOR, LESS_THAN_OR_EQUAL_OPERATOR, LIBRARY_MONIKER_PREFIX, MESSAGE_ANNOTATION_DETAIL_SUFFIX, MESSAGE_PART_NAME, MONIKER_EXP_CHILD_PREFIX, MONIKER_IF_EXP, MONIKER_INVALID_LITERAL_EXP, MONIKER_LET_EXP, MONIKER_NULL_LITERAL_EXP, MONIKER_OPERATOR_SEPARATOR, MONIKER_OVERFLOW_LIMIT, MONIKER_PART_SEPARATOR, MONIKER_ROOT, MONIKER_ROOT_EXP, MONIKER_SCOPE_SEPARATOR, MONIKER_STRING_LITERAL_EXP, MONIKER_TUPLE_LITERAL_EXP, MONIKER_UNLIMITED_NATURAL_LITERAL_EXP, NULL_MARKER, NULL_ROOT, OBJECT_NAVIGATION_OPERATOR, OCL_AS_FILE_EXTENSION, OCL_LANGUAGE, OCL_NAME, OMG_OCL_ANNOTATION_SOURCE, ORPHANAGE_NAME, ORPHANAGE_PREFIX, ORPHANAGE_URI, OVERFLOW_MARKER, PARAMETER_PREFIX, PARAMETER_SEPARATOR, PARAMETER_SUFFIX, PIVOT_ECORE, PLUGIN_ID, PRECEDENCE_PREFIX, PRIMITIVE_TYPES_URI_PREFIX, REDEFINES_ANNOTATION_SOURCE, roleNames, SEVERITY_PART_NAME, STATUS_PART_NAME, SYSML_ANNOTATION_SOURCE, TEMPLATE_BINDING_PREFIX, TEMPLATE_BINDING_SEPARATOR, TEMPLATE_BINDING_SUFFIX, TEMPLATE_PARAMETER_PREFIX, TEMPLATE_SIGNATURE_PREFIX, TEMPLATE_SIGNATURE_SEPARATOR, TEMPLATE_SIGNATURE_SUFFIX, TUPLE_SIGNATURE_PART_SEPARATOR, TUPLE_SIGNATURE_PREFIX, TUPLE_SIGNATURE_SUFFIX, TUPLE_SIGNATURE_TYPE_SEPARATOR, UNKNOWN_TYPE_TEXT, UNRESOLVED_PROXY_MARKER, WILDCARD_INDICATOR, WILDCARD_NAME |
Method Summary |
abstract void |
addGenericType(org.eclipse.emf.ecore.EGenericType eObject)
|
abstract void |
addMapping(org.eclipse.emf.ecore.EObject eObject,
Element pivotElement)
|
abstract void |
error(java.lang.String message)
|
static java.lang.String |
getOriginalName(org.eclipse.emf.ecore.ENamedElement eNamedElement)
|
boolean |
isInvariant(org.eclipse.emf.ecore.EOperation eOperation)
Return true if eOperation can be handled as an OCL invariant. |
abstract void |
queueReference(org.eclipse.emf.ecore.EObject eObject)
|
|
refreshElement(java.lang.Class<T> pivotClass,
org.eclipse.emf.ecore.EClass pivotEClass,
org.eclipse.emf.ecore.EModelElement eModelElement)
|
|
refreshNamedElement(java.lang.Class<T> pivotClass,
org.eclipse.emf.ecore.EClass pivotEClass,
org.eclipse.emf.ecore.ENamedElement eNamedElement)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.notify.Adapter.Internal |
unsetTarget |
Methods inherited from interface org.eclipse.emf.common.notify.Adapter |
getTarget, isAdapterForType, notifyChanged, setTarget |
AbstractEcore2Pivot
protected AbstractEcore2Pivot(@NonNull
MetaModelManager metaModelManager)
addGenericType
public abstract void addGenericType(@NonNull
org.eclipse.emf.ecore.EGenericType eObject)
addMapping
public abstract void addMapping(@NonNull
org.eclipse.emf.ecore.EObject eObject,
@NonNull
Element pivotElement)
error
public abstract void error(@NonNull
java.lang.String message)
getOriginalName
@Nullable
public static java.lang.String getOriginalName(org.eclipse.emf.ecore.ENamedElement eNamedElement)
isInvariant
public boolean isInvariant(@NonNull
org.eclipse.emf.ecore.EOperation eOperation)
- Return true if eOperation can be handled as an OCL invariant. In addition to the EcoreUtil.isInvariant()
checks we also require either no GenModel documentation or a GenModel documentation with no additional
content such as a Java body.
queueReference
public abstract void queueReference(@NonNull
org.eclipse.emf.ecore.EObject eObject)
refreshElement
@NonNull
public <T extends NamedElement> T refreshElement(@NonNull
java.lang.Class<T> pivotClass,
org.eclipse.emf.ecore.EClass pivotEClass,
@NonNull
org.eclipse.emf.ecore.EModelElement eModelElement)
refreshNamedElement
@NonNull
public <T extends NamedElement> T refreshNamedElement(@NonNull
java.lang.Class<T> pivotClass,
org.eclipse.emf.ecore.EClass pivotEClass,
@NonNull
org.eclipse.emf.ecore.ENamedElement eNamedElement)