com.h3c.sdn.adm.dao.model

## Class LicInstallIdEntity

- java.lang.Object
- - com.h3c.sdn.adm.dao.model.LicInstallIdEntity

- All Implemented Interfaces:
    Storable<Long>

      @Entity
      public class LicInstallIdEntity
      extends Object
      implements Storable<Long>

  License install id persistence representation

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LicInstallIdEntity()` Contructor
    `LicInstallIdEntity(int leaderInstallId, int localInstallId)` Creates a License Install Id Entity.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Long` | `getId()` Gets the internally-assigned identifier used for intra-model references.
    `int` | `getLeaderInstallId()` Returns the leader assigned install id
    `int` | `getLocalInstallId()` Returns member local assigned install id

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LicInstallIdEntity

          public LicInstallIdEntity()

      Contructor

    - #### LicInstallIdEntity

          public LicInstallIdEntity(int leaderInstallId,
                            int localInstallId)

      Creates a License Install Id Entity.
      Parameters:
        `leaderInstallId` - leader install base id for licensing purposes
        `localInstallId` - local install base id for licensing purposes

  - ### Method Detail

    - #### getId

          public Long getId()

      Description copied from interface: `Storable`
      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.
      Specified by:
        `getId` in interface `Storable<Long>`
      Returns:
        internal object identifier suitable as a table lookup key

    - #### getLeaderInstallId

          public int getLeaderInstallId()

      Returns the leader assigned install id
      Returns:
        the leaderInstallId

    - #### getLocalInstallId

          public int getLocalInstallId()

      Returns member local assigned install id
      Returns:
        the localInstallId

Copyright © 2014. All Rights Reserved.