All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.molgenis.data.meta.MetadataIdGenerator Maven / Gradle / Ivy

There is a newer version: 8.4.5
Show newest version
package org.molgenis.data.meta;

import org.molgenis.data.meta.model.Attribute;
import org.molgenis.data.meta.model.EntityType;

/** Generator for human readable entity type and attribute identifiers. */
public interface MetadataIdGenerator {
  /**
   * Generates a human readable identifier for the given entity type.
   *
   * @param entityType entity type
   * @return human readable entity type identifier
   */
  String generateId(EntityType entityType);

  /**
   * Generates a human readable identifier for the given attribute.
   *
   * @param attribute attribute
   * @return human readable attribute identifier
   */
  String generateId(Attribute attribute);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy