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 booleanequals(Object obj)UUIDgetId()StringgetName()EgetParent()Parent entity that should get its optimistic locking version updated upon changes in the childStringgetValue()inthashCode()voidsetName(String name)voidsetParent(E root)voidsetValue(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:JpaChildEntityParent entity that should get its optimistic locking version updated upon changes in the child- Specified by:
getParentin interfaceJpaChildEntity<E>
-
setParent
public void setParent(E root)
-
-