예제 #1
0
 public static boolean setStringDataFilter(Analysis analysis, String datafilterString) {
   EList<Domain> dataFilters = analysis.getParameters().getDataFilter();
   // update existing filters
   if (!dataFilters.isEmpty()) {
     Domain domain = dataFilters.get(0);
     EList<RangeRestriction> ranges = domain.getRanges();
     RangeRestriction rangeRestriction =
         (ranges.isEmpty()) ? DomainHelper.addRangeRestriction(domain) : ranges.get(0);
     BooleanExpressionNode expressions = rangeRestriction.getExpressions();
     if (expressions == null) {
       expressions = BooleanExpressionHelper.createBooleanExpressionNode(datafilterString);
       rangeRestriction.setExpressions(expressions);
     } else {
       Expression expression = expressions.getExpression();
       if (expression == null) {
         expression =
             BooleanExpressionHelper.createTdExpression(
                 BooleanExpressionHelper.DEFAULT_LANGUAGE, datafilterString);
         expressions.setExpression(expression);
       } else {
         expression.setBody(datafilterString);
       }
     }
     return false;
   }
   // else
   return dataFilters.add(createDomain(analysis, datafilterString));
 }
예제 #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case CDAPackage.PARENT_DOCUMENT__REALM_CODE:
       return realmCodes != null && !realmCodes.isEmpty();
     case CDAPackage.PARENT_DOCUMENT__TYPE_ID:
       return typeId != null;
     case CDAPackage.PARENT_DOCUMENT__TEMPLATE_ID:
       return templateIds != null && !templateIds.isEmpty();
     case CDAPackage.PARENT_DOCUMENT__ID:
       return ids != null && !ids.isEmpty();
     case CDAPackage.PARENT_DOCUMENT__CODE:
       return code != null;
     case CDAPackage.PARENT_DOCUMENT__TEXT:
       return text != null;
     case CDAPackage.PARENT_DOCUMENT__SET_ID:
       return setId != null;
     case CDAPackage.PARENT_DOCUMENT__VERSION_NUMBER:
       return versionNumber != null;
     case CDAPackage.PARENT_DOCUMENT__NULL_FLAVOR:
       return isSetNullFlavor();
     case CDAPackage.PARENT_DOCUMENT__CLASS_CODE:
       return isSetClassCode();
     case CDAPackage.PARENT_DOCUMENT__MOOD_CODE:
       return isSetMoodCode();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case XsdPackage.XSD_DIAGNOSTIC__SEVERITY:
       return severity != SEVERITY_EDEFAULT;
     case XsdPackage.XSD_DIAGNOSTIC__MESSAGE:
       return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message);
     case XsdPackage.XSD_DIAGNOSTIC__LOCATION_URI:
       return LOCATION_URI_EDEFAULT == null
           ? locationURI != null
           : !LOCATION_URI_EDEFAULT.equals(locationURI);
     case XsdPackage.XSD_DIAGNOSTIC__LINE:
       return line != LINE_EDEFAULT;
     case XsdPackage.XSD_DIAGNOSTIC__COLUMN:
       return column != COLUMN_EDEFAULT;
     case XsdPackage.XSD_DIAGNOSTIC__NODE:
       return NODE_EDEFAULT == null ? node != null : !NODE_EDEFAULT.equals(node);
     case XsdPackage.XSD_DIAGNOSTIC__ANNOTATION_URI:
       return ANNOTATION_URI_EDEFAULT == null
           ? annotationURI != null
           : !ANNOTATION_URI_EDEFAULT.equals(annotationURI);
     case XsdPackage.XSD_DIAGNOSTIC__KEY:
       return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
     case XsdPackage.XSD_DIAGNOSTIC__SUBSTITUTIONS:
       return substitutions != null && !substitutions.isEmpty();
     case XsdPackage.XSD_DIAGNOSTIC__COMPONENTS:
       return components != null && !components.isEmpty();
     case XsdPackage.XSD_DIAGNOSTIC__PRIMARY_COMPONENT:
       return getPrimaryComponent() != null;
   }
   return super.eIsSet(featureID);
 }
