/**
  *
  * <!-- begin-user-doc -->
  *
  * @since 4.1
  *     <!-- end-user-doc -->
  * @generated NOT
  */
 @Override
 public Any toAny() {
   // END GENERATED CODE
   Any retVal = JacorbUtil.init().create_any();
   List<DataType> fields = new ArrayList<DataType>();
   for (FeatureMap.Entry propRefEntry : getRefs()) {
     AbstractPropertyRef<?> propRef = (AbstractPropertyRef<?>) propRefEntry.getValue();
     fields.add(new DataType(propRef.getRefID(), propRef.toAny()));
   }
   PropertiesHelper.insert(retVal, fields.toArray(new DataType[fields.size()]));
   return retVal;
   // BEGIN GENERATED CODE
 }
 /**
  *
  * <!-- begin-user-doc -->
  *
  * @since 5.0
  *     <!-- end-user-doc -->
  * @generated NOT
  * @since 5.0
  */
 @Override
 public AbstractPropertyRef<?> getRef(String id) {
   // END GENERATED CODE
   if (id == null) {
     return null;
   }
   for (FeatureMap.Entry entry : getRefs()) {
     AbstractPropertyRef<?> ref = (AbstractPropertyRef<?>) entry.getValue();
     if (id.equals(ref.getRefID())) {
       return ref;
     }
   }
   return null;
   // BEGIN GENERATED CODE
 }