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.String ARTIFACT  
    static java.lang.String END_COLUMN  
    static java.lang.String END_LINE  
    static java.lang.String START_COLUMN  
    static java.lang.String START_LINE  
  • Constructor Summary

    Constructors
    Constructor Description
    LocationConverter()  
  • Method Summary

    Modifier and Type Method Description
    PhysicalLocation toEntityAttribute​(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

  • Constructor Details

    • LocationConverter

      public LocationConverter()
  • Method Details

    • toGraphProperties

      public java.util.Map<java.lang.String,​?> toGraphProperties​(PhysicalLocation value)
      Specified by:
      toGraphProperties in interface org.neo4j.ogm.typeconversion.CompositeAttributeConverter<PhysicalLocation>
    • toEntityAttribute

      public PhysicalLocation toEntityAttribute​(java.util.Map<java.lang.String,​?> value)
      Specified by:
      toEntityAttribute in interface org.neo4j.ogm.typeconversion.CompositeAttributeConverter<PhysicalLocation>