code: public static AtlasCardinality createCardinality(Cardinality cardinality) {
  
          if (cardinality == Cardinality.SINGLE) {
              return AtlasCardinality.SINGLE;
          } else if (cardinality == Cardinality.LIST) {
              return AtlasCardinality.LIST;
          }
          return AtlasCardinality.SET;
      }
docs: Converts a Multiplicity to a Cardinality.
  
  @param cardinality
  @return