示例#1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case PivotPackage.OPERATION_CALL_EXP__OWNED_COMMENT:
       return ownedComments != null && !ownedComments.isEmpty();
     case PivotPackage.OPERATION_CALL_EXP__MONIKER:
       return MONIKER_EDEFAULT == null
           ? getMoniker() != null
           : !MONIKER_EDEFAULT.equals(getMoniker());
     case PivotPackage.OPERATION_CALL_EXP__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case PivotPackage.OPERATION_CALL_EXP__OWNED_RULE:
       return ownedRules != null && !ownedRules.isEmpty();
     case PivotPackage.OPERATION_CALL_EXP__IS_STATIC:
       return ((eFlags & IS_STATIC_EFLAG) != 0) != IS_STATIC_EDEFAULT;
     case PivotPackage.OPERATION_CALL_EXP__OWNED_ANNOTATION:
       return ownedAnnotations != null && !ownedAnnotations.isEmpty();
     case PivotPackage.OPERATION_CALL_EXP__TYPE:
       return type != null;
     case PivotPackage.OPERATION_CALL_EXP__SOURCE:
       return source != null;
     case PivotPackage.OPERATION_CALL_EXP__IMPLICIT:
       return ((eFlags & IMPLICIT_EFLAG) != 0) != IMPLICIT_EDEFAULT;
     case PivotPackage.OPERATION_CALL_EXP__IS_PRE:
       return ((eFlags & IS_PRE_EFLAG) != 0) != IS_PRE_EDEFAULT;
     case PivotPackage.OPERATION_CALL_EXP__ARGUMENT:
       return arguments != null && !arguments.isEmpty();
     case PivotPackage.OPERATION_CALL_EXP__REFERRED_OPERATION:
       return referredOperation != null;
   }
   return eDynamicIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case PivotPackage.COLLECTION_LITERAL_EXP__OWNED_COMMENT:
       return ownedComments != null && !ownedComments.isEmpty();
     case PivotPackage.COLLECTION_LITERAL_EXP__MONIKER:
       return MONIKER_EDEFAULT == null
           ? getMoniker() != null
           : !MONIKER_EDEFAULT.equals(getMoniker());
     case PivotPackage.COLLECTION_LITERAL_EXP__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case PivotPackage.COLLECTION_LITERAL_EXP__OWNED_RULE:
       return ownedRules != null && !ownedRules.isEmpty();
     case PivotPackage.COLLECTION_LITERAL_EXP__IS_STATIC:
       return ((eFlags & IS_STATIC_EFLAG) != 0) != IS_STATIC_EDEFAULT;
     case PivotPackage.COLLECTION_LITERAL_EXP__OWNED_ANNOTATION:
       return ownedAnnotations != null && !ownedAnnotations.isEmpty();
     case PivotPackage.COLLECTION_LITERAL_EXP__TYPE:
       return type != null;
     case PivotPackage.COLLECTION_LITERAL_EXP__KIND:
       return (eFlags & KIND_EFLAG) != KIND_EFLAG_DEFAULT;
     case PivotPackage.COLLECTION_LITERAL_EXP__PART:
       return parts != null && !parts.isEmpty();
   }
   return eDynamicIsSet(featureID);
 }
示例#3
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case NotationPackage.PROPERTIES_SET_STYLE__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case NotationPackage.PROPERTIES_SET_STYLE__PROPERTIES_MAP:
       return propertiesMap != null && !propertiesMap.isEmpty();
   }
   return eDynamicIsSet(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case PivotPackage.SEND_SIGNAL_ACTION__ANNOTATING_COMMENTS:
       return annotatingComments != null && !annotatingComments.isEmpty();
     case PivotPackage.SEND_SIGNAL_ACTION__OWNED_ANNOTATIONS:
       return ownedAnnotations != null && !ownedAnnotations.isEmpty();
     case PivotPackage.SEND_SIGNAL_ACTION__OWNED_COMMENTS:
       return ownedComments != null && !ownedComments.isEmpty();
     case PivotPackage.SEND_SIGNAL_ACTION__OWNED_EXTENSIONS:
       return ownedExtensions != null && !ownedExtensions.isEmpty();
     case PivotPackage.SEND_SIGNAL_ACTION__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case PivotPackage.SEND_SIGNAL_ACTION__SIGNAL:
       return signal != null;
   }
   return eDynamicIsSet(featureID);
 }
示例#5
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public boolean eIsSet(EStructuralFeature eFeature) {
   switch (eDerivedStructuralFeatureID(eFeature)) {
     case TransformationPackage.FILTER_NODE__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case TransformationPackage.FILTER_NODE__OWNER:
       return getOwner() != null;
     case TransformationPackage.FILTER_NODE__INPUT_LINKS:
       return inputLinks != null && !inputLinks.isEmpty();
     case TransformationPackage.FILTER_NODE__OUTPUT_LINKS:
       return outputLinks != null && !outputLinks.isEmpty();
     case TransformationPackage.FILTER_NODE__EXPRESSIONS:
       return expressions != null && !expressions.isEmpty();
     case TransformationPackage.FILTER_NODE__NODE_GROUP:
       return getNodeGroup() != null;
   }
   return eDynamicIsSet(eFeature);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public boolean eIsSet(int featureID) {
   switch (featureID) {
     case UML2Package.LITERAL_BOOLEAN__EANNOTATIONS:
       return eAnnotations != null && !eAnnotations.isEmpty();
     case UML2Package.LITERAL_BOOLEAN__OWNED_ELEMENT:
       return isSetOwnedElements();
     case UML2Package.LITERAL_BOOLEAN__OWNER:
       return isSetOwner();
     case UML2Package.LITERAL_BOOLEAN__OWNED_COMMENT:
       return ownedComments != null && !ownedComments.isEmpty();
     case UML2Package.LITERAL_BOOLEAN__TEMPLATE_BINDING:
       return templateBindings != null && !templateBindings.isEmpty();
     case UML2Package.LITERAL_BOOLEAN__OWNED_TEMPLATE_SIGNATURE:
       return ownedTemplateSignature != null;
     case UML2Package.LITERAL_BOOLEAN__NAME:
       return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
     case UML2Package.LITERAL_BOOLEAN__QUALIFIED_NAME:
       return QUALIFIED_NAME_EDEFAULT == null
           ? getQualifiedName() != null
           : !QUALIFIED_NAME_EDEFAULT.equals(getQualifiedName());
     case UML2Package.LITERAL_BOOLEAN__VISIBILITY:
       return visibility != VISIBILITY_EDEFAULT;
     case UML2Package.LITERAL_BOOLEAN__CLIENT_DEPENDENCY:
       return clientDependencies != null && !clientDependencies.isEmpty();
     case UML2Package.LITERAL_BOOLEAN__NAME_EXPRESSION:
       return nameExpression != null;
     case UML2Package.LITERAL_BOOLEAN__TYPE:
       return type != null;
     case UML2Package.LITERAL_BOOLEAN__TEMPLATE_PARAMETER:
       return templateParameter != null;
     case UML2Package.LITERAL_BOOLEAN__OWNING_PARAMETER:
       return getOwningParameter() != null;
     case UML2Package.LITERAL_BOOLEAN__VALUE:
       return ((eFlags & VALUE_EFLAG) != 0) != VALUE_EDEFAULT;
   }
   return eDynamicIsSet(featureID);
 }