From 0e073e02693e44b8b7d5c9eac86cc324d38aaee9 Mon Sep 17 00:00:00 2001
From: lj1412
+ * The following features are supported:
+ *
+ *
+ *
+ * @see org.openecomp.dcae.analytics.cdap.common.CommonFactory
+ * @model kind="package"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel modelDirectory='/dcae-analytics-cdap-common-model/src/main/xcore-gen' basePackage='org.openecomp.dcae.analytics.cdap'"
+ * annotation="http://www.eclipse.org/emf/2011/Xcore cdap='http://openecomp.org/cdap' ecomp='http://openecomp.org' policy='http://openecomp.org/policy'"
+ * @generated
+ */
+public interface CommonPackage extends EPackage {
+ /**
+ * The package name.
+ *
+ *
+ * @generated
+ */
+ String eNAME = "common";
+
+ /**
+ * The package namespace URI.
+ *
+ *
+ * @generated
+ */
+ String eNS_URI = "org.openecomp.dcae.analytics.cdap.common";
+
+ /**
+ * The package namespace name.
+ *
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "common";
+
+ /**
+ * The singleton instance of the package.
+ *
+ *
+ * @generated
+ */
+ CommonPackage eINSTANCE = org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.openecomp.dcae.analytics.cdap.common.impl.TcaConfigurationImpl Tca Configuration}' class.
+ *
+ *
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.TcaConfigurationImpl
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl#getTcaConfiguration()
+ * @generated
+ */
+ int TCA_CONFIGURATION = 0;
+
+ /**
+ * The feature id for the 'Domain' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__DOMAIN = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the 'Subscriber Host Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_HOST_NAME = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the 'Subscriber Host Port' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_HOST_PORT = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the 'Subscriber Topic Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_TOPIC_NAME = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the 'Subscriber Protocol' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_PROTOCOL = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the 'Subscriber User Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_USER_NAME = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the 'Subscriber User Password' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_USER_PASSWORD = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the 'Subscriber Content Type' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_CONTENT_TYPE = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the 'Subscriber Consumer Id' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_CONSUMER_ID = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the 'Subscriber Consumer Group' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_CONSUMER_GROUP = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the 'Subscriber Timeout MS' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_TIMEOUT_MS = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 10;
+
+ /**
+ * The feature id for the 'Subscriber Message Limit' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_MESSAGE_LIMIT = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 11;
+
+ /**
+ * The feature id for the 'Subscriber Polling Interval' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__SUBSCRIBER_POLLING_INTERVAL = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 12;
+
+ /**
+ * The feature id for the 'Publisher Host Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_HOST_NAME = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 13;
+
+ /**
+ * The feature id for the 'Publisher Host Port' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_HOST_PORT = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 14;
+
+ /**
+ * The feature id for the 'Publisher Topic Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_TOPIC_NAME = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 15;
+
+ /**
+ * The feature id for the 'Publisher Protocol' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_PROTOCOL = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 16;
+
+ /**
+ * The feature id for the 'Publisher User Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_USER_NAME = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 17;
+
+ /**
+ * The feature id for the 'Publisher User Password' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_USER_PASSWORD = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 18;
+
+ /**
+ * The feature id for the 'Publisher Content Type' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_CONTENT_TYPE = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 19;
+
+ /**
+ * The feature id for the 'Publisher Max Batch Size' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_MAX_BATCH_SIZE = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 20;
+
+ /**
+ * The feature id for the 'Publisher Max Recovery Queue Size' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_MAX_RECOVERY_QUEUE_SIZE = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 21;
+
+ /**
+ * The feature id for the 'Publisher Polling Interval' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__PUBLISHER_POLLING_INTERVAL = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 22;
+
+ /**
+ * The feature id for the 'Metrics Per Functional Role' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION__METRICS_PER_FUNCTIONAL_ROLE = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 23;
+
+ /**
+ * The number of structural features of the 'Tca Configuration' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION_FEATURE_COUNT = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_FEATURE_COUNT + 24;
+
+ /**
+ * The number of operations of the 'Tca Configuration' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_CONFIGURATION_OPERATION_COUNT = CdapPackage.CDAP_SERVICE_INSTANCE_CONFIGURATION_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.openecomp.dcae.analytics.cdap.common.impl.TcaMetricsImpl Tca Metrics}' class.
+ *
+ *
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.TcaMetricsImpl
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl#getTcaMetrics()
+ * @generated
+ */
+ int TCA_METRICS = 1;
+
+ /**
+ * The feature id for the 'Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__NAME = CorePackage.NAMED_ENTITY__NAME;
+
+ /**
+ * The feature id for the 'Last Polled' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__LAST_POLLED = CorePackage.NAMED_ENTITY__LAST_POLLED;
+
+ /**
+ * The feature id for the 'Last Changed' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__LAST_CHANGED = CorePackage.NAMED_ENTITY__LAST_CHANGED;
+
+ /**
+ * The feature id for the 'Created' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__CREATED = CorePackage.NAMED_ENTITY__CREATED;
+
+ /**
+ * The feature id for the 'Policy Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__POLICY_NAME = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the 'Policy Description' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__POLICY_DESCRIPTION = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the 'Policy Config Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__POLICY_CONFIG_NAME = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the 'Policy Template Version' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__POLICY_TEMPLATE_VERSION = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the 'Policy Version' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__POLICY_VERSION = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the 'Policy Priority' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__POLICY_PRIORITY = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the 'Policy Scope' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__POLICY_SCOPE = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the 'Functional Role' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__FUNCTIONAL_ROLE = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the 'Thresholds' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS__THRESHOLDS = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 8;
+
+ /**
+ * The number of structural features of the 'Tca Metrics' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS_FEATURE_COUNT = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 9;
+
+ /**
+ * The number of operations of the 'Tca Metrics' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_METRICS_OPERATION_COUNT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.openecomp.dcae.analytics.cdap.common.impl.TcaThresholdImpl Tca Threshold}' class.
+ *
+ *
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.TcaThresholdImpl
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl#getTcaThreshold()
+ * @generated
+ */
+ int TCA_THRESHOLD = 2;
+
+ /**
+ * The feature id for the 'Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__NAME = CorePackage.NAMED_ENTITY__NAME;
+
+ /**
+ * The feature id for the 'Last Polled' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__LAST_POLLED = CorePackage.NAMED_ENTITY__LAST_POLLED;
+
+ /**
+ * The feature id for the 'Last Changed' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__LAST_CHANGED = CorePackage.NAMED_ENTITY__LAST_CHANGED;
+
+ /**
+ * The feature id for the 'Created' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__CREATED = CorePackage.NAMED_ENTITY__CREATED;
+
+ /**
+ * The feature id for the 'Closed Loop Control Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__CLOSED_LOOP_CONTROL_NAME = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the 'Version' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__VERSION = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the 'Field Path' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__FIELD_PATH = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the 'Threshold Value' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__THRESHOLD_VALUE = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the 'Direction' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__DIRECTION = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the 'Severity' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD__SEVERITY = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the 'Tca Threshold' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD_FEATURE_COUNT = CorePackage.NAMED_ENTITY_FEATURE_COUNT + 6;
+
+ /**
+ * The number of operations of the 'Tca Threshold' class.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ int TCA_THRESHOLD_OPERATION_COUNT = CorePackage.NAMED_ENTITY_OPERATION_COUNT + 0;
+
+
+ /**
+ * Returns the meta object for class '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration Tca Configuration}'.
+ *
+ *
+ * @return the meta object for class 'Tca Configuration'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration
+ * @generated
+ */
+ EClass getTcaConfiguration();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getDomain Domain}'.
+ *
+ *
+ * @return the meta object for the attribute 'Domain'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getDomain()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_Domain();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberHostName Subscriber Host Name}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Host Name'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberHostName()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberHostName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberHostPort Subscriber Host Port}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Host Port'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberHostPort()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberHostPort();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberTopicName Subscriber Topic Name}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Topic Name'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberTopicName()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberTopicName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberProtocol Subscriber Protocol}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Protocol'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberProtocol()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberProtocol();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberUserName Subscriber User Name}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber User Name'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberUserName()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberUserName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberUserPassword Subscriber User Password}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber User Password'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberUserPassword()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberUserPassword();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberContentType Subscriber Content Type}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Content Type'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberContentType()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberContentType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberConsumerId Subscriber Consumer Id}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Consumer Id'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberConsumerId()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberConsumerId();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberConsumerGroup Subscriber Consumer Group}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Consumer Group'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberConsumerGroup()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberConsumerGroup();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberTimeoutMS Subscriber Timeout MS}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Timeout MS'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberTimeoutMS()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberTimeoutMS();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberMessageLimit Subscriber Message Limit}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Message Limit'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberMessageLimit()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberMessageLimit();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberPollingInterval Subscriber Polling Interval}'.
+ *
+ *
+ * @return the meta object for the attribute 'Subscriber Polling Interval'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberPollingInterval()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_SubscriberPollingInterval();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherHostName Publisher Host Name}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher Host Name'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherHostName()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherHostName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherHostPort Publisher Host Port}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher Host Port'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherHostPort()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherHostPort();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherTopicName Publisher Topic Name}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher Topic Name'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherTopicName()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherTopicName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherProtocol Publisher Protocol}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher Protocol'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherProtocol()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherProtocol();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherUserName Publisher User Name}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher User Name'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherUserName()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherUserName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherUserPassword Publisher User Password}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher User Password'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherUserPassword()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherUserPassword();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherContentType Publisher Content Type}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher Content Type'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherContentType()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherContentType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherMaxBatchSize Publisher Max Batch Size}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher Max Batch Size'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherMaxBatchSize()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherMaxBatchSize();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherMaxRecoveryQueueSize Publisher Max Recovery Queue Size}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher Max Recovery Queue Size'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherMaxRecoveryQueueSize()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherMaxRecoveryQueueSize();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherPollingInterval Publisher Polling Interval}'.
+ *
+ *
+ * @return the meta object for the attribute 'Publisher Polling Interval'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherPollingInterval()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EAttribute getTcaConfiguration_PublisherPollingInterval();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getMetricsPerFunctionalRole Metrics Per Functional Role}'.
+ *
+ *
+ * @return the meta object for the containment reference list 'Metrics Per Functional Role'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getMetricsPerFunctionalRole()
+ * @see #getTcaConfiguration()
+ * @generated
+ */
+ EReference getTcaConfiguration_MetricsPerFunctionalRole();
+
+ /**
+ * Returns the meta object for class '{@link org.openecomp.dcae.analytics.cdap.common.TcaMetrics Tca Metrics}'.
+ *
+ *
+ * @return the meta object for class 'Tca Metrics'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaMetrics
+ * @generated
+ */
+ EClass getTcaMetrics();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaMetrics#getFunctionalRole Functional Role}'.
+ *
+ *
+ * @return the meta object for the attribute 'Functional Role'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaMetrics#getFunctionalRole()
+ * @see #getTcaMetrics()
+ * @generated
+ */
+ EAttribute getTcaMetrics_FunctionalRole();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.openecomp.dcae.analytics.cdap.common.TcaMetrics#getThresholds Thresholds}'.
+ *
+ *
+ * @return the meta object for the containment reference list 'Thresholds'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaMetrics#getThresholds()
+ * @see #getTcaMetrics()
+ * @generated
+ */
+ EReference getTcaMetrics_Thresholds();
+
+ /**
+ * Returns the meta object for class '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold Tca Threshold}'.
+ *
+ *
+ * @return the meta object for class 'Tca Threshold'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaThreshold
+ * @generated
+ */
+ EClass getTcaThreshold();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getClosedLoopControlName Closed Loop Control Name}'.
+ *
+ *
+ * @return the meta object for the attribute 'Closed Loop Control Name'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getClosedLoopControlName()
+ * @see #getTcaThreshold()
+ * @generated
+ */
+ EAttribute getTcaThreshold_ClosedLoopControlName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getVersion Version}'.
+ *
+ *
+ * @return the meta object for the attribute 'Version'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getVersion()
+ * @see #getTcaThreshold()
+ * @generated
+ */
+ EAttribute getTcaThreshold_Version();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getFieldPath Field Path}'.
+ *
+ *
+ * @return the meta object for the attribute 'Field Path'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getFieldPath()
+ * @see #getTcaThreshold()
+ * @generated
+ */
+ EAttribute getTcaThreshold_FieldPath();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getThresholdValue Threshold Value}'.
+ *
+ *
+ * @return the meta object for the attribute 'Threshold Value'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getThresholdValue()
+ * @see #getTcaThreshold()
+ * @generated
+ */
+ EAttribute getTcaThreshold_ThresholdValue();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getDirection Direction}'.
+ *
+ *
+ * @return the meta object for the attribute 'Direction'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getDirection()
+ * @see #getTcaThreshold()
+ * @generated
+ */
+ EAttribute getTcaThreshold_Direction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getSeverity Severity}'.
+ *
+ *
+ * @return the meta object for the attribute 'Severity'.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getSeverity()
+ * @see #getTcaThreshold()
+ * @generated
+ */
+ EAttribute getTcaThreshold_Severity();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ *
+ *
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ CommonFactory getCommonFactory();
+
+ /**
+ *
+ * Defines literals for the meta objects that represent
+ *
+ *
+ *
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.openecomp.dcae.analytics.cdap.common.impl.TcaConfigurationImpl Tca Configuration}' class.
+ *
+ *
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.TcaConfigurationImpl
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl#getTcaConfiguration()
+ * @generated
+ */
+ EClass TCA_CONFIGURATION = eINSTANCE.getTcaConfiguration();
+
+ /**
+ * The meta object literal for the 'Domain' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__DOMAIN = eINSTANCE.getTcaConfiguration_Domain();
+
+ /**
+ * The meta object literal for the 'Subscriber Host Name' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_HOST_NAME = eINSTANCE.getTcaConfiguration_SubscriberHostName();
+
+ /**
+ * The meta object literal for the 'Subscriber Host Port' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_HOST_PORT = eINSTANCE.getTcaConfiguration_SubscriberHostPort();
+
+ /**
+ * The meta object literal for the 'Subscriber Topic Name' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_TOPIC_NAME = eINSTANCE.getTcaConfiguration_SubscriberTopicName();
+
+ /**
+ * The meta object literal for the 'Subscriber Protocol' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_PROTOCOL = eINSTANCE.getTcaConfiguration_SubscriberProtocol();
+
+ /**
+ * The meta object literal for the 'Subscriber User Name' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_USER_NAME = eINSTANCE.getTcaConfiguration_SubscriberUserName();
+
+ /**
+ * The meta object literal for the 'Subscriber User Password' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_USER_PASSWORD = eINSTANCE.getTcaConfiguration_SubscriberUserPassword();
+
+ /**
+ * The meta object literal for the 'Subscriber Content Type' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_CONTENT_TYPE = eINSTANCE.getTcaConfiguration_SubscriberContentType();
+
+ /**
+ * The meta object literal for the 'Subscriber Consumer Id' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_CONSUMER_ID = eINSTANCE.getTcaConfiguration_SubscriberConsumerId();
+
+ /**
+ * The meta object literal for the 'Subscriber Consumer Group' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_CONSUMER_GROUP = eINSTANCE.getTcaConfiguration_SubscriberConsumerGroup();
+
+ /**
+ * The meta object literal for the 'Subscriber Timeout MS' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_TIMEOUT_MS = eINSTANCE.getTcaConfiguration_SubscriberTimeoutMS();
+
+ /**
+ * The meta object literal for the 'Subscriber Message Limit' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_MESSAGE_LIMIT = eINSTANCE.getTcaConfiguration_SubscriberMessageLimit();
+
+ /**
+ * The meta object literal for the 'Subscriber Polling Interval' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__SUBSCRIBER_POLLING_INTERVAL = eINSTANCE.getTcaConfiguration_SubscriberPollingInterval();
+
+ /**
+ * The meta object literal for the 'Publisher Host Name' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_HOST_NAME = eINSTANCE.getTcaConfiguration_PublisherHostName();
+
+ /**
+ * The meta object literal for the 'Publisher Host Port' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_HOST_PORT = eINSTANCE.getTcaConfiguration_PublisherHostPort();
+
+ /**
+ * The meta object literal for the 'Publisher Topic Name' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_TOPIC_NAME = eINSTANCE.getTcaConfiguration_PublisherTopicName();
+
+ /**
+ * The meta object literal for the 'Publisher Protocol' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_PROTOCOL = eINSTANCE.getTcaConfiguration_PublisherProtocol();
+
+ /**
+ * The meta object literal for the 'Publisher User Name' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_USER_NAME = eINSTANCE.getTcaConfiguration_PublisherUserName();
+
+ /**
+ * The meta object literal for the 'Publisher User Password' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_USER_PASSWORD = eINSTANCE.getTcaConfiguration_PublisherUserPassword();
+
+ /**
+ * The meta object literal for the 'Publisher Content Type' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_CONTENT_TYPE = eINSTANCE.getTcaConfiguration_PublisherContentType();
+
+ /**
+ * The meta object literal for the 'Publisher Max Batch Size' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_MAX_BATCH_SIZE = eINSTANCE.getTcaConfiguration_PublisherMaxBatchSize();
+
+ /**
+ * The meta object literal for the 'Publisher Max Recovery Queue Size' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_MAX_RECOVERY_QUEUE_SIZE = eINSTANCE.getTcaConfiguration_PublisherMaxRecoveryQueueSize();
+
+ /**
+ * The meta object literal for the 'Publisher Polling Interval' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_CONFIGURATION__PUBLISHER_POLLING_INTERVAL = eINSTANCE.getTcaConfiguration_PublisherPollingInterval();
+
+ /**
+ * The meta object literal for the 'Metrics Per Functional Role' containment reference list feature.
+ *
+ *
+ * @generated
+ */
+ EReference TCA_CONFIGURATION__METRICS_PER_FUNCTIONAL_ROLE = eINSTANCE.getTcaConfiguration_MetricsPerFunctionalRole();
+
+ /**
+ * The meta object literal for the '{@link org.openecomp.dcae.analytics.cdap.common.impl.TcaMetricsImpl Tca Metrics}' class.
+ *
+ *
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.TcaMetricsImpl
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl#getTcaMetrics()
+ * @generated
+ */
+ EClass TCA_METRICS = eINSTANCE.getTcaMetrics();
+
+ /**
+ * The meta object literal for the 'Functional Role' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_METRICS__FUNCTIONAL_ROLE = eINSTANCE.getTcaMetrics_FunctionalRole();
+
+ /**
+ * The meta object literal for the 'Thresholds' containment reference list feature.
+ *
+ *
+ * @generated
+ */
+ EReference TCA_METRICS__THRESHOLDS = eINSTANCE.getTcaMetrics_Thresholds();
+
+ /**
+ * The meta object literal for the '{@link org.openecomp.dcae.analytics.cdap.common.impl.TcaThresholdImpl Tca Threshold}' class.
+ *
+ *
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.TcaThresholdImpl
+ * @see org.openecomp.dcae.analytics.cdap.common.impl.CommonPackageImpl#getTcaThreshold()
+ * @generated
+ */
+ EClass TCA_THRESHOLD = eINSTANCE.getTcaThreshold();
+
+ /**
+ * The meta object literal for the 'Closed Loop Control Name' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_THRESHOLD__CLOSED_LOOP_CONTROL_NAME = eINSTANCE.getTcaThreshold_ClosedLoopControlName();
+
+ /**
+ * The meta object literal for the 'Version' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_THRESHOLD__VERSION = eINSTANCE.getTcaThreshold_Version();
+
+ /**
+ * The meta object literal for the 'Field Path' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_THRESHOLD__FIELD_PATH = eINSTANCE.getTcaThreshold_FieldPath();
+
+ /**
+ * The meta object literal for the 'Threshold Value' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_THRESHOLD__THRESHOLD_VALUE = eINSTANCE.getTcaThreshold_ThresholdValue();
+
+ /**
+ * The meta object literal for the 'Direction' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_THRESHOLD__DIRECTION = eINSTANCE.getTcaThreshold_Direction();
+
+ /**
+ * The meta object literal for the 'Severity' attribute feature.
+ *
+ *
+ * @generated
+ */
+ EAttribute TCA_THRESHOLD__SEVERITY = eINSTANCE.getTcaThreshold_Severity();
+
+ }
+
+} //CommonPackage
diff --git a/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/TcaConfiguration.java b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/TcaConfiguration.java
new file mode 100644
index 0000000..b86fe62
--- /dev/null
+++ b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/TcaConfiguration.java
@@ -0,0 +1,730 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.analytics.cdap.common;
+
+import org.openecomp.dcae.controller.service.cdap.CdapServiceInstanceConfiguration;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ *
+ * A representation of the model object 'Tca Configuration'.
+ *
+ *
+ *
+ *
+ *
+ * If the meaning of the 'Domain' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Domain' attribute. + * @see #setDomain(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_Domain() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:domain'" + * @generated + */ + String getDomain(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getDomain Domain}' attribute. + * + * + * @param value the new value of the 'Domain' attribute. + * @see #getDomain() + * @generated + */ + void setDomain(String value); + + /** + * Returns the value of the 'Subscriber Host Name' attribute. + * + *+ * If the meaning of the 'Subscriber Host Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Host Name' attribute. + * @see #setSubscriberHostName(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberHostName() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberHostName'" + * @generated + */ + String getSubscriberHostName(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberHostName Subscriber Host Name}' attribute. + * + * + * @param value the new value of the 'Subscriber Host Name' attribute. + * @see #getSubscriberHostName() + * @generated + */ + void setSubscriberHostName(String value); + + /** + * Returns the value of the 'Subscriber Host Port' attribute. + * + *+ * If the meaning of the 'Subscriber Host Port' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Host Port' attribute. + * @see #setSubscriberHostPort(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberHostPort() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberHostPort'" + * @generated + */ + String getSubscriberHostPort(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberHostPort Subscriber Host Port}' attribute. + * + * + * @param value the new value of the 'Subscriber Host Port' attribute. + * @see #getSubscriberHostPort() + * @generated + */ + void setSubscriberHostPort(String value); + + /** + * Returns the value of the 'Subscriber Topic Name' attribute. + * + *+ * If the meaning of the 'Subscriber Topic Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Topic Name' attribute. + * @see #setSubscriberTopicName(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberTopicName() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberTopicName'" + * @generated + */ + String getSubscriberTopicName(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberTopicName Subscriber Topic Name}' attribute. + * + * + * @param value the new value of the 'Subscriber Topic Name' attribute. + * @see #getSubscriberTopicName() + * @generated + */ + void setSubscriberTopicName(String value); + + /** + * Returns the value of the 'Subscriber Protocol' attribute. + * + *+ * If the meaning of the 'Subscriber Protocol' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Protocol' attribute. + * @see #setSubscriberProtocol(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberProtocol() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberProtocol'" + * @generated + */ + String getSubscriberProtocol(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberProtocol Subscriber Protocol}' attribute. + * + * + * @param value the new value of the 'Subscriber Protocol' attribute. + * @see #getSubscriberProtocol() + * @generated + */ + void setSubscriberProtocol(String value); + + /** + * Returns the value of the 'Subscriber User Name' attribute. + * + *+ * If the meaning of the 'Subscriber User Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber User Name' attribute. + * @see #setSubscriberUserName(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberUserName() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberUserName'" + * @generated + */ + String getSubscriberUserName(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberUserName Subscriber User Name}' attribute. + * + * + * @param value the new value of the 'Subscriber User Name' attribute. + * @see #getSubscriberUserName() + * @generated + */ + void setSubscriberUserName(String value); + + /** + * Returns the value of the 'Subscriber User Password' attribute. + * + *+ * If the meaning of the 'Subscriber User Password' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber User Password' attribute. + * @see #setSubscriberUserPassword(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberUserPassword() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberUserPassword'" + * @generated + */ + String getSubscriberUserPassword(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberUserPassword Subscriber User Password}' attribute. + * + * + * @param value the new value of the 'Subscriber User Password' attribute. + * @see #getSubscriberUserPassword() + * @generated + */ + void setSubscriberUserPassword(String value); + + /** + * Returns the value of the 'Subscriber Content Type' attribute. + * + *+ * If the meaning of the 'Subscriber Content Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Content Type' attribute. + * @see #setSubscriberContentType(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberContentType() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberContentType'" + * @generated + */ + String getSubscriberContentType(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberContentType Subscriber Content Type}' attribute. + * + * + * @param value the new value of the 'Subscriber Content Type' attribute. + * @see #getSubscriberContentType() + * @generated + */ + void setSubscriberContentType(String value); + + /** + * Returns the value of the 'Subscriber Consumer Id' attribute. + * + *+ * If the meaning of the 'Subscriber Consumer Id' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Consumer Id' attribute. + * @see #setSubscriberConsumerId(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberConsumerId() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberConsumerId'" + * @generated + */ + String getSubscriberConsumerId(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberConsumerId Subscriber Consumer Id}' attribute. + * + * + * @param value the new value of the 'Subscriber Consumer Id' attribute. + * @see #getSubscriberConsumerId() + * @generated + */ + void setSubscriberConsumerId(String value); + + /** + * Returns the value of the 'Subscriber Consumer Group' attribute. + * + *+ * If the meaning of the 'Subscriber Consumer Group' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Consumer Group' attribute. + * @see #setSubscriberConsumerGroup(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberConsumerGroup() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberConsumerGroup'" + * @generated + */ + String getSubscriberConsumerGroup(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberConsumerGroup Subscriber Consumer Group}' attribute. + * + * + * @param value the new value of the 'Subscriber Consumer Group' attribute. + * @see #getSubscriberConsumerGroup() + * @generated + */ + void setSubscriberConsumerGroup(String value); + + /** + * Returns the value of the 'Subscriber Timeout MS' attribute. + * + *+ * If the meaning of the 'Subscriber Timeout MS' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Timeout MS' attribute. + * @see #setSubscriberTimeoutMS(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberTimeoutMS() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberTimeoutMS'" + * @generated + */ + String getSubscriberTimeoutMS(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberTimeoutMS Subscriber Timeout MS}' attribute. + * + * + * @param value the new value of the 'Subscriber Timeout MS' attribute. + * @see #getSubscriberTimeoutMS() + * @generated + */ + void setSubscriberTimeoutMS(String value); + + /** + * Returns the value of the 'Subscriber Message Limit' attribute. + * + *+ * If the meaning of the 'Subscriber Message Limit' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Message Limit' attribute. + * @see #setSubscriberMessageLimit(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberMessageLimit() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberMessageLimit'" + * @generated + */ + String getSubscriberMessageLimit(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberMessageLimit Subscriber Message Limit}' attribute. + * + * + * @param value the new value of the 'Subscriber Message Limit' attribute. + * @see #getSubscriberMessageLimit() + * @generated + */ + void setSubscriberMessageLimit(String value); + + /** + * Returns the value of the 'Subscriber Polling Interval' attribute. + * + *+ * If the meaning of the 'Subscriber Polling Interval' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Subscriber Polling Interval' attribute. + * @see #setSubscriberPollingInterval(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_SubscriberPollingInterval() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:subscriberPollingInterval'" + * @generated + */ + String getSubscriberPollingInterval(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getSubscriberPollingInterval Subscriber Polling Interval}' attribute. + * + * + * @param value the new value of the 'Subscriber Polling Interval' attribute. + * @see #getSubscriberPollingInterval() + * @generated + */ + void setSubscriberPollingInterval(String value); + + /** + * Returns the value of the 'Publisher Host Name' attribute. + * + *+ * If the meaning of the 'Publisher Host Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher Host Name' attribute. + * @see #setPublisherHostName(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherHostName() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherHostName'" + * @generated + */ + String getPublisherHostName(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherHostName Publisher Host Name}' attribute. + * + * + * @param value the new value of the 'Publisher Host Name' attribute. + * @see #getPublisherHostName() + * @generated + */ + void setPublisherHostName(String value); + + /** + * Returns the value of the 'Publisher Host Port' attribute. + * + *+ * If the meaning of the 'Publisher Host Port' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher Host Port' attribute. + * @see #setPublisherHostPort(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherHostPort() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherHostPort'" + * @generated + */ + String getPublisherHostPort(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherHostPort Publisher Host Port}' attribute. + * + * + * @param value the new value of the 'Publisher Host Port' attribute. + * @see #getPublisherHostPort() + * @generated + */ + void setPublisherHostPort(String value); + + /** + * Returns the value of the 'Publisher Topic Name' attribute. + * + *+ * If the meaning of the 'Publisher Topic Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher Topic Name' attribute. + * @see #setPublisherTopicName(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherTopicName() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherTopicName'" + * @generated + */ + String getPublisherTopicName(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherTopicName Publisher Topic Name}' attribute. + * + * + * @param value the new value of the 'Publisher Topic Name' attribute. + * @see #getPublisherTopicName() + * @generated + */ + void setPublisherTopicName(String value); + + /** + * Returns the value of the 'Publisher Protocol' attribute. + * + *+ * If the meaning of the 'Publisher Protocol' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher Protocol' attribute. + * @see #setPublisherProtocol(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherProtocol() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherProtocol'" + * @generated + */ + String getPublisherProtocol(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherProtocol Publisher Protocol}' attribute. + * + * + * @param value the new value of the 'Publisher Protocol' attribute. + * @see #getPublisherProtocol() + * @generated + */ + void setPublisherProtocol(String value); + + /** + * Returns the value of the 'Publisher User Name' attribute. + * + *+ * If the meaning of the 'Publisher User Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher User Name' attribute. + * @see #setPublisherUserName(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherUserName() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherUserName'" + * @generated + */ + String getPublisherUserName(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherUserName Publisher User Name}' attribute. + * + * + * @param value the new value of the 'Publisher User Name' attribute. + * @see #getPublisherUserName() + * @generated + */ + void setPublisherUserName(String value); + + /** + * Returns the value of the 'Publisher User Password' attribute. + * + *+ * If the meaning of the 'Publisher User Password' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher User Password' attribute. + * @see #setPublisherUserPassword(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherUserPassword() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherUserPassword'" + * @generated + */ + String getPublisherUserPassword(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherUserPassword Publisher User Password}' attribute. + * + * + * @param value the new value of the 'Publisher User Password' attribute. + * @see #getPublisherUserPassword() + * @generated + */ + void setPublisherUserPassword(String value); + + /** + * Returns the value of the 'Publisher Content Type' attribute. + * + *+ * If the meaning of the 'Publisher Content Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher Content Type' attribute. + * @see #setPublisherContentType(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherContentType() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherContentType'" + * @generated + */ + String getPublisherContentType(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherContentType Publisher Content Type}' attribute. + * + * + * @param value the new value of the 'Publisher Content Type' attribute. + * @see #getPublisherContentType() + * @generated + */ + void setPublisherContentType(String value); + + /** + * Returns the value of the 'Publisher Max Batch Size' attribute. + * + *+ * If the meaning of the 'Publisher Max Batch Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher Max Batch Size' attribute. + * @see #setPublisherMaxBatchSize(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherMaxBatchSize() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherMaxBatchSize'" + * @generated + */ + String getPublisherMaxBatchSize(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherMaxBatchSize Publisher Max Batch Size}' attribute. + * + * + * @param value the new value of the 'Publisher Max Batch Size' attribute. + * @see #getPublisherMaxBatchSize() + * @generated + */ + void setPublisherMaxBatchSize(String value); + + /** + * Returns the value of the 'Publisher Max Recovery Queue Size' attribute. + * + *+ * If the meaning of the 'Publisher Max Recovery Queue Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher Max Recovery Queue Size' attribute. + * @see #setPublisherMaxRecoveryQueueSize(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherMaxRecoveryQueueSize() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherMaxRecoveryQueueSize'" + * @generated + */ + String getPublisherMaxRecoveryQueueSize(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherMaxRecoveryQueueSize Publisher Max Recovery Queue Size}' attribute. + * + * + * @param value the new value of the 'Publisher Max Recovery Queue Size' attribute. + * @see #getPublisherMaxRecoveryQueueSize() + * @generated + */ + void setPublisherMaxRecoveryQueueSize(String value); + + /** + * Returns the value of the 'Publisher Polling Interval' attribute. + * + *+ * If the meaning of the 'Publisher Polling Interval' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Publisher Polling Interval' attribute. + * @see #setPublisherPollingInterval(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_PublisherPollingInterval() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:publisherPollingInterval'" + * @generated + */ + String getPublisherPollingInterval(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration#getPublisherPollingInterval Publisher Polling Interval}' attribute. + * + * + * @param value the new value of the 'Publisher Polling Interval' attribute. + * @see #getPublisherPollingInterval() + * @generated + */ + void setPublisherPollingInterval(String value); + + /** + * Returns the value of the 'Metrics Per Functional Role' containment reference list. + * The list contents are of type {@link org.openecomp.dcae.analytics.cdap.common.TcaMetrics}. + * + *+ * If the meaning of the 'Metrics Per Functional Role' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Metrics Per Functional Role' containment reference list. + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaConfiguration_MetricsPerFunctionalRole() + * @model containment="true" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Functional Role' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Functional Role' attribute. + * @see #setFunctionalRole(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaMetrics_FunctionalRole() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:${path}.policy.functionalRole'" + * @generated + */ + String getFunctionalRole(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaMetrics#getFunctionalRole Functional Role}' attribute. + * + * + * @param value the new value of the 'Functional Role' attribute. + * @see #getFunctionalRole() + * @generated + */ + void setFunctionalRole(String value); + + /** + * Returns the value of the 'Thresholds' containment reference list. + * The list contents are of type {@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold}. + * + *+ * If the meaning of the 'Thresholds' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Thresholds' containment reference list. + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaMetrics_Thresholds() + * @model containment="true" + * annotation="http://openecomp.org type='configuration'" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Closed Loop Control Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Closed Loop Control Name' attribute. + * @see #setClosedLoopControlName(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaThreshold_ClosedLoopControlName() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:${path}.policy.closedLoopControlName'" + * @generated + */ + String getClosedLoopControlName(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getClosedLoopControlName Closed Loop Control Name}' attribute. + * + * + * @param value the new value of the 'Closed Loop Control Name' attribute. + * @see #getClosedLoopControlName() + * @generated + */ + void setClosedLoopControlName(String value); + + /** + * Returns the value of the 'Version' attribute. + * + *+ * If the meaning of the 'Version' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Version' attribute. + * @see #setVersion(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaThreshold_Version() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:${path}.policy.version'" + * @generated + */ + String getVersion(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getVersion Version}' attribute. + * + * + * @param value the new value of the 'Version' attribute. + * @see #getVersion() + * @generated + */ + void setVersion(String value); + + /** + * Returns the value of the 'Field Path' attribute. + * + *+ * If the meaning of the 'Field Path' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Field Path' attribute. + * @see #setFieldPath(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaThreshold_FieldPath() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:${path}.policy.fieldPath'" + * @generated + */ + String getFieldPath(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getFieldPath Field Path}' attribute. + * + * + * @param value the new value of the 'Field Path' attribute. + * @see #getFieldPath() + * @generated + */ + void setFieldPath(String value); + + /** + * Returns the value of the 'Threshold Value' attribute. + * + *+ * If the meaning of the 'Threshold Value' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Threshold Value' attribute. + * @see #setThresholdValue(Integer) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaThreshold_ThresholdValue() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:${path}.policy.thresholdValue'" + * @generated + */ + Integer getThresholdValue(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getThresholdValue Threshold Value}' attribute. + * + * + * @param value the new value of the 'Threshold Value' attribute. + * @see #getThresholdValue() + * @generated + */ + void setThresholdValue(Integer value); + + /** + * Returns the value of the 'Direction' attribute. + * + *+ * If the meaning of the 'Direction' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Direction' attribute. + * @see #setDirection(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaThreshold_Direction() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:${path}.policy.direction'" + * @generated + */ + String getDirection(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getDirection Direction}' attribute. + * + * + * @param value the new value of the 'Direction' attribute. + * @see #getDirection() + * @generated + */ + void setDirection(String value); + + /** + * Returns the value of the 'Severity' attribute. + * + *+ * If the meaning of the 'Severity' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Severity' attribute. + * @see #setSeverity(String) + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#getTcaThreshold_Severity() + * @model unique="false" + * annotation="http://openecomp.org type='configuration'" + * annotation="http://openecomp.org/cdap destination='namespace-prefs:cdap-tca:${path}.policy.severity'" + * @generated + */ + String getSeverity(); + + /** + * Sets the value of the '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold#getSeverity Severity}' attribute. + * + * + * @param value the new value of the 'Severity' attribute. + * @see #getSeverity() + * @generated + */ + void setSeverity(String value); + +} // TcaThreshold diff --git a/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/impl/CommonFactoryImpl.java b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/impl/CommonFactoryImpl.java new file mode 100644 index 0000000..2f2a9db --- /dev/null +++ b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/impl/CommonFactoryImpl.java @@ -0,0 +1,138 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.analytics.cdap.common.impl; + +import org.openecomp.dcae.analytics.cdap.common.*; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class CommonFactoryImpl extends EFactoryImpl implements CommonFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static CommonFactory init() { + try { + CommonFactory theCommonFactory = (CommonFactory)EPackage.Registry.INSTANCE.getEFactory(CommonPackage.eNS_URI); + if (theCommonFactory != null) { + return theCommonFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new CommonFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public CommonFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case CommonPackage.TCA_CONFIGURATION: return createTcaConfiguration(); + case CommonPackage.TCA_METRICS: return createTcaMetrics(); + case CommonPackage.TCA_THRESHOLD: return createTcaThreshold(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public TcaConfiguration createTcaConfiguration() { + TcaConfigurationImpl tcaConfiguration = new TcaConfigurationImpl(); + return tcaConfiguration; + } + + /** + * + * + * @generated + */ + public TcaMetrics createTcaMetrics() { + TcaMetricsImpl tcaMetrics = new TcaMetricsImpl(); + return tcaMetrics; + } + + /** + * + * + * @generated + */ + public TcaThreshold createTcaThreshold() { + TcaThresholdImpl tcaThreshold = new TcaThresholdImpl(); + return tcaThreshold; + } + + /** + * + * + * @generated + */ + public CommonPackage getCommonPackage() { + return (CommonPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static CommonPackage getPackage() { + return CommonPackage.eINSTANCE; + } + +} //CommonFactoryImpl diff --git a/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/impl/CommonPackageImpl.java b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/impl/CommonPackageImpl.java new file mode 100644 index 0000000..3f1e9fd --- /dev/null +++ b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/impl/CommonPackageImpl.java @@ -0,0 +1,1040 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.analytics.cdap.common.impl; + +import org.openecomp.dcae.analytics.cdap.common.CommonFactory; +import org.openecomp.dcae.analytics.cdap.common.CommonPackage; +import org.openecomp.dcae.analytics.cdap.common.TcaConfiguration; +import org.openecomp.dcae.analytics.cdap.common.TcaMetrics; +import org.openecomp.dcae.analytics.cdap.common.TcaThreshold; +import org.openecomp.dcae.controller.core.service.ServicePackage; +import org.openecomp.dcae.controller.service.cdap.CdapPackage; +import org.openecomp.ncomp.core.CorePackage; +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.EcorePackage; +import org.eclipse.emf.ecore.impl.EPackageImpl; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class CommonPackageImpl extends EPackageImpl implements CommonPackage { + /** + * + * + * @generated + */ + private EClass tcaConfigurationEClass = null; + + /** + * + * + * @generated + */ + private EClass tcaMetricsEClass = null; + + /** + * + * + * @generated + */ + private EClass tcaThresholdEClass = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *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. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage#eNS_URI + * @see #init() + * @generated + */ + private CommonPackageImpl() { + super(eNS_URI, CommonFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link CommonPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static CommonPackage init() { + if (isInited) return (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI); + + // Obtain or create and register package + CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new CommonPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + CdapPackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theCommonPackage.createPackageContents(); + + // Initialize created meta-data + theCommonPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theCommonPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(CommonPackage.eNS_URI, theCommonPackage); + return theCommonPackage; + } + + /** + * + * + * @generated + */ + public EClass getTcaConfiguration() { + return tcaConfigurationEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_Domain() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberHostName() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberHostPort() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberTopicName() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberProtocol() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberUserName() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberUserPassword() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberContentType() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberConsumerId() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(8); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberConsumerGroup() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(9); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberTimeoutMS() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(10); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberMessageLimit() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(11); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_SubscriberPollingInterval() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(12); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherHostName() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(13); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherHostPort() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(14); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherTopicName() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(15); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherProtocol() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(16); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherUserName() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(17); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherUserPassword() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(18); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherContentType() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(19); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherMaxBatchSize() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(20); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherMaxRecoveryQueueSize() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(21); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaConfiguration_PublisherPollingInterval() { + return (EAttribute)tcaConfigurationEClass.getEStructuralFeatures().get(22); + } + + /** + * + * + * @generated + */ + public EReference getTcaConfiguration_MetricsPerFunctionalRole() { + return (EReference)tcaConfigurationEClass.getEStructuralFeatures().get(23); + } + + /** + * + * + * @generated + */ + public EClass getTcaMetrics() { + return tcaMetricsEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getTcaMetrics_FunctionalRole() { + return (EAttribute)tcaMetricsEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getTcaMetrics_Thresholds() { + return (EReference)tcaMetricsEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getTcaThreshold() { + return tcaThresholdEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getTcaThreshold_ClosedLoopControlName() { + return (EAttribute)tcaThresholdEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaThreshold_Version() { + return (EAttribute)tcaThresholdEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaThreshold_FieldPath() { + return (EAttribute)tcaThresholdEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaThreshold_ThresholdValue() { + return (EAttribute)tcaThresholdEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaThreshold_Direction() { + return (EAttribute)tcaThresholdEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EAttribute getTcaThreshold_Severity() { + return (EAttribute)tcaThresholdEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public CommonFactory getCommonFactory() { + return (CommonFactory)getEFactoryInstance(); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + tcaConfigurationEClass = createEClass(TCA_CONFIGURATION); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__DOMAIN); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_HOST_NAME); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_HOST_PORT); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_TOPIC_NAME); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_PROTOCOL); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_USER_NAME); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_USER_PASSWORD); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_CONTENT_TYPE); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_CONSUMER_ID); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_CONSUMER_GROUP); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_TIMEOUT_MS); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_MESSAGE_LIMIT); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__SUBSCRIBER_POLLING_INTERVAL); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_HOST_NAME); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_HOST_PORT); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_TOPIC_NAME); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_PROTOCOL); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_USER_NAME); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_USER_PASSWORD); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_CONTENT_TYPE); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_MAX_BATCH_SIZE); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_MAX_RECOVERY_QUEUE_SIZE); + createEAttribute(tcaConfigurationEClass, TCA_CONFIGURATION__PUBLISHER_POLLING_INTERVAL); + createEReference(tcaConfigurationEClass, TCA_CONFIGURATION__METRICS_PER_FUNCTIONAL_ROLE); + + tcaMetricsEClass = createEClass(TCA_METRICS); + createEAttribute(tcaMetricsEClass, TCA_METRICS__FUNCTIONAL_ROLE); + createEReference(tcaMetricsEClass, TCA_METRICS__THRESHOLDS); + + tcaThresholdEClass = createEClass(TCA_THRESHOLD); + createEAttribute(tcaThresholdEClass, TCA_THRESHOLD__CLOSED_LOOP_CONTROL_NAME); + createEAttribute(tcaThresholdEClass, TCA_THRESHOLD__VERSION); + createEAttribute(tcaThresholdEClass, TCA_THRESHOLD__FIELD_PATH); + createEAttribute(tcaThresholdEClass, TCA_THRESHOLD__THRESHOLD_VALUE); + createEAttribute(tcaThresholdEClass, TCA_THRESHOLD__DIRECTION); + createEAttribute(tcaThresholdEClass, TCA_THRESHOLD__SEVERITY); + } + + /** + * + * + * @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. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + CdapPackage theCdapPackage = (CdapPackage)EPackage.Registry.INSTANCE.getEPackage(CdapPackage.eNS_URI); + EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); + CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI); + ServicePackage theServicePackage = (ServicePackage)EPackage.Registry.INSTANCE.getEPackage(ServicePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + tcaConfigurationEClass.getESuperTypes().add(theCdapPackage.getCdapServiceInstanceConfiguration()); + tcaMetricsEClass.getESuperTypes().add(theCorePackage.getNamedEntity()); + tcaMetricsEClass.getESuperTypes().add(theServicePackage.getDcaePolicyEntity()); + tcaThresholdEClass.getESuperTypes().add(theCorePackage.getNamedEntity()); + + // Initialize classes, features, and operations; add parameters + initEClass(tcaConfigurationEClass, TcaConfiguration.class, "TcaConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTcaConfiguration_Domain(), theEcorePackage.getEString(), "domain", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberHostName(), theEcorePackage.getEString(), "subscriberHostName", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberHostPort(), theEcorePackage.getEString(), "subscriberHostPort", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberTopicName(), theEcorePackage.getEString(), "subscriberTopicName", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberProtocol(), theEcorePackage.getEString(), "subscriberProtocol", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberUserName(), theEcorePackage.getEString(), "subscriberUserName", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberUserPassword(), theEcorePackage.getEString(), "subscriberUserPassword", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberContentType(), theEcorePackage.getEString(), "subscriberContentType", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberConsumerId(), theEcorePackage.getEString(), "subscriberConsumerId", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberConsumerGroup(), theEcorePackage.getEString(), "subscriberConsumerGroup", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberTimeoutMS(), theEcorePackage.getEString(), "subscriberTimeoutMS", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberMessageLimit(), theEcorePackage.getEString(), "subscriberMessageLimit", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_SubscriberPollingInterval(), theEcorePackage.getEString(), "subscriberPollingInterval", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherHostName(), theEcorePackage.getEString(), "publisherHostName", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherHostPort(), theEcorePackage.getEString(), "publisherHostPort", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherTopicName(), theEcorePackage.getEString(), "publisherTopicName", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherProtocol(), theEcorePackage.getEString(), "publisherProtocol", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherUserName(), theEcorePackage.getEString(), "publisherUserName", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherUserPassword(), theEcorePackage.getEString(), "publisherUserPassword", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherContentType(), theEcorePackage.getEString(), "publisherContentType", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherMaxBatchSize(), theEcorePackage.getEString(), "publisherMaxBatchSize", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherMaxRecoveryQueueSize(), theEcorePackage.getEString(), "publisherMaxRecoveryQueueSize", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaConfiguration_PublisherPollingInterval(), theEcorePackage.getEString(), "publisherPollingInterval", null, 0, 1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTcaConfiguration_MetricsPerFunctionalRole(), this.getTcaMetrics(), null, "metricsPerFunctionalRole", null, 0, -1, TcaConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(tcaMetricsEClass, TcaMetrics.class, "TcaMetrics", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTcaMetrics_FunctionalRole(), theEcorePackage.getEString(), "functionalRole", null, 0, 1, TcaMetrics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTcaMetrics_Thresholds(), this.getTcaThreshold(), null, "thresholds", null, 0, -1, TcaMetrics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(tcaThresholdEClass, TcaThreshold.class, "TcaThreshold", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTcaThreshold_ClosedLoopControlName(), theEcorePackage.getEString(), "closedLoopControlName", null, 0, 1, TcaThreshold.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaThreshold_Version(), theEcorePackage.getEString(), "version", null, 0, 1, TcaThreshold.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaThreshold_FieldPath(), theEcorePackage.getEString(), "fieldPath", null, 0, 1, TcaThreshold.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaThreshold_ThresholdValue(), theEcorePackage.getEIntegerObject(), "thresholdValue", null, 0, 1, TcaThreshold.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaThreshold_Direction(), theEcorePackage.getEString(), "direction", null, 0, 1, TcaThreshold.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTcaThreshold_Severity(), theEcorePackage.getEString(), "severity", null, 0, 1, TcaThreshold.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + + // Create annotations + // http://www.eclipse.org/emf/2011/Xcore + createXcoreAnnotations(); + // http://openecomp.org + createEcompAnnotations(); + // http://openecomp.org/cdap + createCdapAnnotations(); + // http://openecomp.org/policy + createPolicyAnnotations(); + } + + /** + * Initializes the annotations for http://www.eclipse.org/emf/2011/Xcore. + * + * + * @generated + */ + protected void createXcoreAnnotations() { + String source = "http://www.eclipse.org/emf/2011/Xcore"; + addAnnotation + (this, + source, + new String[] { + "cdap", "http://openecomp.org/cdap", + "ecomp", "http://openecomp.org", + "policy", "http://openecomp.org/policy" + }); + } + + /** + * Initializes the annotations for http://openecomp.org/cdap. + * + * + * @generated + */ + protected void createCdapAnnotations() { + String source = "http://openecomp.org/cdap"; + addAnnotation + (getTcaConfiguration_Domain(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:domain" + }); + addAnnotation + (getTcaConfiguration_SubscriberHostName(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberHostName" + }); + addAnnotation + (getTcaConfiguration_SubscriberHostPort(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberHostPort" + }); + addAnnotation + (getTcaConfiguration_SubscriberTopicName(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberTopicName" + }); + addAnnotation + (getTcaConfiguration_SubscriberProtocol(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberProtocol" + }); + addAnnotation + (getTcaConfiguration_SubscriberUserName(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberUserName" + }); + addAnnotation + (getTcaConfiguration_SubscriberUserPassword(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberUserPassword" + }); + addAnnotation + (getTcaConfiguration_SubscriberContentType(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberContentType" + }); + addAnnotation + (getTcaConfiguration_SubscriberConsumerId(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberConsumerId" + }); + addAnnotation + (getTcaConfiguration_SubscriberConsumerGroup(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberConsumerGroup" + }); + addAnnotation + (getTcaConfiguration_SubscriberTimeoutMS(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberTimeoutMS" + }); + addAnnotation + (getTcaConfiguration_SubscriberMessageLimit(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberMessageLimit" + }); + addAnnotation + (getTcaConfiguration_SubscriberPollingInterval(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:subscriberPollingInterval" + }); + addAnnotation + (getTcaConfiguration_PublisherHostName(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherHostName" + }); + addAnnotation + (getTcaConfiguration_PublisherHostPort(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherHostPort" + }); + addAnnotation + (getTcaConfiguration_PublisherTopicName(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherTopicName" + }); + addAnnotation + (getTcaConfiguration_PublisherProtocol(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherProtocol" + }); + addAnnotation + (getTcaConfiguration_PublisherUserName(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherUserName" + }); + addAnnotation + (getTcaConfiguration_PublisherUserPassword(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherUserPassword" + }); + addAnnotation + (getTcaConfiguration_PublisherContentType(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherContentType" + }); + addAnnotation + (getTcaConfiguration_PublisherMaxBatchSize(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherMaxBatchSize" + }); + addAnnotation + (getTcaConfiguration_PublisherMaxRecoveryQueueSize(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherMaxRecoveryQueueSize" + }); + addAnnotation + (getTcaConfiguration_PublisherPollingInterval(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:publisherPollingInterval" + }); + addAnnotation + (getTcaMetrics_FunctionalRole(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:${path}.policy.functionalRole" + }); + addAnnotation + (getTcaThreshold_ClosedLoopControlName(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:${path}.policy.closedLoopControlName" + }); + addAnnotation + (getTcaThreshold_Version(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:${path}.policy.version" + }); + addAnnotation + (getTcaThreshold_FieldPath(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:${path}.policy.fieldPath" + }); + addAnnotation + (getTcaThreshold_ThresholdValue(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:${path}.policy.thresholdValue" + }); + addAnnotation + (getTcaThreshold_Direction(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:${path}.policy.direction" + }); + addAnnotation + (getTcaThreshold_Severity(), + source, + new String[] { + "destination", "namespace-prefs:cdap-tca:${path}.policy.severity" + }); + } + + /** + * Initializes the annotations for http://openecomp.org. + * + * + * @generated + */ + protected void createEcompAnnotations() { + String source = "http://openecomp.org"; + addAnnotation + (getTcaConfiguration_Domain(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberHostName(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberHostPort(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberTopicName(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberProtocol(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberUserName(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberUserPassword(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberContentType(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberConsumerId(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberConsumerGroup(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberTimeoutMS(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberMessageLimit(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_SubscriberPollingInterval(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherHostName(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherHostPort(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherTopicName(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherProtocol(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherUserName(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherUserPassword(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherContentType(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherMaxBatchSize(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherMaxRecoveryQueueSize(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaConfiguration_PublisherPollingInterval(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (tcaMetricsEClass, + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaMetrics_FunctionalRole(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaMetrics_Thresholds(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (tcaThresholdEClass, + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaThreshold_ClosedLoopControlName(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaThreshold_Version(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaThreshold_FieldPath(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaThreshold_ThresholdValue(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaThreshold_Direction(), + source, + new String[] { + "type", "configuration" + }); + addAnnotation + (getTcaThreshold_Severity(), + source, + new String[] { + "type", "configuration" + }); + } + + /** + * Initializes the annotations for http://openecomp.org/policy. + * + * + * @generated + */ + protected void createPolicyAnnotations() { + String source = "http://openecomp.org/policy"; + addAnnotation + (tcaMetricsEClass, + source, + new String[] { + "policyTemplate", "dcae-microservice", + "dcaeService", "tca" + }); + } + +} //CommonPackageImpl diff --git a/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/impl/TcaConfigurationImpl.java b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/impl/TcaConfigurationImpl.java new file mode 100644 index 0000000..208f0f9 --- /dev/null +++ b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/impl/TcaConfigurationImpl.java @@ -0,0 +1,1432 @@ + +/*- + * ============LICENSE_START========================================== + * OPENECOMP - DCAE + * =================================================================== + * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. + * =================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END============================================ + */ + +/** + */ +package org.openecomp.dcae.analytics.cdap.common.impl; + +import org.openecomp.dcae.analytics.cdap.common.CommonPackage; +import org.openecomp.dcae.analytics.cdap.common.TcaConfiguration; +import org.openecomp.dcae.analytics.cdap.common.TcaMetrics; + +import org.openecomp.dcae.controller.service.cdap.impl.CdapServiceInstanceConfigurationImpl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Tca Configuration'. + * + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
+ * The following features are implemented: + *
createXXX
method for each class of the model.
+ *
+ * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage
+ * @generated
+ */
+public class CommonAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ *
+ *
+ * @generated
+ */
+ protected static CommonPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ *
+ *
+ * @generated
+ */
+ public CommonAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = CommonPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ *
+ * This implementation returns true
if the object is either the model's package or is an instance object of the model.
+ *
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the createXXX
methods.
+ *
+ *
+ * @generated
+ */
+ protected CommonSwitchtarget
.
+ *
+ *
+ * @param target the object to adapt.
+ * @return the adapter for the target
.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.analytics.cdap.common.TcaConfiguration Tca Configuration}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaConfiguration
+ * @generated
+ */
+ public Adapter createTcaConfigurationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.analytics.cdap.common.TcaMetrics Tca Metrics}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaMetrics
+ * @generated
+ */
+ public Adapter createTcaMetricsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.analytics.cdap.common.TcaThreshold Tca Threshold}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.analytics.cdap.common.TcaThreshold
+ * @generated
+ */
+ public Adapter createTcaThresholdAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.service.cdap.CdapServiceInstanceConfiguration Service Instance Configuration}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.service.cdap.CdapServiceInstanceConfiguration
+ * @generated
+ */
+ public Adapter createCdapServiceInstanceConfigurationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.dcae.controller.core.service.DcaePolicyEntity Dcae Policy Entity}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.dcae.controller.core.service.DcaePolicyEntity
+ * @generated
+ */
+ public Adapter createDcaePolicyEntityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.openecomp.ncomp.core.NamedEntity Named Entity}'.
+ *
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ *
+ * @return the new adapter.
+ * @see org.openecomp.ncomp.core.NamedEntity
+ * @generated
+ */
+ public Adapter createNamedEntityAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ *
+ * This default implementation returns null.
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //CommonAdapterFactory
diff --git a/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/util/CommonSwitch.java b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/util/CommonSwitch.java
new file mode 100644
index 0000000..0c52242
--- /dev/null
+++ b/dcae-analytics-cdap-common-model/src/main/xcore-gen/org/openecomp/dcae/analytics/cdap/common/util/CommonSwitch.java
@@ -0,0 +1,223 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+/**
+ */
+package org.openecomp.dcae.analytics.cdap.common.util;
+
+import org.openecomp.dcae.analytics.cdap.common.*;
+import org.openecomp.dcae.controller.core.service.DcaePolicyEntity;
+import org.openecomp.dcae.controller.service.cdap.CdapServiceInstanceConfiguration;
+import org.openecomp.ncomp.core.NamedEntity;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
+
+/**
+ *
+ * The Switch for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the caseXXX
method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ *
+ * @see org.openecomp.dcae.analytics.cdap.common.CommonPackage
+ * @generated
+ */
+public class CommonSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
+ *
+ *
+ * @return the first non-null result returned by a caseXXX
call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case CommonPackage.TCA_CONFIGURATION: {
+ TcaConfiguration tcaConfiguration = (TcaConfiguration)theEObject;
+ T result = caseTcaConfiguration(tcaConfiguration);
+ if (result == null) result = caseCdapServiceInstanceConfiguration(tcaConfiguration);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CommonPackage.TCA_METRICS: {
+ TcaMetrics tcaMetrics = (TcaMetrics)theEObject;
+ T result = caseTcaMetrics(tcaMetrics);
+ if (result == null) result = caseNamedEntity(tcaMetrics);
+ if (result == null) result = caseDcaePolicyEntity(tcaMetrics);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CommonPackage.TCA_THRESHOLD: {
+ TcaThreshold tcaThreshold = (TcaThreshold)theEObject;
+ T result = caseTcaThreshold(tcaThreshold);
+ if (result == null) result = caseNamedEntity(tcaThreshold);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Tca Configuration'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Tca Configuration'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTcaConfiguration(TcaConfiguration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Tca Metrics'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Tca Metrics'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTcaMetrics(TcaMetrics object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Tca Threshold'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Tca Threshold'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTcaThreshold(TcaThreshold object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Service Instance Configuration'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Service Instance Configuration'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCdapServiceInstanceConfiguration(CdapServiceInstanceConfiguration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Dcae Policy Entity'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Dcae Policy Entity'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDcaePolicyEntity(DcaePolicyEntity object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'Named Entity'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'Named Entity'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNamedEntity(NamedEntity object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of 'EObject'.
+ *
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ *
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of 'EObject'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //CommonSwitch
diff --git a/dcae-analytics-cdap-common-model/src/main/xcore/common.xcore b/dcae-analytics-cdap-common-model/src/main/xcore/common.xcore
new file mode 100644
index 0000000..c6cc0bb
--- /dev/null
+++ b/dcae-analytics-cdap-common-model/src/main/xcore/common.xcore
@@ -0,0 +1,168 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END============================================
+ */
+
+@GenModel(modelDirectory="/dcae-analytics-cdap-common-model/src/main/xcore-gen")
+package org.openecomp.dcae.analytics.cdap.common
+
+import org.openecomp.dcae.controller.service.cdap.CdapServiceInstanceConfiguration
+import org.openecomp.ncomp.core.NamedEntity
+import org.openecomp.dcae.controller.core.service.DcaePolicyEntity
+
+annotation "http://openecomp.org/cdap" as cdap
+annotation "http://openecomp.org" as ecomp
+annotation "http://openecomp.org/policy" as policy
+
+class TcaConfiguration extends CdapServiceInstanceConfiguration {
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:domain")
+ String domain
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberHostName")
+ String subscriberHostName
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberHostPort")
+ String subscriberHostPort
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberTopicName")
+ String subscriberTopicName
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberProtocol")
+ String subscriberProtocol
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberUserName")
+ String subscriberUserName
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberUserPassword")
+ String subscriberUserPassword
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberContentType")
+ String subscriberContentType
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberConsumerId")
+ String subscriberConsumerId
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberConsumerGroup")
+ String subscriberConsumerGroup
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberTimeoutMS")
+ String subscriberTimeoutMS
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberMessageLimit")
+ String subscriberMessageLimit
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:subscriberPollingInterval")
+ String subscriberPollingInterval
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherHostName")
+ String publisherHostName
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherHostPort")
+ String publisherHostPort
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherTopicName")
+ String publisherTopicName
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherProtocol")
+ String publisherProtocol
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherUserName")
+ String publisherUserName
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherUserPassword")
+ String publisherUserPassword
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherContentType")
+ String publisherContentType
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherMaxBatchSize")
+ String publisherMaxBatchSize
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherMaxRecoveryQueueSize")
+ String publisherMaxRecoveryQueueSize
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:publisherPollingInterval")
+ String publisherPollingInterval
+
+ contains TcaMetrics[] metricsPerFunctionalRole
+}
+
+@policy(policyTemplate="dcae-microservice",
+ dcaeService="tca")
+@ecomp(^type="configuration")
+class TcaMetrics extends NamedEntity, DcaePolicyEntity {
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:${path}.policy.functionalRole")
+ String functionalRole
+
+ @ecomp(^type="configuration")
+ contains TcaThreshold[] thresholds
+}
+
+@ecomp(^type="configuration")
+class TcaThreshold extends NamedEntity {
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:${path}.policy.closedLoopControlName")
+ String closedLoopControlName
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:${path}.policy.version")
+ String version
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:${path}.policy.fieldPath")
+ String fieldPath
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:${path}.policy.thresholdValue")
+ Integer thresholdValue
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:${path}.policy.direction")
+ String direction
+
+ @ecomp(^type="configuration")
+ @cdap(destination="namespace-prefs:cdap-tca:${path}.policy.severity")
+ String severity
+}
+
--
cgit 1.2.3-korg