use of org.talend.mdm.repository.model.mdmserverobject.MdmserverobjectPackage in project tmdm-studio-se by Talend.
the class MdmpropertiesPackageImpl method initializePackageContents.
/**
* 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);
// Obtain other dependent packages
PropertiesPackage thePropertiesPackage = (PropertiesPackage) EPackage.Registry.INSTANCE.getEPackage(PropertiesPackage.eNS_URI);
MdmmetadataPackage theMdmmetadataPackage = (MdmmetadataPackage) EPackage.Registry.INSTANCE.getEPackage(MdmmetadataPackage.eNS_URI);
MdmserverobjectPackage theMdmserverobjectPackage = (MdmserverobjectPackage) EPackage.Registry.INSTANCE.getEPackage(MdmserverobjectPackage.eNS_URI);
EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
// Create type parameters
// Set bounds for type parameters
// Add supertypes to classes
mdmItemEClass.getESuperTypes().add(thePropertiesPackage.getItem());
mdmServerDefItemEClass.getESuperTypes().add(this.getMDMItem());
mdmServerObjectItemEClass.getESuperTypes().add(this.getMDMItem());
wsMenuItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsRoleItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
containerItemEClass.getESuperTypes().add(this.getMDMItem());
containerItemEClass.getESuperTypes().add(thePropertiesPackage.getFolderItem());
wsDataModelItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsDataClusterItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsStoredProcedureItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsViewItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsTransformerV2ItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsRoutingRuleItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsJobModelItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsEventManagerItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsServiceConfigurationItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsResourceItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
wsCustomFormItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
workspaceRootItemEClass.getESuperTypes().add(this.getMDMItem());
workspaceRootItemEClass.getESuperTypes().add(thePropertiesPackage.getFolderItem());
wsMatchRuleItemEClass.getESuperTypes().add(this.getMDMServerObjectItem());
// Initialize classes and features; add operations and parameters
initEClass(mdmItemEClass, MDMItem.class, "MDMItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(mdmServerDefItemEClass, MDMServerDefItem.class, "MDMServerDefItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getMDMServerDefItem_ServerDef(), theMdmmetadataPackage.getMDMServerDef(), null, "serverDef", null, 0, 1, MDMServerDefItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(mdmServerObjectItemEClass, MDMServerObjectItem.class, "MDMServerObjectItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
addEOperation(mdmServerObjectItemEClass, theMdmserverobjectPackage.getMDMServerObject(), "getMDMServerObject", 0, 1, IS_UNIQUE, IS_ORDERED);
EOperation op = addEOperation(mdmServerObjectItemEClass, null, "setMDMServerObject", 0, 1, IS_UNIQUE, IS_ORDERED);
addEParameter(op, theMdmserverobjectPackage.getMDMServerObject(), "serverObj", 0, 1, IS_UNIQUE, IS_ORDERED);
initEClass(wsMenuItemEClass, WSMenuItem.class, "WSMenuItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSMenuItem_WsMenu(), theMdmserverobjectPackage.getWSMenuE(), null, "wsMenu", null, 0, 1, WSMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsRoleItemEClass, WSRoleItem.class, "WSRoleItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSRoleItem_WsRole(), theMdmserverobjectPackage.getWSRoleE(), null, "wsRole", null, 0, 1, WSRoleItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(containerItemEClass, ContainerItem.class, "ContainerItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getContainerItem_Label(), theEcorePackage.getEString(), "label", null, 0, 1, ContainerItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getContainerItem_RepObjType(), this.getERepositoryObjectType(), "repObjType", null, 0, 1, ContainerItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getContainerItem_Data(), theEcorePackage.getEJavaObject(), "data", null, 0, 1, ContainerItem.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsDataModelItemEClass, WSDataModelItem.class, "WSDataModelItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSDataModelItem_WsDataModel(), theMdmserverobjectPackage.getWSDataModelE(), null, "wsDataModel", null, 0, 1, WSDataModelItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsDataClusterItemEClass, WSDataClusterItem.class, "WSDataClusterItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSDataClusterItem_WsDataCluster(), theMdmserverobjectPackage.getWSDataClusterE(), null, "wsDataCluster", null, 0, 1, WSDataClusterItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsStoredProcedureItemEClass, WSStoredProcedureItem.class, "WSStoredProcedureItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSStoredProcedureItem_WsStoredProcedure(), theMdmserverobjectPackage.getWSStoredProcedureE(), null, "wsStoredProcedure", null, 0, 1, WSStoredProcedureItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsViewItemEClass, WSViewItem.class, "WSViewItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSViewItem_WsView(), theMdmserverobjectPackage.getWSViewE(), null, "wsView", null, 0, 1, WSViewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsTransformerV2ItemEClass, WSTransformerV2Item.class, "WSTransformerV2Item", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSTransformerV2Item_WsTransformerV2(), theMdmserverobjectPackage.getWSTransformerV2E(), null, "wsTransformerV2", null, 0, 1, WSTransformerV2Item.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsRoutingRuleItemEClass, WSRoutingRuleItem.class, "WSRoutingRuleItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSRoutingRuleItem_WsRoutingRule(), theMdmserverobjectPackage.getWSRoutingRuleE(), null, "wsRoutingRule", null, 0, 1, WSRoutingRuleItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsJobModelItemEClass, WSJobModelItem.class, "WSJobModelItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSJobModelItem_WsJobModelItem(), theMdmserverobjectPackage.getWSJobModelE(), null, "wsJobModelItem", null, 0, 1, WSJobModelItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsEventManagerItemEClass, WSEventManagerItem.class, "WSEventManagerItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSEventManagerItem_WsEventManager(), theMdmserverobjectPackage.getWSEventManagerE(), null, "wsEventManager", null, 0, 1, WSEventManagerItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsServiceConfigurationItemEClass, WSServiceConfigurationItem.class, "WSServiceConfigurationItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSServiceConfigurationItem_WsServiceConfiguration(), theMdmserverobjectPackage.getWSServiceConfigurationE(), null, "wsServiceConfiguration", null, 0, 1, WSServiceConfigurationItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsResourceItemEClass, WSResourceItem.class, "WSResourceItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSResourceItem_Resource(), theMdmserverobjectPackage.getWSResourceE(), null, "resource", null, 0, 1, WSResourceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsCustomFormItemEClass, WSCustomFormItem.class, "WSCustomFormItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSCustomFormItem_CustomForm(), theMdmserverobjectPackage.getWSCustomFormE(), null, "customForm", null, 0, 1, WSCustomFormItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(workspaceRootItemEClass, WorkspaceRootItem.class, "WorkspaceRootItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getWorkspaceRootItem_Label(), ecorePackage.getEString(), "label", null, 0, 1, WorkspaceRootItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(wsMatchRuleItemEClass, WSMatchRuleItem.class, "WSMatchRuleItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getWSMatchRuleItem_MdmMatchRule(), theMdmserverobjectPackage.getWSMatchRuleE(), null, "mdmMatchRule", null, 0, 1, WSMatchRuleItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Initialize data types
initEDataType(eRepositoryObjectTypeEDataType, ERepositoryObjectType.class, "ERepositoryObjectType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
// Create resource
createResource(eNS_URI);
}
use of org.talend.mdm.repository.model.mdmserverobject.MdmserverobjectPackage in project tmdm-studio-se by Talend.
the class MdmserverobjectPackageImpl method init.
/**
* 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 MdmserverobjectPackage#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 MdmserverobjectPackage init() {
if (isInited) {
return (MdmserverobjectPackage) EPackage.Registry.INSTANCE.getEPackage(MdmserverobjectPackage.eNS_URI);
}
// Obtain or create and register package
MdmserverobjectPackageImpl theMdmserverobjectPackage = (MdmserverobjectPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof MdmserverobjectPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new MdmserverobjectPackageImpl());
isInited = true;
// Initialize simple dependencies
BusinessPackage.eINSTANCE.eClass();
ComponentPackage.eINSTANCE.eClass();
CorePackage.eINSTANCE.eClass();
BehavioralPackage.eINSTANCE.eClass();
RelationshipsPackage.eINSTANCE.eClass();
InstancePackage.eINSTANCE.eClass();
BusinessinformationPackage.eINSTANCE.eClass();
DatatypesPackage.eINSTANCE.eClass();
orgomg.cwm.foundation.expressions.ExpressionsPackage.eINSTANCE.eClass();
KeysindexesPackage.eINSTANCE.eClass();
SoftwaredeploymentPackage.eINSTANCE.eClass();
TypemappingPackage.eINSTANCE.eClass();
RelationalPackage.eINSTANCE.eClass();
RecordPackage.eINSTANCE.eClass();
MultidimensionalPackage.eINSTANCE.eClass();
XmlPackage.eINSTANCE.eClass();
TransformationPackage.eINSTANCE.eClass();
OlapPackage.eINSTANCE.eClass();
DataminingPackage.eINSTANCE.eClass();
InformationvisualizationPackage.eINSTANCE.eClass();
BusinessnomenclaturePackage.eINSTANCE.eClass();
WarehouseprocessPackage.eINSTANCE.eClass();
WarehouseoperationPackage.eINSTANCE.eClass();
ErPackage.eINSTANCE.eClass();
CoboldataPackage.eINSTANCE.eClass();
DmsiiPackage.eINSTANCE.eClass();
ImsdatabasePackage.eINSTANCE.eClass();
EssbasePackage.eINSTANCE.eClass();
ExpressPackage.eINSTANCE.eClass();
InformationsetPackage.eINSTANCE.eClass();
InformationreportingPackage.eINSTANCE.eClass();
CwmmipPackage.eINSTANCE.eClass();
ModelPackage.eINSTANCE.eClass();
AnalysisPackage.eINSTANCE.eClass();
ReportsPackage.eINSTANCE.eClass();
IndicatorsPackage.eINSTANCE.eClass();
ExpressionsPackage.eINSTANCE.eClass();
DomainPackage.eINSTANCE.eClass();
RulesPackage.eINSTANCE.eClass();
PropertiesPackage.eINSTANCE.eClass();
EcorePackage.eINSTANCE.eClass();
JobletPackage.eINSTANCE.eClass();
MdmmetadataPackage.eINSTANCE.eClass();
ConnectionPackage.eINSTANCE.eClass();
NotationPackage.eINSTANCE.eClass();
org.talend.core.model.properties.PropertiesPackage.eINSTANCE.eClass();
TalendFilePackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
MatchRulePackageImpl theMatchRulePackage = (MatchRulePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(MatchRulePackage.eNS_URI) instanceof MatchRulePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(MatchRulePackage.eNS_URI) : MatchRulePackage.eINSTANCE);
// Create package meta-data objects
theMdmserverobjectPackage.createPackageContents();
theMatchRulePackage.createPackageContents();
// Initialize created meta-data
theMdmserverobjectPackage.initializePackageContents();
theMatchRulePackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theMdmserverobjectPackage.freeze();
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(MdmserverobjectPackage.eNS_URI, theMdmserverobjectPackage);
return theMdmserverobjectPackage;
}
Aggregations