Package de.fraunhofer.aisec.cpg.helpers
Class TypeConverter
- java.lang.Object
-
- de.fraunhofer.aisec.cpg.helpers.TypeConverter
-
- All Implemented Interfaces:
org.neo4j.ogm.typeconversion.CompositeAttributeConverter<Type>
- Direct Known Subclasses:
TypeConverter.CastTypeConverter
public class TypeConverter extends java.lang.Object implements org.neo4j.ogm.typeconversion.CompositeAttributeConverter<Type>
TheTypeConverteris a helper converter that takes the Object-basedTypeand serializes into a flatten structured in the database graph. It stores the type as a string representation, usingType.toString()as well as additional information such as modifiers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypeConverter.CastTypeConverter
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringbasePropertyName
-
Constructor Summary
Constructors Constructor Description TypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypetoEntityAttribute(java.util.Map<java.lang.String,?> value)java.util.Map<java.lang.String,?>toGraphProperties(Type value)
-