예제 #4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case BpmnPackage.ACTIVITY__DOCUMENTATION:
       return DOCUMENTATION_EDEFAULT == null
           ? documentation != null
           : !DOCUMENTATION_EDEFAULT.equals(documentation);
     case BpmnPackage.ACTIVITY__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case BpmnPackage.ACTIVITY__NCNAME:
       return NCNAME_EDEFAULT == null ? ncname != null : !NCNAME_EDEFAULT.equals(ncname);
     case BpmnPackage.ACTIVITY__ORDERED_MESSAGES:
       return orderedMessages != null && !orderedMessages.isEmpty();
     case BpmnPackage.ACTIVITY__INCOMING_MESSAGES:
       return !getIncomingMessages().isEmpty();
     case BpmnPackage.ACTIVITY__OUTGOING_MESSAGES:
       return !getOutgoingMessages().isEmpty();
     case BpmnPackage.ACTIVITY__GROUPS:
       return groups != null && !groups.isEmpty();
     case BpmnPackage.ACTIVITY__LANES:
       return lanes != null && !lanes.isEmpty();
     case BpmnPackage.ACTIVITY__ACTIVITY_TYPE:
       return isSetActivityType();
     case BpmnPackage.ACTIVITY__LOOPING:
       return isSetLooping();
     case BpmnPackage.ACTIVITY__EVENT_HANDLER_FOR:
       return getEventHandlerFor() != null;
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__ROLE:
       return role != null && !role.isEmpty();
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__REFERENCE:
       return reference != null;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__USER_ID:
       return userId != null;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__ALT_ID:
       return altId != null;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__NAME:
       return name != null;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__REQUESTOR:
       return requestor != null;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__LOCATION:
       return location != null;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__POLICY:
       return policy != null && !policy.isEmpty();
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__MEDIA:
       return media != null;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__NETWORK:
       return network != null;
     case FhirPackage.AUDIT_EVENT_PARTICIPANT__PURPOSE_OF_USE:
       return purposeOfUse != null && !purposeOfUse.isEmpty();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case SchoolPackage.SCHOOL__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case SchoolPackage.SCHOOL__ADDRESS:
       return ADDRESS_EDEFAULT == null ? address != null : !ADDRESS_EDEFAULT.equals(address);
     case SchoolPackage.SCHOOL__YEARS:
       return years != null && !years.isEmpty();
     case SchoolPackage.SCHOOL__TEACHERS:
       return teachers != null && !teachers.isEmpty();
     case SchoolPackage.SCHOOL__COURSES:
       return courses != null && !courses.isEmpty();
     case SchoolPackage.SCHOOL__NUMBER_OF_TEACHERS:
       return getNumberOfTeachers() != NUMBER_OF_TEACHERS_EDEFAULT;
     case SchoolPackage.SCHOOL__TEACHERS_WITH_MOST_COURSES:
       return !getTeachersWithMostCourses().isEmpty();
     case SchoolPackage.SCHOOL__LAST_YEAR:
       return basicGetLastYear() != null;
     case SchoolPackage.SCHOOL__CURRENT_YEAR:
       return currentYear != CURRENT_YEAR_EDEFAULT;
     case SchoolPackage.SCHOOL__MIN_WEIGHT_IN_LAST_YEAR:
       return minWeightInLastYear != null;
   }
   return super.eIsSet(featureID);
 }
