Interface IndexedElement

  • All Known Implementing Classes:
    IndexedElementImpl

    public interface IndexedElement
    Indexed elements (IDs) define a unique ID for a collection of multiple metadata elements of the same type within the mzTab-M document, e.g. for sample, assay, study variable etc.
    Author:
    nilshoffmann
    • Method Detail

      • getId

        Integer getId()
        Returns the id of the indexed element. May be null.
        Returns:
        the id.
      • of

        static IndexedElement of​(Object element)
        Create a new indexed element as a proxy of the provided element.
        Parameters:
        element - the element with a getId, hashCode and toString method to proxy.
        Returns:
        the indexed element proxy.
        Throws:
        javax.validation.ValidationException - if the passed in element can not be proxied.