예제 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case DBPackage.MOVIE_TYPE__TITLE:
       return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
     case DBPackage.MOVIE_TYPE__ACTORS:
       return ACTORS_EDEFAULT == null ? actors != null : !ACTORS_EDEFAULT.equals(actors);
     case DBPackage.MOVIE_TYPE__DIRECTOR:
       return DIRECTOR_EDEFAULT == null ? director != null : !DIRECTOR_EDEFAULT.equals(director);
     case DBPackage.MOVIE_TYPE__GENRE:
       return isSetGenre();
     case DBPackage.MOVIE_TYPE__SUMMARY:
       return SUMMARY_EDEFAULT == null ? summary != null : !SUMMARY_EDEFAULT.equals(summary);
     case DBPackage.MOVIE_TYPE__CRITICS_REVIEW_GROUP:
       return criticsReviewGroup != null && !criticsReviewGroup.isEmpty();
     case DBPackage.MOVIE_TYPE__CRITICS_REVIEW:
       return !getCriticsReview().isEmpty();
     case DBPackage.MOVIE_TYPE__CHECKED_OUT_BY:
       return checkedOutBy != null;
     case DBPackage.MOVIE_TYPE__ANY:
       return any != null && !any.isEmpty();
     case DBPackage.MOVIE_TYPE__ID:
       return ID_EDEFAULT == null ? iD != null : !ID_EDEFAULT.equals(iD);
   }
   return super.eIsSet(featureID);
 }
예제 #2
0
 private static Object getDescriptionValues(FeatureMap contents) {
   Object object = contents.get(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__TEXT, true);
   if (object instanceof Collection && hasNoSignificantContent((Collection) object)) {
     object = contents.get(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__CDATA, true);
   }
   return object;
 }
  @Override
  public void handle(Object request, RequestData data) {
    super.handle(request, data);

    // also determine the sub operation
    FeatureMap elements = (FeatureMap) EMFUtils.get((EObject) request, "group");
    if (elements == null) {
      return;
    }

    ListIterator i = elements.valueListIterator();
    int flag = 0;
    while (i.hasNext()) {
      Object e = i.next();
      if (e.getClass().getSimpleName().startsWith("Insert")) {
        flag |= 1;
      } else if (e.getClass().getSimpleName().startsWith("Update")) {
        flag |= 2;
      } else if (e.getClass().getSimpleName().startsWith("Delete")) {
        flag |= 4;
      } else {
        flag |= 8;
      }
    }

    StringBuffer sb = new StringBuffer();
    if ((flag & 1) == 1) sb.append("I");
    if ((flag & 2) == 2) sb.append("U");
    if ((flag & 4) == 4) sb.append("D");
    if ((flag & 8) == 8) sb.append("O");
    data.setSubOperation(sb.toString());
  }
예제 #4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case htdPackage.TLITERAL__MIXED:
       return mixed != null && !mixed.isEmpty();
     case htdPackage.TLITERAL__ANY:
       return !getAny().isEmpty();
     case htdPackage.TLITERAL__ANY_ATTRIBUTE:
       return anyAttribute != null && !anyAttribute.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #5
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case JcaPackage.JCA_OUTBOUND_CONNECTION__RESOURCE_ADAPTER:
       return resourceAdapter != null;
     case JcaPackage.JCA_OUTBOUND_CONNECTION__CONNECTION:
       return connection != null;
     case JcaPackage.JCA_OUTBOUND_CONNECTION__ANY:
       return any != null && !any.isEmpty();
     case JcaPackage.JCA_OUTBOUND_CONNECTION__ANY_ATTRIBUTE:
       return anyAttribute != null && !anyAttribute.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #6
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case ScaPackage.INTENT_MAP__GROUP:
       return group != null && !group.isEmpty();
     case ScaPackage.INTENT_MAP__QUALIFIER:
       return !getQualifier().isEmpty();
     case ScaPackage.INTENT_MAP__ANY:
       return !getAny().isEmpty();
     case ScaPackage.INTENT_MAP__PROVIDES:
       return PROVIDES_EDEFAULT == null ? provides != null : !PROVIDES_EDEFAULT.equals(provides);
     case ScaPackage.INTENT_MAP__ANY_ATTRIBUTE:
       return anyAttribute != null && !anyAttribute.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #7
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case RifPackage.DATATYPES_TYPE__GROUP:
       return group != null && !group.isEmpty();
     case RifPackage.DATATYPES_TYPE__DATATYPEDEFINITIONBINARYFILE:
       return !getDATATYPEDEFINITIONBINARYFILE().isEmpty();
     case RifPackage.DATATYPES_TYPE__DATATYPEDEFINITIONBOOLEAN:
       return !getDATATYPEDEFINITIONBOOLEAN().isEmpty();
     case RifPackage.DATATYPES_TYPE__DATATYPEDEFINITIONDATE:
       return !getDATATYPEDEFINITIONDATE().isEmpty();
     case RifPackage.DATATYPES_TYPE__DATATYPEDEFINITIONDOCUMENT:
       return !getDATATYPEDEFINITIONDOCUMENT().isEmpty();
     case RifPackage.DATATYPES_TYPE__DATATYPEDEFINITIONENUMERATION:
       return !getDATATYPEDEFINITIONENUMERATION().isEmpty();
     case RifPackage.DATATYPES_TYPE__DATATYPEDEFINITIONINTEGER:
       return !getDATATYPEDEFINITIONINTEGER().isEmpty();
     case RifPackage.DATATYPES_TYPE__DATATYPEDEFINITIONREAL:
       return !getDATATYPEDEFINITIONREAL().isEmpty();
     case RifPackage.DATATYPES_TYPE__DATATYPEDEFINITIONSTRING:
       return !getDATATYPEDEFINITIONSTRING().isEmpty();
     case RifPackage.DATATYPES_TYPE__DATATYPEDEFINITIONXMLDATA:
       return !getDATATYPEDEFINITIONXMLDATA().isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #8
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case UmlPackage.TRANSITION__GROUP5:
       return group5 != null && !group5.isEmpty();
     case UmlPackage.TRANSITION__SOURCE:
       return !getSource().isEmpty();
     case UmlPackage.TRANSITION__TARGET:
       return !getTarget().isEmpty();
     case UmlPackage.TRANSITION__REDEFINED_TRANSITION:
       return !getRedefinedTransition().isEmpty();
     case UmlPackage.TRANSITION__TRIGGER:
       return !getTrigger().isEmpty();
     case UmlPackage.TRANSITION__GUARD:
       return !getGuard().isEmpty();
     case UmlPackage.TRANSITION__EFFECT:
       return !getEffect().isEmpty();
     case UmlPackage.TRANSITION__KIND:
       return isSetKind();
     case UmlPackage.TRANSITION__REDEFINED_TRANSITION1:
       return REDEFINED_TRANSITION1_EDEFAULT == null
           ? redefinedTransition1 != null
           : !REDEFINED_TRANSITION1_EDEFAULT.equals(redefinedTransition1);
     case UmlPackage.TRANSITION__SOURCE1:
       return SOURCE1_EDEFAULT == null ? source1 != null : !SOURCE1_EDEFAULT.equals(source1);
     case UmlPackage.TRANSITION__TARGET1:
       return TARGET1_EDEFAULT == null ? target1 != null : !TARGET1_EDEFAULT.equals(target1);
     case UmlPackage.TRANSITION__TRIGGER1:
       return TRIGGER1_EDEFAULT == null ? trigger1 != null : !TRIGGER1_EDEFAULT.equals(trigger1);
   }
   return super.eIsSet(featureID);
 }
예제 #9
0
파일: TrTypeImpl.java 프로젝트: rinsley/rmf
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case XhtmlPackage.TR_TYPE__GROUP:
       return group != null && !group.isEmpty();
     case XhtmlPackage.TR_TYPE__TH:
       return !getTh().isEmpty();
     case XhtmlPackage.TR_TYPE__TD:
       return !getTd().isEmpty();
     case XhtmlPackage.TR_TYPE__ALIGN:
       return isSetAlign();
     case XhtmlPackage.TR_TYPE__CHAR:
       return CHAR_EDEFAULT == null ? char_ != null : !CHAR_EDEFAULT.equals(char_);
     case XhtmlPackage.TR_TYPE__CHAROFF:
       return CHAROFF_EDEFAULT == null ? charoff != null : !CHAROFF_EDEFAULT.equals(charoff);
     case XhtmlPackage.TR_TYPE__CLASS:
       return CLASS_EDEFAULT == null ? class_ != null : !CLASS_EDEFAULT.equals(class_);
     case XhtmlPackage.TR_TYPE__ID:
       return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
     case XhtmlPackage.TR_TYPE__STYLE:
       return STYLE_EDEFAULT == null ? style != null : !STYLE_EDEFAULT.equals(style);
     case XhtmlPackage.TR_TYPE__TITLE:
       return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
     case XhtmlPackage.TR_TYPE__VALIGN:
       return isSetValign();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case Gml311Package.FEATURE_PROPERTY_TYPE__FEATURE_GROUP:
       return featureGroup != null && !featureGroup.isEmpty();
     case Gml311Package.FEATURE_PROPERTY_TYPE__FEATURE:
       return getFeature() != null;
     case Gml311Package.FEATURE_PROPERTY_TYPE__ACTUATE:
       return isSetActuate();
     case Gml311Package.FEATURE_PROPERTY_TYPE__ARCROLE:
       return ARCROLE_EDEFAULT == null ? arcrole != null : !ARCROLE_EDEFAULT.equals(arcrole);
     case Gml311Package.FEATURE_PROPERTY_TYPE__HREF:
       return HREF_EDEFAULT == null ? href != null : !HREF_EDEFAULT.equals(href);
     case Gml311Package.FEATURE_PROPERTY_TYPE__REMOTE_SCHEMA:
       return REMOTE_SCHEMA_EDEFAULT == null
           ? remoteSchema != null
           : !REMOTE_SCHEMA_EDEFAULT.equals(remoteSchema);
     case Gml311Package.FEATURE_PROPERTY_TYPE__ROLE:
       return ROLE_EDEFAULT == null ? role != null : !ROLE_EDEFAULT.equals(role);
     case Gml311Package.FEATURE_PROPERTY_TYPE__SHOW:
       return isSetShow();
     case Gml311Package.FEATURE_PROPERTY_TYPE__TITLE:
       return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
     case Gml311Package.FEATURE_PROPERTY_TYPE__TYPE:
       return isSetType();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case _0Package.EMBEDDED_TYPE1__GROUP:
       return group != null && !group.isEmpty();
     case _0Package.EMBEDDED_TYPE1__ANY:
       return !getAny().isEmpty();
     case _0Package.EMBEDDED_TYPE1__VALUE_TYPE:
       return VALUE_TYPE_EDEFAULT == null
           ? valueType != null
           : !VALUE_TYPE_EDEFAULT.equals(valueType);
     case _0Package.EMBEDDED_TYPE1__ANY_ATTRIBUTE:
       return anyAttribute != null && !anyAttribute.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #12
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);
 }