예제 #7
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case TaskPackage.MILESTONE__CONTAINING_WORKPACKAGE:
       return basicGetContainingWorkpackage() != null;
     case TaskPackage.MILESTONE__PREDECESSORS:
       return predecessors != null && !predecessors.isEmpty();
     case TaskPackage.MILESTONE__SUCCESSORS:
       return successors != null && !successors.isEmpty();
     case TaskPackage.MILESTONE__ASSIGNEE:
       return assignee != null;
     case TaskPackage.MILESTONE__REVIEWER:
       return reviewer != null;
     case TaskPackage.MILESTONE__PARTICIPANTS:
       return participants != null && !participants.isEmpty();
     case TaskPackage.MILESTONE__DUE_DATE:
       return DUE_DATE_EDEFAULT == null ? dueDate != null : !DUE_DATE_EDEFAULT.equals(dueDate);
     case TaskPackage.MILESTONE__ESTIMATE:
       return estimate != ESTIMATE_EDEFAULT;
     case TaskPackage.MILESTONE__EFFORT:
       return effort != EFFORT_EDEFAULT;
     case TaskPackage.MILESTONE__PRIORITY:
       return priority != PRIORITY_EDEFAULT;
     case TaskPackage.MILESTONE__RESOLVED:
       return resolved != RESOLVED_EDEFAULT;
     case TaskPackage.MILESTONE__INCLUDING_RELEASES:
       return includingReleases != null && !includingReleases.isEmpty();
     case TaskPackage.MILESTONE__CONTAINED_MODEL_ELEMENTS:
       return containedModelElements != null && !containedModelElements.isEmpty();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case EsbPackage.SEQUENCES__OUTPUT_CONNECTOR:
       return outputConnector != null;
     case EsbPackage.SEQUENCES__INPUT_CONNECTOR:
       return inputConnector != null;
     case EsbPackage.SEQUENCES__MEDIATOR_FLOW:
       return mediatorFlow != null;
     case EsbPackage.SEQUENCES__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case EsbPackage.SEQUENCES__RECIEVE_SEQUENCE:
       return recieveSequence != RECIEVE_SEQUENCE_EDEFAULT;
     case EsbPackage.SEQUENCES__ASSOCIATED_PROXY:
       return associatedProxy != null && !associatedProxy.isEmpty();
     case EsbPackage.SEQUENCES__ON_ERROR:
       return onError != null;
     case EsbPackage.SEQUENCES__TEMPLATE_PARAMETERS:
       return templateParameters != null && !templateParameters.isEmpty();
     case EsbPackage.SEQUENCES__TRACE_ENABLED:
       return traceEnabled != TRACE_ENABLED_EDEFAULT;
     case EsbPackage.SEQUENCES__STATISTICS_ENABLED:
       return statisticsEnabled != STATISTICS_ENABLED_EDEFAULT;
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case ContentfwkPackage.INFORMATION_SYSTEM_SERVICE__DELEGATES:
       return delegates != null && !delegates.isEmpty();
     case ContentfwkPackage.INFORMATION_SYSTEM_SERVICE__IS_DELEGATED_BY:
       return isDelegatedBy != null && !isDelegatedBy.isEmpty();
     case ContentfwkPackage.INFORMATION_SYSTEM_SERVICE__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case ContentfwkPackage.INFORMATION_SYSTEM_SERVICE__DESCRIPTION:
       return DESCRIPTION_EDEFAULT == null
           ? description != null
           : !DESCRIPTION_EDEFAULT.equals(description);
     case ContentfwkPackage.INFORMATION_SYSTEM_SERVICE__CATEGORY:
       return CATEGORY_EDEFAULT == null ? category != null : !CATEGORY_EDEFAULT.equals(category);
     case ContentfwkPackage.INFORMATION_SYSTEM_SERVICE__SOURCE_DESCR:
       return SOURCE_DESCR_EDEFAULT == null
           ? sourceDescr != null
           : !SOURCE_DESCR_EDEFAULT.equals(sourceDescr);
     case ContentfwkPackage.INFORMATION_SYSTEM_SERVICE__OWNER_DESCR:
       return OWNER_DESCR_EDEFAULT == null
           ? ownerDescr != null
           : !OWNER_DESCR_EDEFAULT.equals(ownerDescr);
     case ContentfwkPackage.INFORMATION_SYSTEM_SERVICE__ID:
       return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
     case ContentfwkPackage.INFORMATION_SYSTEM_SERVICE__ANY:
       return any != null;
   }
   return super.eIsSet(featureID);
 }
예제 #10
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case CDAPackage.RELATED_ENTITY__REALM_CODE:
       return realmCodes != null && !realmCodes.isEmpty();
     case CDAPackage.RELATED_ENTITY__TYPE_ID:
       return typeId != null;
     case CDAPackage.RELATED_ENTITY__TEMPLATE_ID:
       return templateIds != null && !templateIds.isEmpty();
     case CDAPackage.RELATED_ENTITY__CODE:
       return code != null;
     case CDAPackage.RELATED_ENTITY__ADDR:
       return addrs != null && !addrs.isEmpty();
     case CDAPackage.RELATED_ENTITY__TELECOM:
       return telecoms != null && !telecoms.isEmpty();
     case CDAPackage.RELATED_ENTITY__EFFECTIVE_TIME:
       return effectiveTime != null;
     case CDAPackage.RELATED_ENTITY__RELATED_PERSON:
       return relatedPerson != null;
     case CDAPackage.RELATED_ENTITY__SDTC_PATIENT:
       return sDTCPatient != null;
     case CDAPackage.RELATED_ENTITY__NULL_FLAVOR:
       return isSetNullFlavor();
     case CDAPackage.RELATED_ENTITY__CLASS_CODE:
       return isSetClassCode();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__PARENT_OBJECT:
       return parentObject != null;
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__MEMBER:
       return member != null && !member.isEmpty();
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__PERSISTENT_CONFIG:
       return persistentConfig != null && !persistentConfig.isEmpty();
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__VALIDATOR_CONFIG:
       return validatorConfig != null;
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__SEARCH_METHOD:
       return searchMethod != null && !searchMethod.isEmpty();
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__ABBREVIATION:
       return ABBREVIATION_EDEFAULT == null
           ? abbreviation != null
           : !ABBREVIATION_EDEFAULT.equals(abbreviation);
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__EXTENSIBLE:
       return isSetExtensible();
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__NEED_EQUALS:
       return isSetNeedEquals();
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__NEED_HISTORY:
       return isSetNeedHistory();
     case BEDiagramPackage.BUSINESS_ENTITY_TYPE__PARENT:
       return true;
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case _2009Package.DESIGN_CONFIGURATION_TYPE__VENDOR:
       return VENDOR_EDEFAULT == null ? vendor != null : !VENDOR_EDEFAULT.equals(vendor);
     case _2009Package.DESIGN_CONFIGURATION_TYPE__LIBRARY:
       return LIBRARY_EDEFAULT == null ? library != null : !LIBRARY_EDEFAULT.equals(library);
     case _2009Package.DESIGN_CONFIGURATION_TYPE__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case _2009Package.DESIGN_CONFIGURATION_TYPE__VERSION:
       return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version);
     case _2009Package.DESIGN_CONFIGURATION_TYPE__DESIGN_REF:
       return designRef != null;
     case _2009Package.DESIGN_CONFIGURATION_TYPE__GENERATOR_CHAIN_CONFIGURATION:
       return generatorChainConfiguration != null && !generatorChainConfiguration.isEmpty();
     case _2009Package.DESIGN_CONFIGURATION_TYPE__INTERCONNECTION_CONFIGURATION:
       return interconnectionConfiguration != null && !interconnectionConfiguration.isEmpty();
     case _2009Package.DESIGN_CONFIGURATION_TYPE__VIEW_CONFIGURATION:
       return viewConfiguration != null && !viewConfiguration.isEmpty();
     case _2009Package.DESIGN_CONFIGURATION_TYPE__DESCRIPTION:
       return DESCRIPTION_EDEFAULT == null
           ? description != null
           : !DESCRIPTION_EDEFAULT.equals(description);
     case _2009Package.DESIGN_CONFIGURATION_TYPE__VENDOR_EXTENSIONS:
       return vendorExtensions != null;
   }
   return super.eIsSet(featureID);
 }
