|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.uml2.uml.util.UMLSwitch
org.eclipse.uml2.uml.util.UMLUtil.UML2EcoreConverter
| Nested Class Summary | |
|---|---|
protected class |
UMLUtil.UML2EcoreConverter.ETypeMatcher
|
protected class |
UMLUtil.UML2EcoreConverter.NameMatcher
|
protected class |
UMLUtil.UML2EcoreConverter.SignatureMatcher
|
| Fields inherited from class org.eclipse.uml2.uml.util.UMLSwitch |
|---|
modelPackage |
| Constructor Summary | |
|---|---|
UMLUtil.UML2EcoreConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
caseClass(Class class_)
Returns the result of interpretting the object as an instance of 'Class' |
java.lang.Object |
caseComment(Comment comment)
Returns the result of interpretting the object as an instance of 'Comment' |
java.lang.Object |
caseConstraint(Constraint constraint)
Returns the result of interpretting the object as an instance of 'Constraint' |
java.lang.Object |
caseEModelElement(EModelElement eModelElement)
Returns the result of interpretting the object as an instance of 'EModel Element' |
java.lang.Object |
caseEnumeration(Enumeration enumeration)
Returns the result of interpretting the object as an instance of 'Enumeration' |
java.lang.Object |
caseEnumerationLiteral(EnumerationLiteral enumerationLiteral)
Returns the result of interpretting the object as an instance of 'Enumeration Literal' |
java.lang.Object |
caseGeneralization(Generalization generalization)
Returns the result of interpretting the object as an instance of 'Generalization' |
java.lang.Object |
caseInterface(Interface interface_)
Returns the result of interpretting the object as an instance of 'Interface' |
java.lang.Object |
caseInterfaceRealization(InterfaceRealization interfaceRealization)
Returns the result of interpretting the object as an instance of 'Interface Realization' |
java.lang.Object |
caseMultiplicityElement(MultiplicityElement multiplicityElement)
Returns the result of interpretting the object as an instance of 'Multiplicity Element' |
java.lang.Object |
caseOperation(Operation operation)
Returns the result of interpretting the object as an instance of 'Operation' |
java.lang.Object |
casePackage(Package package_)
Returns the result of interpretting the object as an instance of 'Package' |
java.lang.Object |
caseParameter(Parameter parameter)
Returns the result of interpretting the object as an instance of 'Parameter' |
java.lang.Object |
casePrimitiveType(PrimitiveType primitiveType)
Returns the result of interpretting the object as an instance of 'Primitive Type' |
java.lang.Object |
caseProperty(Property property)
Returns the result of interpretting the object as an instance of 'Property' |
java.lang.Object |
caseTypedElement(TypedElement typedElement)
Returns the result of interpretting the object as an instance of 'Typed Element' |
java.util.Collection |
convert(java.util.Collection eObjects,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
java.lang.Object |
defaultCase(EObject eObject)
Returns the result of interpretting the object as an instance of 'EObject' |
java.lang.Object |
doSwitch(EObject eObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
protected void |
ensureConformity(ETypedElement eTypedElement,
ETypedElement otherETypedElement)
|
protected Stereotype |
getAppliedEcoreStereotype(Element element,
java.lang.String name)
|
protected EClassifier |
getEType(Type type)
|
protected EClassifier |
getEType(TypedElement typedElement)
|
protected boolean |
isCompositeSubset(Property property)
|
protected void |
processAnnotationDetails(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processDerivedFeatures(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processDuplicateFeatureInheritance(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processDuplicateFeatures(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processDuplicateOperationInheritance(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processDuplicateOperations(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processEcoreTaggedValue(EModelElement eModelElement,
EStructuralFeature eStructuralFeature,
Element element,
Stereotype stereotype,
java.lang.String propertyName,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processEcoreTaggedValues(EClassifier eClassifier,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processEcoreTaggedValues(EEnum eEnum,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processEcoreTaggedValues(EEnumLiteral eEnumLiteral,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processEcoreTaggedValues(EOperation eOperation,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processEcoreTaggedValues(EPackage ePackage,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processEcoreTaggedValues(EParameter eParameter,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processEcoreTaggedValues(EStructuralFeature eStructuralFeature,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processEcoreTaggedValues(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processOptions(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processRedefiningOperations(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processRedefiningProperties(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processSubsettingProperties(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processSuperClassOrder(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
processUnionProperties(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
|
protected void |
qualifyName(ENamedElement eNamedElement)
|
protected void |
setName(ENamedElement eNamedElement,
NamedElement namedElement)
|
protected void |
setName(ENamedElement eNamedElement,
java.lang.String name,
boolean validate)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String OPTION__ECORE_TAGGED_VALUES
public static final java.lang.String OPTION__REDEFINING_OPERATIONS
public static final java.lang.String OPTION__REDEFINING_PROPERTIES
public static final java.lang.String OPTION__SUBSETTING_PROPERTIES
public static final java.lang.String OPTION__UNION_PROPERTIES
public static final java.lang.String OPTION__DERIVED_FEATURES
public static final java.lang.String OPTION__DUPLICATE_OPERATIONS
public static final java.lang.String OPTION__DUPLICATE_OPERATION_INHERITANCE
public static final java.lang.String OPTION__DUPLICATE_FEATURES
public static final java.lang.String OPTION__DUPLICATE_FEATURE_INHERITANCE
public static final java.lang.String OPTION__SUPER_CLASS_ORDER
public static final java.lang.String OPTION__ANNOTATION_DETAILS
public static final int ECORE_TAGGED_VALUE
public static final int REDEFINING_OPERATION
public static final int REDEFINING_PROPERTY
public static final int SUBSETTING_PROPERTY
public static final int UNION_PROPERTY
public static final int DERIVED_FEATURE
public static final int DUPLICATE_OPERATION
public static final int DUPLICATE_OPERATION_INHERITANCE
public static final int DUPLICATE_FEATURE
public static final int DUPLICATE_FEATURE_INHERITANCE
public static final int SUPER_CLASS_ORDER
public static final int ANNOTATION_DETAILS
protected final java.util.Map elementToEModelElementMap
protected java.util.Collection packages
| Constructor Detail |
public UMLUtil.UML2EcoreConverter()
| Method Detail |
protected void setName(ENamedElement eNamedElement,
java.lang.String name,
boolean validate)
protected void setName(ENamedElement eNamedElement,
NamedElement namedElement)
protected EClassifier getEType(Type type)
protected EClassifier getEType(TypedElement typedElement)
protected Stereotype getAppliedEcoreStereotype(Element element,
java.lang.String name)
public java.lang.Object caseClass(Class class_)
UMLSwitch
caseClass in class UMLSwitchclass_ - the target of the switch.
doSwitch(EObject)public java.lang.Object caseComment(Comment comment)
UMLSwitch
caseComment in class UMLSwitchcomment - the target of the switch.
doSwitch(EObject)public java.lang.Object caseConstraint(Constraint constraint)
UMLSwitch
caseConstraint in class UMLSwitchconstraint - the target of the switch.
doSwitch(EObject)public java.lang.Object caseEModelElement(EModelElement eModelElement)
UMLSwitch
caseEModelElement in class UMLSwitcheModelElement - the target of the switch.
doSwitch(EObject)public java.lang.Object caseEnumeration(Enumeration enumeration)
UMLSwitch
caseEnumeration in class UMLSwitchenumeration - the target of the switch.
doSwitch(EObject)public java.lang.Object caseEnumerationLiteral(EnumerationLiteral enumerationLiteral)
UMLSwitch
caseEnumerationLiteral in class UMLSwitchenumerationLiteral - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGeneralization(Generalization generalization)
UMLSwitch
caseGeneralization in class UMLSwitchgeneralization - the target of the switch.
doSwitch(EObject)public java.lang.Object caseInterfaceRealization(InterfaceRealization interfaceRealization)
UMLSwitch
caseInterfaceRealization in class UMLSwitchinterfaceRealization - the target of the switch.
doSwitch(EObject)public java.lang.Object caseInterface(Interface interface_)
UMLSwitch
caseInterface in class UMLSwitchinterface_ - the target of the switch.
doSwitch(EObject)public java.lang.Object caseMultiplicityElement(MultiplicityElement multiplicityElement)
UMLSwitch
caseMultiplicityElement in class UMLSwitchmultiplicityElement - the target of the switch.
doSwitch(EObject)public java.lang.Object caseOperation(Operation operation)
UMLSwitch
caseOperation in class UMLSwitchoperation - the target of the switch.
doSwitch(EObject)public java.lang.Object casePackage(Package package_)
UMLSwitch
casePackage in class UMLSwitchpackage_ - the target of the switch.
doSwitch(EObject)public java.lang.Object caseParameter(Parameter parameter)
UMLSwitch
caseParameter in class UMLSwitchparameter - the target of the switch.
doSwitch(EObject)public java.lang.Object casePrimitiveType(PrimitiveType primitiveType)
UMLSwitch
casePrimitiveType in class UMLSwitchprimitiveType - the target of the switch.
doSwitch(EObject)public java.lang.Object caseProperty(Property property)
UMLSwitch
caseProperty in class UMLSwitchproperty - the target of the switch.
doSwitch(EObject)public java.lang.Object caseTypedElement(TypedElement typedElement)
UMLSwitch
caseTypedElement in class UMLSwitchtypedElement - the target of the switch.
doSwitch(EObject)public java.lang.Object defaultCase(EObject eObject)
UMLSwitch
defaultCase in class UMLSwitcheObject - the target of the switch.
UMLSwitch.doSwitch(org.eclipse.emf.ecore.EObject)public java.lang.Object doSwitch(EObject eObject)
UMLSwitchcaseXXX for each class of the model until one returns a non null result; it yields that result.
doSwitch in class UMLSwitchcaseXXX call.
protected void processEcoreTaggedValue(EModelElement eModelElement,
EStructuralFeature eStructuralFeature,
Element element,
Stereotype stereotype,
java.lang.String propertyName,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processEcoreTaggedValues(EClassifier eClassifier,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processEcoreTaggedValues(EEnum eEnum,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processEcoreTaggedValues(EEnumLiteral eEnumLiteral,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processEcoreTaggedValues(EOperation eOperation,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processEcoreTaggedValues(EPackage ePackage,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processEcoreTaggedValues(EParameter eParameter,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processEcoreTaggedValues(EStructuralFeature eStructuralFeature,
Element element,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processEcoreTaggedValues(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processRedefiningOperations(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processRedefiningProperties(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected boolean isCompositeSubset(Property property)
protected void processSubsettingProperties(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processUnionProperties(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processDerivedFeatures(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void ensureConformity(ETypedElement eTypedElement,
ETypedElement otherETypedElement)
protected void qualifyName(ENamedElement eNamedElement)
protected void processDuplicateOperations(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processDuplicateOperationInheritance(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processDuplicateFeatures(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processDuplicateFeatureInheritance(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processSuperClassOrder(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processAnnotationDetails(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
protected void processOptions(java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
public java.util.Collection convert(java.util.Collection eObjects,
java.util.Map options,
DiagnosticChain diagnostics,
java.util.Map context)
convert in interface UML2Util.Converter
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||