com.h3c.api

## Interface Versionable

- All Known Implementing Classes:
    Alert

      public interface Versionable

  Provides the ability to carry the JPA Version value with the object

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Long` | `getVersion()` The JPA persistence version identification.
    `void` | `setVersion(Long version)` Sets the version.

- - ### Method Detail

    - #### getVersion

          Long getVersion()

      The JPA persistence version identification. Used for the optimistic locking aspect of the persistence layer. Allows for conversion from Transport object to Data Access object to properly interact with the persistence layer
      Returns:
        the internal version number

    - #### setVersion

          void setVersion(Long version)

      Sets the version.
      Parameters:
        `version` - the version.

Copyright © 2014. All Rights Reserved.