Package de.isas.mztab2.model
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 Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getId()
Returns the id of the indexed element.static IndexedElement
of(Object element)
Create a new indexed element as a proxy of the provided element.
-
-
-
Method Detail
-
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.
-
-