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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhysicalLocationtoEntityAttribute(java.util.Map<java.lang.String,?> value)java.util.Map<java.lang.String,?>toGraphProperties(PhysicalLocation value)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
toGraphProperties
public java.util.Map<java.lang.String,?> toGraphProperties(PhysicalLocation value)
- Specified by:
toGraphPropertiesin interfaceorg.neo4j.ogm.typeconversion.CompositeAttributeConverter<PhysicalLocation>
-
toEntityAttribute
public PhysicalLocation toEntityAttribute(java.util.Map<java.lang.String,?> value)
- Specified by:
toEntityAttributein interfaceorg.neo4j.ogm.typeconversion.CompositeAttributeConverter<PhysicalLocation>
-
-