Class UnitDaoImpl

  • All Implemented Interfaces:
    BaseDao<Unit>, UnitDao

    @Repository
    public class UnitDaoImpl
    extends AbstractDao<Unit>
    implements UnitDao

    Base Spring DAO Class: is able to create, update, remove, load, and find objects of type ubic.gemma.model.common.measurement.Unit.

    Author:
    paul
    See Also:
    Unit
    • Method Detail

      • find

        public Unit find​(Unit unit)
        Description copied from interface: BaseDao
        Does a look up for the given entity in the persistent storage, usually looking for a specific identifier ( either id or a string property).
        Specified by:
        find in interface BaseDao<Unit>
        Specified by:
        find in interface UnitDao
        Overrides:
        find in class AbstractDao<Unit>
        Parameters:
        unit - the entity to look for.
        Returns:
        an entity that was found in the persistent storage, or null if no such entity was found.