/**
* UbiCompForAll
*/
package org.ubicompforall.descriptor.impl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.ubicompforall.descriptor.BuildingBlockDesc;
import org.ubicompforall.descriptor.Classifier;
import org.ubicompforall.descriptor.ConditionDesc;
import org.ubicompforall.descriptor.ConditionalStepDesc;
import org.ubicompforall.descriptor.DataType;
import org.ubicompforall.descriptor.DescriptorLibrary;
import org.ubicompforall.descriptor.DomainObjectDesc;
import org.ubicompforall.descriptor.NamedElement;
import org.ubicompforall.descriptor.Property;
import org.ubicompforall.descriptor.QueryDesc;
import org.ubicompforall.descriptor.StepDesc;
import org.ubicompforall.descriptor.TriggerDesc;
import org.ubicompforall.descriptor.UbiCompDescriptorFactory;
import org.ubicompforall.descriptor.UbiCompDescriptorPackage;
import org.ubicompforall.descriptor.Value;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
* @generated
*/
public class UbiCompDescriptorPackageImpl extends EPackageImpl implements UbiCompDescriptorPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass descriptorLibraryEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass triggerDescEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass conditionDescEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass conditionalStepDescEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass domainObjectDescEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass queryDescEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass buildingBlockDescEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass propertyEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass valueEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass stepDescEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass classifierEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass namedElementEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass dataTypeEClass = null;
/**
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
* <p>Note: the correct way to create the package is via the static
* factory method {@link #init init()}, which also performs
* initialization of the package, or returns the registered package,
* if one already exists.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.ubicompforall.descriptor.UbiCompDescriptorPackage#eNS_URI
* @see #init()
* @generated
*/
private UbiCompDescriptorPackageImpl() {
super(eNS_URI, UbiCompDescriptorFactory.eINSTANCE);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
* <p>This method is used to initialize {@link UbiCompDescriptorPackage#eINSTANCE} when that field is accessed.
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static UbiCompDescriptorPackage init() {
if (isInited) return (UbiCompDescriptorPackage)EPackage.Registry.INSTANCE.getEPackage(UbiCompDescriptorPackage.eNS_URI);
// Obtain or create and register package
UbiCompDescriptorPackageImpl theUbiCompDescriptorPackage = (UbiCompDescriptorPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UbiCompDescriptorPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UbiCompDescriptorPackageImpl());
isInited = true;
// Create package meta-data objects
theUbiCompDescriptorPackage.createPackageContents();
// Initialize created meta-data
theUbiCompDescriptorPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theUbiCompDescriptorPackage.freeze();
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(UbiCompDescriptorPackage.eNS_URI, theUbiCompDescriptorPackage);
return theUbiCompDescriptorPackage;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getDescriptorLibrary() {
return descriptorLibraryEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getDescriptorLibrary_BuildingBlocks() {
return (EReference)descriptorLibraryEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getTriggerDesc() {
return triggerDescEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getConditionDesc() {
return conditionDescEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getConditionalStepDesc() {
return conditionalStepDescEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getDomainObjectDesc() {
return domainObjectDescEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDomainObjectDesc_ContentURI() {
return (EAttribute)domainObjectDescEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDomainObjectDesc_Projection() {
return (EAttribute)domainObjectDescEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDomainObjectDesc_Selection() {
return (EAttribute)domainObjectDescEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDomainObjectDesc_SelectionArgs() {
return (EAttribute)domainObjectDescEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getDomainObjectDesc_SortOrder() {
return (EAttribute)domainObjectDescEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getQueryDesc() {
return queryDescEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getBuildingBlockDesc() {
return buildingBlockDescEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getBuildingBlockDesc_Properties() {
return (EReference)buildingBlockDescEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getBuildingBlockDesc_IconUrl() {
return (EAttribute)buildingBlockDescEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getProperty() {
return propertyEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getProperty_CanReferToOther() {
return (EAttribute)propertyEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getProperty_CanBeReferedTo() {
return (EAttribute)propertyEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getProperty_IsResultValue() {
return (EAttribute)propertyEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getProperty_AllowedValues() {
return (EReference)propertyEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getProperty_DataType() {
return (EReference)propertyEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getProperty_LowerBound() {
return (EAttribute)propertyEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getProperty_UpperBound() {
return (EAttribute)propertyEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getValue() {
return valueEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getValue_Name() {
return (EAttribute)valueEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getStepDesc() {
return stepDescEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getClassifier() {
return classifierEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getNamedElement() {
return namedElementEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getNamedElement_Name() {
return (EAttribute)namedElementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getNamedElement_UserFriendlyName() {
return (EAttribute)namedElementEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getNamedElement_Description() {
return (EAttribute)namedElementEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getDataType() {
return dataTypeEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public UbiCompDescriptorFactory getUbiCompDescriptorFactory() {
return (UbiCompDescriptorFactory)getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private boolean isCreated = false;
/**
* Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void createPackageContents() {
if (isCreated) return;
isCreated = true;
// Create classes and their features
descriptorLibraryEClass = createEClass(DESCRIPTOR_LIBRARY);
createEReference(descriptorLibraryEClass, DESCRIPTOR_LIBRARY__BUILDING_BLOCKS);
triggerDescEClass = createEClass(TRIGGER_DESC);
conditionDescEClass = createEClass(CONDITION_DESC);
conditionalStepDescEClass = createEClass(CONDITIONAL_STEP_DESC);
domainObjectDescEClass = createEClass(DOMAIN_OBJECT_DESC);
createEAttribute(domainObjectDescEClass, DOMAIN_OBJECT_DESC__CONTENT_URI);
createEAttribute(domainObjectDescEClass, DOMAIN_OBJECT_DESC__PROJECTION);
createEAttribute(domainObjectDescEClass, DOMAIN_OBJECT_DESC__SELECTION);
createEAttribute(domainObjectDescEClass, DOMAIN_OBJECT_DESC__SELECTION_ARGS);
createEAttribute(domainObjectDescEClass, DOMAIN_OBJECT_DESC__SORT_ORDER);
queryDescEClass = createEClass(QUERY_DESC);
buildingBlockDescEClass = createEClass(BUILDING_BLOCK_DESC);
createEReference(buildingBlockDescEClass, BUILDING_BLOCK_DESC__PROPERTIES);
createEAttribute(buildingBlockDescEClass, BUILDING_BLOCK_DESC__ICON_URL);
propertyEClass = createEClass(PROPERTY);
createEAttribute(propertyEClass, PROPERTY__CAN_REFER_TO_OTHER);
createEAttribute(propertyEClass, PROPERTY__CAN_BE_REFERED_TO);
createEAttribute(propertyEClass, PROPERTY__IS_RESULT_VALUE);
createEReference(propertyEClass, PROPERTY__ALLOWED_VALUES);
createEReference(propertyEClass, PROPERTY__DATA_TYPE);
createEAttribute(propertyEClass, PROPERTY__LOWER_BOUND);
createEAttribute(propertyEClass, PROPERTY__UPPER_BOUND);
valueEClass = createEClass(VALUE);
createEAttribute(valueEClass, VALUE__NAME);
stepDescEClass = createEClass(STEP_DESC);
classifierEClass = createEClass(CLASSIFIER);
namedElementEClass = createEClass(NAMED_ELEMENT);
createEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);
createEAttribute(namedElementEClass, NAMED_ELEMENT__USER_FRIENDLY_NAME);
createEAttribute(namedElementEClass, NAMED_ELEMENT__DESCRIPTION);
dataTypeEClass = createEClass(DATA_TYPE);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private boolean isInitialized = false;
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void initializePackageContents() {
if (isInitialized) return;
isInitialized = true;
// Initialize package
setName(eNAME);
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Create type parameters
// Set bounds for type parameters
// Add supertypes to classes
descriptorLibraryEClass.getESuperTypes().add(this.getNamedElement());
triggerDescEClass.getESuperTypes().add(this.getBuildingBlockDesc());
conditionDescEClass.getESuperTypes().add(this.getBuildingBlockDesc());
conditionalStepDescEClass.getESuperTypes().add(this.getStepDesc());
domainObjectDescEClass.getESuperTypes().add(this.getClassifier());
queryDescEClass.getESuperTypes().add(this.getBuildingBlockDesc());
buildingBlockDescEClass.getESuperTypes().add(this.getClassifier());
propertyEClass.getESuperTypes().add(this.getNamedElement());
stepDescEClass.getESuperTypes().add(this.getBuildingBlockDesc());
classifierEClass.getESuperTypes().add(this.getNamedElement());
dataTypeEClass.getESuperTypes().add(this.getClassifier());
// Initialize classes and features; add operations and parameters
initEClass(descriptorLibraryEClass, DescriptorLibrary.class, "DescriptorLibrary", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getDescriptorLibrary_BuildingBlocks(), this.getClassifier(), null, "buildingBlocks", null, 0, -1, DescriptorLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(triggerDescEClass, TriggerDesc.class, "TriggerDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(conditionDescEClass, ConditionDesc.class, "ConditionDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(conditionalStepDescEClass, ConditionalStepDesc.class, "ConditionalStepDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(domainObjectDescEClass, DomainObjectDesc.class, "DomainObjectDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getDomainObjectDesc_ContentURI(), ecorePackage.getEString(), "contentURI", null, 0, 1, DomainObjectDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainObjectDesc_Projection(), ecorePackage.getEString(), "projection", null, 0, 1, DomainObjectDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainObjectDesc_Selection(), ecorePackage.getEString(), "selection", null, 0, 1, DomainObjectDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainObjectDesc_SelectionArgs(), ecorePackage.getEString(), "selectionArgs", null, 0, 1, DomainObjectDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getDomainObjectDesc_SortOrder(), ecorePackage.getEString(), "sortOrder", null, 0, 1, DomainObjectDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(queryDescEClass, QueryDesc.class, "QueryDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(buildingBlockDescEClass, BuildingBlockDesc.class, "BuildingBlockDesc", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getBuildingBlockDesc_Properties(), this.getProperty(), null, "properties", null, 0, -1, BuildingBlockDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getBuildingBlockDesc_IconUrl(), ecorePackage.getEString(), "iconUrl", null, 0, 1, BuildingBlockDesc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(propertyEClass, Property.class, "Property", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getProperty_CanReferToOther(), ecorePackage.getEBoolean(), "canReferToOther", "true", 1, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getProperty_CanBeReferedTo(), ecorePackage.getEBoolean(), "canBeReferedTo", "true", 1, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getProperty_IsResultValue(), ecorePackage.getEBoolean(), "isResultValue", "false", 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getProperty_AllowedValues(), this.getValue(), null, "allowedValues", null, 0, -1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getProperty_DataType(), this.getClassifier(), null, "dataType", null, 1, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getProperty_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getProperty_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 0, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(valueEClass, Value.class, "Value", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getValue_Name(), ecorePackage.getEString(), "name", null, 1, 1, Value.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(stepDescEClass, StepDesc.class, "StepDesc", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(classifierEClass, Classifier.class, "Classifier", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(namedElementEClass, NamedElement.class, "NamedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getNamedElement_UserFriendlyName(), ecorePackage.getEString(), "userFriendlyName", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getNamedElement_Description(), ecorePackage.getEString(), "description", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(dataTypeEClass, DataType.class, "DataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
// Create resource
createResource(eNS_URI);
// Create annotations
// http:///org/eclipse/emf/ecore/util/ExtendedMetaData
createExtendedMetaDataAnnotations();
}
/**
* Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void createExtendedMetaDataAnnotations() {
String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
addAnnotation
(getProperty_CanBeReferedTo(),
source,
new String[] {
"namespace", "",
"wildcards", "",
"name", ""
});
}
} //UbiCompDescriptorPackageImpl