org.eclipse.gmt.umlx.ucore.util
Class UcoreUtils

java.lang.Object
  extended by org.eclipse.gmt.umlx.ucore.util.UcoreUtils

public class UcoreUtils
extends java.lang.Object


Field Summary
static EModel ucoreModel
           
 
Constructor Summary
UcoreUtils()
           
 
Method Summary
static UTypedModel2EPackage getActualTypedModel2Package(UTypedModel source, org.eclipse.emf.ecore.EPackage target)
           
static UClassVariable2UClassVariable getAssociation(UClassVariable source, UClassVariable target)
           
static java.util.List<UVariable> getAttributeVariables(UClassVariable variable)
           
static java.util.List<UClassVariable2UAttributeVariable> getAttributions(UAttributeVariable variable)
           
static java.util.List<UClassVariable2UAttributeVariable> getAttributions(UClassVariable variable)
           
static java.util.List<UTypedModel> getDependsOns(UTypedModel uTypedModel)
           
static org.eclipse.emf.ecore.EStructuralFeature getFeature(java.lang.Class<? extends org.eclipse.emf.ecore.EObject> javaClass, java.lang.String featureName)
           
static java.util.List<UClassVariable2UClassVariable> getIncomingAssociations(UClassVariable variable)
           
static UBinding getNullUBinding()
           
static UClassVariable getNullUClassVariable()
           
static UDomain getNullUDomain()
           
static UEvolution getNullUEvolution()
           
static UPattern getNullUPattern()
           
static UPreservation getNullUPreservation()
           
static URelation getNullURelation()
           
static UTransformation getNullUTransformation()
           
static UTypedModel getNullUTypedModel()
           
static java.util.List<UClassVariable2UClassVariable> getOutgoingAssociations(UClassVariable variable)
           
static UDomain2UTypedModel getPotentialDomain2TypedModel(UDomain source, UTypedModel target)
           
static UTransformation2UTypedModel getPotentialTransformation2TypedModel(UTransformation source, UTypedModel target)
           
static UTypedModel2EPackage getPotentialTypedModel2Package(UTypedModel source, org.eclipse.emf.ecore.EPackage target)
           
static UMapping2UDomain getPotentiaMapping2Domain(UMapping source, UDomain target)
           
static java.util.List<UConstraint> getSubrules(URelation uRelation)
           
static java.util.List<UBinding> getUBindings(UMappingInstance mappingInstance)
           
static java.util.List<UConstraint> getUConstraints(URelation uRelation)
           
static java.util.List<UDomain> getUDomains(UMapping uMapping)
           
static java.util.List<UHelper> getUHelpers(UTransformation uTransformation)
           
static java.util.List<UMapping> getUMappings(UTransformation uTransformation)
           
static java.util.List<UDomain> getUOrphanDomains(UTransformation uTransformation)
           
static java.util.List<UParameter> getUParameters(UHelper helper)
           
static java.util.List<org.eclipse.emf.ecore.EPackage> getUsedPackages(UTypedModel uTypedModel)
           
static java.util.List<UTypedModel> getUTypedModels(UTransformation transformation)
           
static java.util.List<UVariable> getUVariables(URelation uRelation)
           
static UAttributeVariable2UExpressionVariable getValuation(UAttributeVariable source, UExpressionVariable target)
           
static java.util.List<UAttributeVariable2UExpressionVariable> getValuations(UAttributeVariable variable)
           
static java.util.List<UAttributeVariable2UExpressionVariable> getValuations(UExpressionVariable variable)
           
static void initTreeAdapters()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ucoreModel

public static final EModel ucoreModel
Constructor Detail

UcoreUtils

public UcoreUtils()
Method Detail

getActualTypedModel2Package

public static UTypedModel2EPackage getActualTypedModel2Package(UTypedModel source,
                                                               org.eclipse.emf.ecore.EPackage target)

getAssociation

public static UClassVariable2UClassVariable getAssociation(UClassVariable source,
                                                           UClassVariable target)

getAttributeVariables

public static java.util.List<UVariable> getAttributeVariables(UClassVariable variable)

getAttributions

public static java.util.List<UClassVariable2UAttributeVariable> getAttributions(UAttributeVariable variable)

getAttributions

public static java.util.List<UClassVariable2UAttributeVariable> getAttributions(UClassVariable variable)

getDependsOns

public static java.util.List<UTypedModel> getDependsOns(UTypedModel uTypedModel)

getFeature

public static org.eclipse.emf.ecore.EStructuralFeature getFeature(java.lang.Class<? extends org.eclipse.emf.ecore.EObject> javaClass,
                                                                  java.lang.String featureName)

getIncomingAssociations

public static java.util.List<UClassVariable2UClassVariable> getIncomingAssociations(UClassVariable variable)

getNullUBinding

public static UBinding getNullUBinding()

getNullUClassVariable

public static UClassVariable getNullUClassVariable()

getNullUDomain

public static UDomain getNullUDomain()

getNullUEvolution

public static UEvolution getNullUEvolution()

getNullUPattern

public static UPattern getNullUPattern()

getNullUPreservation

public static UPreservation getNullUPreservation()

getNullURelation

public static URelation getNullURelation()

getNullUTransformation

public static UTransformation getNullUTransformation()

getNullUTypedModel

public static UTypedModel getNullUTypedModel()

getOutgoingAssociations

public static java.util.List<UClassVariable2UClassVariable> getOutgoingAssociations(UClassVariable variable)

getPotentialDomain2TypedModel

public static UDomain2UTypedModel getPotentialDomain2TypedModel(UDomain source,
                                                                UTypedModel target)

getPotentiaMapping2Domain

public static UMapping2UDomain getPotentiaMapping2Domain(UMapping source,
                                                         UDomain target)

getPotentialTypedModel2Package

public static UTypedModel2EPackage getPotentialTypedModel2Package(UTypedModel source,
                                                                  org.eclipse.emf.ecore.EPackage target)

getPotentialTransformation2TypedModel

public static UTransformation2UTypedModel getPotentialTransformation2TypedModel(UTransformation source,
                                                                                UTypedModel target)

getUBindings

public static java.util.List<UBinding> getUBindings(UMappingInstance mappingInstance)

getUConstraints

public static java.util.List<UConstraint> getUConstraints(URelation uRelation)

getUDomains

public static java.util.List<UDomain> getUDomains(UMapping uMapping)

getUHelpers

public static java.util.List<UHelper> getUHelpers(UTransformation uTransformation)

getUMappings

public static java.util.List<UMapping> getUMappings(UTransformation uTransformation)

getUOrphanDomains

public static java.util.List<UDomain> getUOrphanDomains(UTransformation uTransformation)

getUParameters

public static java.util.List<UParameter> getUParameters(UHelper helper)

getUTypedModels

public static java.util.List<UTypedModel> getUTypedModels(UTransformation transformation)

getUVariables

public static java.util.List<UVariable> getUVariables(URelation uRelation)

getUsedPackages

public static java.util.List<org.eclipse.emf.ecore.EPackage> getUsedPackages(UTypedModel uTypedModel)

getSubrules

public static java.util.List<UConstraint> getSubrules(URelation uRelation)

getValuation

public static UAttributeVariable2UExpressionVariable getValuation(UAttributeVariable source,
                                                                  UExpressionVariable target)

getValuations

public static java.util.List<UAttributeVariable2UExpressionVariable> getValuations(UExpressionVariable variable)

getValuations

public static java.util.List<UAttributeVariable2UExpressionVariable> getValuations(UAttributeVariable variable)

initTreeAdapters

public static void initTreeAdapters()