Class MapSingleUseObjectAdapter
- java.lang.Object
- 
- org.keycloak.models.map.singleUseObject.AbstractSingleUseObjectModel<MapSingleUseObjectEntity>
- 
- org.keycloak.models.map.singleUseObject.MapSingleUseObjectAdapter
 
 
- 
- All Implemented Interfaces:
- SingleUseObjectValueModel
 
 public class MapSingleUseObjectAdapter extends AbstractSingleUseObjectModel<MapSingleUseObjectEntity> - Author:
- Martin Kanis
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.keycloak.models.SingleUseObjectValueModelSingleUseObjectValueModel.SearchableFields
 
- 
 - 
Field Summary- 
Fields inherited from class org.keycloak.models.map.singleUseObject.AbstractSingleUseObjectModelentity, session
 
- 
 - 
Constructor SummaryConstructors Constructor Description MapSingleUseObjectAdapter(KeycloakSession session, MapSingleUseObjectEntity entity)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNote(String name)Returns value of the given note (ornullwhen no note of this name is present)Map<String,String>getNotes()Returns unmodifiable map of all notes.- 
Methods inherited from class org.keycloak.models.map.singleUseObject.AbstractSingleUseObjectModelequals, hashCode
 
- 
 
- 
- 
- 
Constructor Detail- 
MapSingleUseObjectAdapterpublic MapSingleUseObjectAdapter(KeycloakSession session, MapSingleUseObjectEntity entity) 
 
- 
 - 
Method Detail- 
getNotespublic Map<String,String> getNotes() Description copied from interface:SingleUseObjectValueModelReturns unmodifiable map of all notes.- Returns:
- see description. Returns empty map if no note is set, never returns null.
 
 - 
getNotepublic String getNote(String name) Description copied from interface:SingleUseObjectValueModelReturns value of the given note (ornullwhen no note of this name is present)- Returns:
- see description
 
 
- 
 
-