예제 #13
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case POMPackage.CONFIGURATION_TYPE1__ANY:
       return any != null && !any.isEmpty();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case ToscaPackage.PROPERTIES_TYPE_WITH_PROPERTY_MAPPINGS__ANY:
       return any != null && !any.isEmpty();
     case ToscaPackage.PROPERTIES_TYPE_WITH_PROPERTY_MAPPINGS__PROPERTY_MAPPINGS:
       return propertyMappings != null;
   }
   return super.eIsSet(featureID);
 }
예제 #15
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case Fes20Package.UPPER_BOUNDARY_TYPE__EXPRESSION_GROUP:
       return expressionGroup != null && !expressionGroup.isEmpty();
     case Fes20Package.UPPER_BOUNDARY_TYPE__EXPRESSION:
       return getExpression() != null;
   }
   return super.eIsSet(featureID);
 }
예제 #16
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case UmlPackage.STATE_INVARIANT__GROUP6:
       return group6 != null && !group6.isEmpty();
     case UmlPackage.STATE_INVARIANT__INVARIANT:
       return !getInvariant().isEmpty();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case FinalPackage.PARENT_EDGE_TYPE__IFC_EDGE_GROUP:
       return ifcEdgeGroup != null && !ifcEdgeGroup.isEmpty();
     case FinalPackage.PARENT_EDGE_TYPE__IFC_EDGE:
       return getIfcEdge() != null;
   }
   return super.eIsSet(featureID);
 }
