org.keycloak.models.jpa.entities

## Class SocialLinkEntity.Key

- java.lang.Object
- - org.keycloak.models.jpa.entities.SocialLinkEntity.Key

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    SocialLinkEntity

      public static class SocialLinkEntity.Key
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `socialProvider`
    `protected UserEntity` | `user`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SocialLinkEntity.Key()`
    `SocialLinkEntity.Key(UserEntity user, String socialProvider)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `String` | `getSocialProvider()`
    `UserEntity` | `getUser()`
    `int` | `hashCode()`

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

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

- - ### Field Detail

    - #### user

          protected UserEntity user

    - #### socialProvider

          protected String socialProvider

  - ### Constructor Detail

    - #### SocialLinkEntity.Key

          public SocialLinkEntity.Key()

    - #### SocialLinkEntity.Key

          public SocialLinkEntity.Key(UserEntity user,
                              String socialProvider)

  - ### Method Detail

    - #### getUser

          public UserEntity getUser()

    - #### getSocialProvider

          public String getSocialProvider()

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2014. All Rights Reserved.