Class DefaultVertexConverter<T extends AbstractAuthorizationEntity,E extends KeyEntity>
- java.lang.Object
-
- org.openiam.common.graph.converter.DefaultVertexConverter<T,E>
-
- All Implemented Interfaces:
VertexConverter<T,E>
- Direct Known Subclasses:
GroupVertexConverter
,OrganizationVertexConverter
,ResourceVertexConverter
,RoleVertexConverter
,UserVertexConverter
public abstract class DefaultVertexConverter<T extends AbstractAuthorizationEntity,E extends KeyEntity> extends Object implements VertexConverter<T,E>
-
-
Constructor Summary
Constructors Constructor Description DefaultVertexConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
createFromProperties(Map<Object,Object> map)
Map<GraphVariables,String>
createProperties(E entity)
Map<GraphVariables,String>
createProperties(T entity)
protected void
setProperty(GraphVariables variable, Map<Object,Object> properties, T instance)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openiam.common.graph.converter.VertexConverter
newInstance
-
-
-
-
Method Detail
-
createProperties
public Map<GraphVariables,String> createProperties(E entity)
- Specified by:
createProperties
in interfaceVertexConverter<T extends AbstractAuthorizationEntity,E extends KeyEntity>
-
createProperties
public Map<GraphVariables,String> createProperties(T entity)
- Specified by:
createProperties
in interfaceVertexConverter<T extends AbstractAuthorizationEntity,E extends KeyEntity>
-
setProperty
protected void setProperty(GraphVariables variable, Map<Object,Object> properties, T instance)
-
createFromProperties
public T createFromProperties(Map<Object,Object> map)
- Specified by:
createFromProperties
in interfaceVertexConverter<T extends AbstractAuthorizationEntity,E extends KeyEntity>
-
-