Record Class JsonPathMapper.TwinConf

java.lang.Object
java.lang.Record
smartrics.iotics.space.twins.JsonPathMapper.TwinConf
Enclosing class:
JsonPathMapper

public static record JsonPathMapper.TwinConf(String ontologyRoot, String keyPrefix, List<String> idPaths, List<String> labelPaths, String locationPath, String commentPrefix, String metadataPath, List<JsonPathMapper.FeedConf> feeds) extends Record
  • Constructor Details

    • TwinConf

      public TwinConf(String ontologyRoot, String keyPrefix, List<String> idPaths, List<String> labelPaths, String locationPath, String commentPrefix, String metadataPath, List<JsonPathMapper.FeedConf> feeds)
      Creates an instance of a TwinConf record class.
      Parameters:
      ontologyRoot - the value for the ontologyRoot record component
      keyPrefix - the value for the keyPrefix record component
      idPaths - the value for the idPaths record component
      labelPaths - the value for the labelPaths record component
      locationPath - the value for the locationPath record component
      commentPrefix - the value for the commentPrefix record component
      metadataPath - the value for the metadataPath record component
      feeds - the value for the feeds record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • ontologyRoot

      public String ontologyRoot()
      Returns the value of the ontologyRoot record component.
      Returns:
      the value of the ontologyRoot record component
    • keyPrefix

      public String keyPrefix()
      Returns the value of the keyPrefix record component.
      Returns:
      the value of the keyPrefix record component
    • idPaths

      public List<String> idPaths()
      Returns the value of the idPaths record component.
      Returns:
      the value of the idPaths record component
    • labelPaths

      public List<String> labelPaths()
      Returns the value of the labelPaths record component.
      Returns:
      the value of the labelPaths record component
    • locationPath

      public String locationPath()
      Returns the value of the locationPath record component.
      Returns:
      the value of the locationPath record component
    • commentPrefix

      public String commentPrefix()
      Returns the value of the commentPrefix record component.
      Returns:
      the value of the commentPrefix record component
    • metadataPath

      public String metadataPath()
      Returns the value of the metadataPath record component.
      Returns:
      the value of the metadataPath record component
    • feeds

      public List<JsonPathMapper.FeedConf> feeds()
      Returns the value of the feeds record component.
      Returns:
      the value of the feeds record component