예제 #13
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case EsbPackage.LOAD_BALANCE_END_POINT__FAILOVER:
       return failover != FAILOVER_EDEFAULT;
     case EsbPackage.LOAD_BALANCE_END_POINT__POLICY:
       return POLICY_EDEFAULT == null ? policy != null : !POLICY_EDEFAULT.equals(policy);
     case EsbPackage.LOAD_BALANCE_END_POINT__INPUT_CONNECTOR:
       return inputConnector != null;
     case EsbPackage.LOAD_BALANCE_END_POINT__OUTPUT_CONNECTOR:
       return outputConnector != null && !outputConnector.isEmpty();
     case EsbPackage.LOAD_BALANCE_END_POINT__WEST_OUTPUT_CONNECTOR:
       return westOutputConnector != null;
     case EsbPackage.LOAD_BALANCE_END_POINT__MEMBER:
       return member != null && !member.isEmpty();
     case EsbPackage.LOAD_BALANCE_END_POINT__SESSION_TYPE:
       return sessionType != SESSION_TYPE_EDEFAULT;
     case EsbPackage.LOAD_BALANCE_END_POINT__ALGORITHM:
       return ALGORITHM_EDEFAULT == null
           ? algorithm != null
           : !ALGORITHM_EDEFAULT.equals(algorithm);
     case EsbPackage.LOAD_BALANCE_END_POINT__SESSION_TIMEOUT:
       return sessionTimeout != SESSION_TIMEOUT_EDEFAULT;
   }
   return super.eIsSet(featureID);
 }
 public TextRegion getImportRegion(XtextResource xtextResource) {
   XPackage xPackage = getXPackage(xtextResource);
   if (xPackage != null) {
     List<INode> xPackageNodes =
         NodeModelUtils.findNodesForFeature(xPackage, XcorePackage.Literals.XNAMED_ELEMENT__NAME);
     int begin;
     int size = xPackageNodes.size();
     if (size == 0) {
       begin = 0;
     } else {
       INode lastNode = xPackageNodes.get(size - 1);
       begin = lastNode.getOffset() + lastNode.getLength();
     }
     int end;
     EList<XAnnotationDirective> annotationDirectives = xPackage.getAnnotationDirectives();
     if (!annotationDirectives.isEmpty()) {
       ICompositeNode node = NodeModelUtils.getNode(annotationDirectives.get(0));
       end = node.getTotalOffset();
     } else {
       EList<XClassifier> classifiers = xPackage.getClassifiers();
       if (!classifiers.isEmpty()) {
         ICompositeNode node = NodeModelUtils.getNode(classifiers.get(0));
         end = node.getTotalOffset();
       } else {
         end = xtextResource.getParseResult().getRootNode().getTotalEndOffset();
       }
     }
     return new TextRegion(begin, end - begin);
   } else {
     return null;
   }
 }
