code: public static MetamodelImpl getMetamodel(final KunderaMetadata kunderaMetadata, String persistenceUnit)
      {
          MetamodelImpl metamodel = (MetamodelImpl) kunderaMetadata.getApplicationMetadata()
                  .getMetamodel(persistenceUnit);
  
          return metamodel;
      }
docs: Gets the metamodel.
  
  @param persistenceUnit
  the persistence unit
  @return the metamodel