예제 #18
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case XmcPackage.CYCLIC_PLAN_E__GROUP:
       return group != null && !group.isEmpty();
     case XmcPackage.CYCLIC_PLAN_E__PLAN:
       return !getPlan().isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #19
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case SwitchyardPackage.TRANSFORMS_TYPE__TRANSFORM_GROUP:
       return transformGroup != null && !transformGroup.isEmpty();
     case SwitchyardPackage.TRANSFORMS_TYPE__TRANSFORM:
       return !getTransform().isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #20
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case RifPackage.SPECRELATIONS_TYPE1__GROUP:
       return group != null && !group.isEmpty();
     case RifPackage.SPECRELATIONS_TYPE1__SPECRELATIONREF:
       return !getSPECRELATIONREF().isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #21
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case AddressingPackage.ATTRIBUTED_QNAME_TYPE__VALUE:
       return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
     case AddressingPackage.ATTRIBUTED_QNAME_TYPE__ANY_ATTRIBUTE:
       return anyAttribute != null && !anyAttribute.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #22
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case JsdlPackage.EXACT_TYPE__VALUE:
       return isSetValue();
     case JsdlPackage.EXACT_TYPE__EPSILON:
       return isSetEpsilon();
     case JsdlPackage.EXACT_TYPE__ANY_ATTRIBUTE:
       return anyAttribute != null && !anyAttribute.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #23
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case Csw20Package.BRIEF_RECORD_TYPE__IDENTIFIER_GROUP:
       return identifierGroup != null && !identifierGroup.isEmpty();
     case Csw20Package.BRIEF_RECORD_TYPE__IDENTIFIER:
       return !getIdentifier().isEmpty();
     case Csw20Package.BRIEF_RECORD_TYPE__TITLE_GROUP:
       return titleGroup != null && !titleGroup.isEmpty();
     case Csw20Package.BRIEF_RECORD_TYPE__TITLE:
       return !getTitle().isEmpty();
     case Csw20Package.BRIEF_RECORD_TYPE__TYPE:
       return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
     case Csw20Package.BRIEF_RECORD_TYPE__BOUNDING_BOX_GROUP:
       return boundingBoxGroup != null && !boundingBoxGroup.isEmpty();
     case Csw20Package.BRIEF_RECORD_TYPE__BOUNDING_BOX:
       return !getBoundingBox().isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #24
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case ServerTypePackage.PUBLISHER__GROUP:
       return group != null && !group.isEmpty();
     case ServerTypePackage.PUBLISHER__PUBLISHERDATA:
       return !getPublisherdata().isEmpty();
     case ServerTypePackage.PUBLISHER__ID:
       return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case UmaPackage.PROCESS_COMPONENT_INTERFACE__GROUP2:
       return group2 != null && !group2.isEmpty();
     case UmaPackage.PROCESS_COMPONENT_INTERFACE__INTERFACE_SPECIFICATION:
       return !getInterfaceSpecification().isEmpty();
     case UmaPackage.PROCESS_COMPONENT_INTERFACE__INTERFACE_IO:
       return !getInterfaceIO().isEmpty();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case XtcePackage.INPUT_SET_TYPE__GROUP:
       return group != null && !group.isEmpty();
     case XtcePackage.INPUT_SET_TYPE__PARAMETER_INSTANCE_REF:
       return !getParameterInstanceRef().isEmpty();
     case XtcePackage.INPUT_SET_TYPE__CONSTANT:
       return !getConstant().isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #27
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case Wfs20Package.ADDITIONAL_OBJECTS_TYPE__VALUE_COLLECTION:
       return valueCollection != null;
     case Wfs20Package.ADDITIONAL_OBJECTS_TYPE__SIMPLE_FEATURE_COLLECTION_GROUP:
       return simpleFeatureCollectionGroup != null && !simpleFeatureCollectionGroup.isEmpty();
     case Wfs20Package.ADDITIONAL_OBJECTS_TYPE__SIMPLE_FEATURE_COLLECTION:
       return getSimpleFeatureCollection() != null;
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case Gml311Package.SOLID_ARRAY_PROPERTY_TYPE__GROUP:
       return group != null && !group.isEmpty();
     case Gml311Package.SOLID_ARRAY_PROPERTY_TYPE__SOLID_GROUP:
       return !getSolidGroup().isEmpty();
     case Gml311Package.SOLID_ARRAY_PROPERTY_TYPE__SOLID:
       return !getSolid().isEmpty();
   }
   return super.eIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case XmldsigPackage.PGP_DATA_TYPE1__PGP_KEY_ID:
       return PGP_KEY_ID_EDEFAULT == null
           ? pGPKeyID != null
           : !PGP_KEY_ID_EDEFAULT.equals(pGPKeyID);
     case XmldsigPackage.PGP_DATA_TYPE1__PGP_KEY_PACKET:
       return PGP_KEY_PACKET_EDEFAULT == null
           ? pGPKeyPacket != null
           : !PGP_KEY_PACKET_EDEFAULT.equals(pGPKeyPacket);
     case XmldsigPackage.PGP_DATA_TYPE1__ANY:
       return any != null && !any.isEmpty();
     case XmldsigPackage.PGP_DATA_TYPE1__PGP_KEY_PACKET1:
       return PGP_KEY_PACKET1_EDEFAULT == null
           ? pGPKeyPacket1 != null
           : !PGP_KEY_PACKET1_EDEFAULT.equals(pGPKeyPacket1);
     case XmldsigPackage.PGP_DATA_TYPE1__ANY1:
       return any1 != null && !any1.isEmpty();
   }
   return super.eIsSet(featureID);
 }
예제 #30
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case TextPackage.CHARACTER_COUNT_TYPE__MIXED:
       return mixed != null && !mixed.isEmpty();
     case TextPackage.CHARACTER_COUNT_TYPE__NUM_FORMAT:
       return NUM_FORMAT_EDEFAULT == null
           ? numFormat != null
           : !NUM_FORMAT_EDEFAULT.equals(numFormat);
     case TextPackage.CHARACTER_COUNT_TYPE__NUM_LETTER_SYNC:
       return isSetNumLetterSync();
   }
   return super.eIsSet(featureID);
 }