Package de.fraunhofer.aisec.cpg.helpers
Class LocationConverter
java.lang.Object
de.fraunhofer.aisec.cpg.helpers.LocationConverter
- All Implemented Interfaces:
org.neo4j.ogm.typeconversion.CompositeAttributeConverter<PhysicalLocation>
public class LocationConverter extends java.lang.Object implements org.neo4j.ogm.typeconversion.CompositeAttributeConverter<PhysicalLocation>
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringARTIFACTstatic java.lang.StringEND_COLUMNstatic java.lang.StringEND_LINEstatic java.lang.StringSTART_COLUMNstatic java.lang.StringSTART_LINE -
Constructor Summary
Constructors Constructor Description LocationConverter() -
Method Summary
Modifier and Type Method Description PhysicalLocationtoEntityAttribute(java.util.Map<java.lang.String,?> value)java.util.Map<java.lang.String,?>toGraphProperties(PhysicalLocation value)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
START_LINE
public static final java.lang.String START_LINE- See Also:
- Constant Field Values
-
END_LINE
public static final java.lang.String END_LINE- See Also:
- Constant Field Values
-
START_COLUMN
public static final java.lang.String START_COLUMN- See Also:
- Constant Field Values
-
END_COLUMN
public static final java.lang.String END_COLUMN- See Also:
- Constant Field Values
-
ARTIFACT
public static final java.lang.String ARTIFACT- See Also:
- Constant Field Values
-
-
Constructor Details
-
LocationConverter
public LocationConverter()
-
-
Method Details
-
toGraphProperties
- Specified by:
toGraphPropertiesin interfaceorg.neo4j.ogm.typeconversion.CompositeAttributeConverter<PhysicalLocation>
-
toEntityAttribute
- Specified by:
toEntityAttributein interfaceorg.neo4j.ogm.typeconversion.CompositeAttributeConverter<PhysicalLocation>
-