Class JpaRoleCompositeEntityKey

java.lang.Object
org.keycloak.models.map.storage.jpa.role.entity.JpaRoleCompositeEntityKey
All Implemented Interfaces:
Serializable

@Embeddable public class JpaRoleCompositeEntityKey extends Object implements Serializable
The composite primary key representation for JpaRoleCompositeEntity. Required for performing a lookup by primary key through the JPA entity manager.
See Also:
  • Constructor Details

    • JpaRoleCompositeEntityKey

      public JpaRoleCompositeEntityKey()
    • JpaRoleCompositeEntityKey

      public JpaRoleCompositeEntityKey(String roleId, String childRoleId)
  • Method Details

    • getRoleId

      public UUID getRoleId()
    • getChildRoleId

      public String getChildRoleId()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object