Class JpaAttributeEntity<E>
- java.lang.Object
-
- org.keycloak.models.map.storage.jpa.JpaAttributeEntity<E>
-
- All Implemented Interfaces:
Serializable
,JpaChildEntity<E>
- Direct Known Subclasses:
JpaAttributeEntityWithHashValue
,JpaClientSessionNoteEntity
,JpaPolicyConfigEntity
,JpaResourceAttributeEntity
,JpaSingleUseObjectNoteEntity
,JpaUserSessionNoteEntity
@MappedSuperclass public abstract class JpaAttributeEntity<E> extends Object implements JpaChildEntity<E>
Interface for jpa child entities which are in form of attributes. In other words it contains name and value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaAttributeEntity()
JpaAttributeEntity(E root, String name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
UUID
getId()
String
getName()
E
getParent()
Parent entity that should get its optimistic locking version updated upon changes in the childString
getValue()
int
hashCode()
void
setName(String name)
void
setParent(E root)
void
setValue(String value)
-
-
-
Method Detail
-
getId
public UUID getId()
-
getName
public String getName()
-
setName
public void setName(String name)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getParent
public E getParent()
Description copied from interface:JpaChildEntity
Parent entity that should get its optimistic locking version updated upon changes in the child- Specified by:
getParent
in interfaceJpaChildEntity<E>
-
setParent
public void setParent(E root)
-
-