com.h3c.util.dao

## Interface Storable<I extends Serializable>

- Type Parameters:
    `I` - type of the storable's id (Primary key for databases). It should be an immutable type. It is critical this type implements equals() and hashCode() correctly.
  All Known Implementing Classes:
    AlertEntity, AlertTopicListenerEntity, AuditLogEntryEntity, BaseEntity, BaseVersionedEntity, CtlAddrManagerEntity, HostManagerEntity, LicenseEntity, LicInstallIdEntity, RegionEntity, SystemInformationEntity, SystemLocalEntity, SystemLocalVersionedEntity

      public interface Storable<I extends Serializable>

  Abstraction of a nondescript persisted entity.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `I` | `getId()` Gets the internally-assigned identifier used for intra-model references.

- - ### Method Detail

    - #### getId

          I getId()

      Gets the internally-assigned identifier used for intra-model references. This identifier is generated internally by the persistence layer and is assumed to be unique per object type, and hence per database table.
      Returns:
        internal object identifier suitable as a table lookup key

Copyright © 2014. All Rights Reserved.