org.eclipse.gmt.umlx.ucore.util
Class UcoreUtils
java.lang.Object
org.eclipse.gmt.umlx.ucore.util.UcoreUtils
public class UcoreUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ucoreModel
public static final EModel ucoreModel
UcoreUtils
public UcoreUtils()
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()