org.keycloak.models.map.authorization.adapter

## Class AbstractResourceModel<E extends AbstractEntity<?>>

- java.lang.Object
- - org.keycloak.authorization.model.AbstractAuthorizationModel
  - - org.keycloak.models.map.authorization.adapter.AbstractResourceModel<E>

- All Implemented Interfaces:
    Resource
  Direct Known Subclasses:
    MapResourceAdapter

      public abstract class AbstractResourceModel<E extends AbstractEntity<?>>
      extends AbstractAuthorizationModel
      implements Resource

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.keycloak.authorization.model.Resource

      `Resource.FilterOption, Resource.SearchableFields`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected E` | `entity`

    - ### Fields inherited from class org.keycloak.authorization.model.AbstractAuthorizationModel

      `storeFactory`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractResourceModel(E entity, StoreFactory storeFactory)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`

    - ### Methods inherited from class org.keycloak.authorization.model.AbstractAuthorizationModel

      `throwExceptionIfReadonly`

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

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

    - ### Methods inherited from interface org.keycloak.authorization.model.Resource

      `getAttribute, getAttributes, getDisplayName, getIconUri, getId, getName, getOwner, getResourceServer, getScopes, getSingleAttribute, getType, getUris, isOwnerManagedAccess, removeAttribute, setAttribute, setDisplayName, setIconUri, setName, setOwnerManagedAccess, setType, updateScopes, updateUris`

- - ### Field Detail

    - #### entity

          protected final E extends AbstractEntity<?> entity

  - ### Constructor Detail

    - #### AbstractResourceModel

          public AbstractResourceModel(E entity,
                                       StoreFactory storeFactory)

  - ### Method Detail

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2021 JBoss by Red Hat. All rights reserved.