예제 #15
0
파일: GraphImpl.java 프로젝트: teropa/stem
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case GraphPackage.GRAPH__EDGES:
       return edges != null && !edges.isEmpty();
     case GraphPackage.GRAPH__NODES:
       return nodes != null && !nodes.isEmpty();
     case GraphPackage.GRAPH__GRAPH_LABELS:
       return graphLabels != null && !graphLabels.isEmpty();
     case GraphPackage.GRAPH__NODE_LABELS:
       return nodeLabels != null && !nodeLabels.isEmpty();
     case GraphPackage.GRAPH__DYNAMIC_LABELS:
       return dynamicLabels != null && !dynamicLabels.isEmpty();
     case GraphPackage.GRAPH__NUM_EDGES:
       return getNumEdges() != NUM_EDGES_EDEFAULT;
     case GraphPackage.GRAPH__NUM_NODES:
       return getNumNodes() != NUM_NODES_EDEFAULT;
     case GraphPackage.GRAPH__NUM_GRAPH_LABELS:
       return getNumGraphLabels() != NUM_GRAPH_LABELS_EDEFAULT;
     case GraphPackage.GRAPH__NUM_NODE_LABELS:
       return getNumNodeLabels() != NUM_NODE_LABELS_EDEFAULT;
     case GraphPackage.GRAPH__NUM_DYNAMIC_LABELS:
       return getNumDynamicLabels() != NUM_DYNAMIC_LABELS_EDEFAULT;
     case GraphPackage.GRAPH__UNRESOLVED_IDENTIFIABLES:
       return unresolvedIdentifiables != null && !unresolvedIdentifiables.isEmpty();
     case GraphPackage.GRAPH__DECORATORS:
       return decorators != null && !decorators.isEmpty();
     case GraphPackage.GRAPH__TIME:
       return time != null;
   }
   return super.eIsSet(featureID);
 }
