public class UML2Moniker extends org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object> implements PivotConstantsInternal
Modifier and Type | Field and Description |
---|---|
protected boolean |
fullSignature
Moiniker detail; false for minimal uniqueness (omit template bounds, template
parameter declarations, parameter names), true to show everything.
|
ACCUMULATOR_SEPARATOR, ANNOTATED_IMPLICIT_OPPOSITE_LOWER_VALUE, ANNOTATED_IMPLICIT_OPPOSITE_ORDERED, ANNOTATED_IMPLICIT_OPPOSITE_UNIQUE, ANNOTATED_IMPLICIT_OPPOSITE_UPPER_VALUE, ANNOTATION_QUOTE, BINDINGS_PREFIX, BODY_EXPRESSION_ROLE, DEFAULT_EXPRESSION_ROLE, DEFAULT_IMPLICIT_OPPOSITE_LOWER_VALUE, DEFAULT_IMPLICIT_OPPOSITE_ORDERED, DEFAULT_IMPLICIT_OPPOSITE_UNIQUE, DEFAULT_IMPLICIT_OPPOSITE_UPPER_VALUE, DOCUMENTATION_ANNOTATION_KEY, DOCUMENTATION_ANNOTATION_SOURCE, DUPLICATES_ANNOTATION_SOURCE, GEN_MODEL_URI, ITERATOR_SEPARATOR, LIBRARY_MONIKER_PREFIX, MESSAGE_ANNOTATION_DETAIL_SUFFIX, 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, OLD_ORPHANAGE_URI, OVERFLOW_MARKER, OWNED_CONSTRAINT_ROLE, PARAMETER_PREFIX, PARAMETER_SEPARATOR, PARAMETER_SUFFIX, PIVOT_ECORE, PLUGIN_ID, POSTCONDITION_ROLE, PRECEDENCE_PREFIX, PRECONDITION_ROLE, REDEFINES_ANNOTATION_SOURCE, roleNames, 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_ROLE, UNKNOWN_TYPE_TEXT, UNRESOLVED_PROXY_MARKER, WILDCARD_INDICATOR, WILDCARD_NAME
Modifier | Constructor and Description |
---|---|
protected |
UML2Moniker(boolean fullSignature) |
Modifier and Type | Method and Description |
---|---|
protected void |
append(java.lang.String string) |
protected void |
appendBounds(java.util.List<? extends org.eclipse.emf.ecore.EGenericType> bounds) |
protected void |
appendElement(org.eclipse.emf.ecore.EModelElement eElement) |
protected void |
appendName(org.eclipse.emf.ecore.ENamedElement eNamedElement) |
protected void |
appendParameters(java.util.List<org.eclipse.emf.ecore.EParameter> parameters) |
protected void |
appendParent(org.eclipse.emf.ecore.EObject eElement,
java.lang.String parentSeparator) |
protected void |
appendType(org.eclipse.emf.ecore.EGenericType eGenericType) |
protected void |
appendTypeArguments(java.util.List<org.eclipse.emf.ecore.EGenericType> eTypeArguments,
java.util.List<org.eclipse.emf.ecore.ETypeParameter> eTypeParameters) |
protected void |
appendTypeParameter(org.eclipse.emf.ecore.ETypeParameter eTypeParameter) |
protected void |
appendTypeParameters(java.util.List<org.eclipse.emf.ecore.ETypeParameter> eTypeParameters) |
protected void |
appendTypes(java.util.List<org.eclipse.emf.ecore.EGenericType> eTypes) |
java.lang.Object |
caseEAnnotation(org.eclipse.emf.ecore.EAnnotation eElement) |
java.lang.Object |
caseEClass(org.eclipse.emf.ecore.EClass eElement) |
java.lang.Object |
caseENamedElement(org.eclipse.emf.ecore.ENamedElement eElement) |
java.lang.Object |
caseEOperation(org.eclipse.emf.ecore.EOperation eElement) |
java.lang.Object |
caseEPackage(org.eclipse.emf.ecore.EPackage eElement) |
java.lang.Object |
caseETypeParameter(org.eclipse.emf.ecore.ETypeParameter eElement) |
protected java.lang.Object |
doInPackageSwitch1(org.eclipse.emf.ecore.EModelElement theEObject) |
protected boolean |
hasEmitted(org.eclipse.emf.ecore.ETypeParameter eTypeParameter) |
static java.lang.String |
toSignature(org.eclipse.emf.ecore.EModelElement eElement) |
java.lang.String |
toString() |
static java.lang.String |
toString(org.eclipse.emf.ecore.EGenericType eElement) |
static java.lang.String |
toString(org.eclipse.emf.ecore.EModelElement eElement) |
caseEAttribute, caseEClassifier, caseEDataType, caseEEnum, caseEEnumLiteral, caseEFactory, caseEGenericType, caseEModelElement, caseEParameter, caseEReference, caseEStringToStringMapEntry, caseEStructuralFeature, caseETypedElement, defaultCase, doSwitch, isSwitchFor
protected boolean fullSignature
Ecore models (unlike Pivot models) are mutable so the moniker is computed on demand and may change if a name on the hierarchical path changes.
public static java.lang.String toSignature(org.eclipse.emf.ecore.EModelElement eElement)
public static java.lang.String toString(org.eclipse.emf.ecore.EModelElement eElement)
public static java.lang.String toString(org.eclipse.emf.ecore.EGenericType eElement)
protected void append(java.lang.String string)
protected void appendBounds(java.util.List<? extends org.eclipse.emf.ecore.EGenericType> bounds)
protected void appendElement(org.eclipse.emf.ecore.EModelElement eElement)
protected java.lang.Object doInPackageSwitch1(org.eclipse.emf.ecore.EModelElement theEObject)
protected void appendName(org.eclipse.emf.ecore.ENamedElement eNamedElement)
protected void appendParameters(java.util.List<org.eclipse.emf.ecore.EParameter> parameters)
protected void appendParent(org.eclipse.emf.ecore.EObject eElement, java.lang.String parentSeparator)
protected void appendType(org.eclipse.emf.ecore.EGenericType eGenericType)
protected void appendTypeArguments(java.util.List<org.eclipse.emf.ecore.EGenericType> eTypeArguments, java.util.List<org.eclipse.emf.ecore.ETypeParameter> eTypeParameters)
protected void appendTypeParameter(org.eclipse.emf.ecore.ETypeParameter eTypeParameter)
protected void appendTypeParameters(java.util.List<org.eclipse.emf.ecore.ETypeParameter> eTypeParameters)
protected void appendTypes(java.util.List<org.eclipse.emf.ecore.EGenericType> eTypes)
public java.lang.Object caseEAnnotation(org.eclipse.emf.ecore.EAnnotation eElement)
caseEAnnotation
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEClass(org.eclipse.emf.ecore.EClass eElement)
caseEClass
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseENamedElement(org.eclipse.emf.ecore.ENamedElement eElement)
caseENamedElement
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEOperation(org.eclipse.emf.ecore.EOperation eElement)
caseEOperation
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEPackage(org.eclipse.emf.ecore.EPackage eElement)
caseEPackage
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseETypeParameter(org.eclipse.emf.ecore.ETypeParameter eElement)
caseETypeParameter
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
protected boolean hasEmitted(org.eclipse.emf.ecore.ETypeParameter eTypeParameter)
public java.lang.String toString()
toString
in class java.lang.Object