예제 #16
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case SQLTablesPackage.TABLE__COLUMNS:
       return columns != null && !columns.isEmpty();
     case SQLTablesPackage.TABLE__SUPERTABLE:
       return supertable != null;
     case SQLTablesPackage.TABLE__SUBTABLES:
       return subtables != null && !subtables.isEmpty();
     case SQLTablesPackage.TABLE__SCHEMA:
       return schema != null;
     case SQLTablesPackage.TABLE__UDT:
       return udt != null;
     case SQLTablesPackage.TABLE__TRIGGERS:
       return triggers != null && !triggers.isEmpty();
     case SQLTablesPackage.TABLE__INDEX:
       return index != null && !index.isEmpty();
     case SQLTablesPackage.TABLE__SELF_REF_COLUMN_GENERATION:
       return selfRefColumnGeneration != SELF_REF_COLUMN_GENERATION_EDEFAULT;
     case SQLTablesPackage.TABLE__INSERTABLE:
       return isInsertable() != INSERTABLE_EDEFAULT;
     case SQLTablesPackage.TABLE__UPDATABLE:
       return isUpdatable() != UPDATABLE_EDEFAULT;
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case SpdPackage.SOFT_PKG__TITLE:
       return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
     case SpdPackage.SOFT_PKG__AUTHOR:
       return author != null && !author.isEmpty();
     case SpdPackage.SOFT_PKG__DESCRIPTION:
       return DESCRIPTION_EDEFAULT == null
           ? description != null
           : !DESCRIPTION_EDEFAULT.equals(description);
     case SpdPackage.SOFT_PKG__PROPERTY_FILE:
       return propertyFile != null;
     case SpdPackage.SOFT_PKG__DESCRIPTOR:
       return descriptor != null;
     case SpdPackage.SOFT_PKG__IMPLEMENTATION:
       return implementation != null && !implementation.isEmpty();
     case SpdPackage.SOFT_PKG__USES_DEVICE:
       return usesDevice != null && !usesDevice.isEmpty();
     case SpdPackage.SOFT_PKG__ID:
       return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
     case SpdPackage.SOFT_PKG__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case SpdPackage.SOFT_PKG__TYPE:
       return isSetType();
     case SpdPackage.SOFT_PKG__VERSION:
       return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version);
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case SemanticsPackage.SERVICE_PROFILE__PRESENTED_BY:
       return getPresentedBy() != null;
     case SemanticsPackage.SERVICE_PROFILE__HAS_PROCESS:
       return hasProcess != null;
     case SemanticsPackage.SERVICE_PROFILE__SERVICE_CATEGORY:
       return serviceCategory != null;
     case SemanticsPackage.SERVICE_PROFILE__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case SemanticsPackage.SERVICE_PROFILE__HAS_INPUT:
       return hasInput != null && !hasInput.isEmpty();
     case SemanticsPackage.SERVICE_PROFILE__HAS_OUTPUT:
       return hasOutput != null && !hasOutput.isEmpty();
     case SemanticsPackage.SERVICE_PROFILE__HAS_RESULT:
       return hasResult != null && !hasResult.isEmpty();
     case SemanticsPackage.SERVICE_PROFILE__HAS_CONDITION:
       return hasCondition != null && !hasCondition.isEmpty();
     case SemanticsPackage.SERVICE_PROFILE__SERVICE_CLASSIFICATION:
       return SERVICE_CLASSIFICATION_EDEFAULT == null
           ? serviceClassification != null
           : !SERVICE_CLASSIFICATION_EDEFAULT.equals(serviceClassification);
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case DeploymentPackage.DEPLOYMENT_PLAN__COMPONENTS:
       return components != null && !components.isEmpty();
     case DeploymentPackage.DEPLOYMENT_PLAN__NODES:
       return nodes != null && !nodes.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #20
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case GraphicalPackage.GRAPHICAL_DESCRIPTION__NODES:
       return nodes != null && !nodes.isEmpty();
     case GraphicalPackage.GRAPHICAL_DESCRIPTION__CONNECTIONS:
       return connections != null && !connections.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #21
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case FinitestatemachinesPackage.STATE_MACHINE__STATES2:
       return states2 != null && !states2.isEmpty();
     case FinitestatemachinesPackage.STATE_MACHINE__TRANSITIONS2:
       return transitions2 != null && !transitions2.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #22
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case QVTOperationalPackage.MAPPING_BODY__END_SECTION:
       return endSection != null && !endSection.isEmpty();
     case QVTOperationalPackage.MAPPING_BODY__INIT_SECTION:
       return initSection != null && !initSection.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #23
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case GraAnnotationModelPackage.USE_CASE__PROVIDER:
       return provider != null && !provider.isEmpty();
     case GraAnnotationModelPackage.USE_CASE__CONSUMER:
       return consumer != null && !consumer.isEmpty();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case UmplePackage.ANONYMOUS_ACTIVITY_1__CODE_LANG_1:
       return codeLang_1 != null && !codeLang_1.isEmpty();
     case UmplePackage.ANONYMOUS_ACTIVITY_1__CODE_LANGS_1:
       return codeLangs_1 != null && !codeLangs_1.isEmpty();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case RmOdpPackage.DECISION__INCOMINGS:
       return incomings != null && !incomings.isEmpty();
     case RmOdpPackage.DECISION__OUTGOINGS:
       return outgoings != null && !outgoings.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #26
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case IArchimatePackage.CONNECTABLE__SOURCE_CONNECTIONS:
       return sourceConnections != null && !sourceConnections.isEmpty();
     case IArchimatePackage.CONNECTABLE__TARGET_CONNECTIONS:
       return targetConnections != null && !targetConnections.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #27
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case MetricDSLPackage.METRIC_MODEL__IMPORT_URI:
       return importURI != null && !importURI.isEmpty();
     case MetricDSLPackage.METRIC_MODEL__METRICS:
       return metrics != null && !metrics.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #28
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case SwrtjPackage.FILE__IMPORT_LIST:
       return importList != null && !importList.isEmpty();
     case SwrtjPackage.FILE__ELEMENT_LIST:
       return elementList != null && !elementList.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #29
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case MobgenPackage.MOBGEN__RESOURCES:
       return resources != null && !resources.isEmpty();
     case MobgenPackage.MOBGEN__CALLS:
       return calls != null && !calls.isEmpty();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case ErrorannexPackage.REPORT_ERROR_PROPERTY__STATE_AND_PROPAGATION_LIST:
       return stateAndPropagationList != null && !stateAndPropagationList.isEmpty();
     case ErrorannexPackage.REPORT_ERROR_PROPERTY__ERROR_STATE_OR_PROPAGATION:
       return errorStateOrPropagation != null && !errorStateOrPropagation.isEmpty();
   }
   return super.eIsSet(featureID);
 }