Package smartrics.iotics.space.twins
Record Class JsonPathMapper.TwinConf
java.lang.Object
java.lang.Record
smartrics.iotics.space.twins.JsonPathMapper.TwinConf
- Enclosing class:
- JsonPathMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecommentPrefixrecord component.final booleanIndicates whether some other object is "equal to" this one.feeds()Returns the value of thefeedsrecord component.final inthashCode()Returns a hash code value for this object.idPaths()Returns the value of theidPathsrecord component.Returns the value of thekeyPrefixrecord component.Returns the value of thelabelPathsrecord component.Returns the value of thelocationPathrecord component.Returns the value of themetadataPathrecord component.Returns the value of theontologyRootrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aTwinConfrecord class.- Parameters:
ontologyRoot- the value for theontologyRootrecord componentkeyPrefix- the value for thekeyPrefixrecord componentidPaths- the value for theidPathsrecord componentlabelPaths- the value for thelabelPathsrecord componentlocationPath- the value for thelocationPathrecord componentcommentPrefix- the value for thecommentPrefixrecord componentmetadataPath- the value for themetadataPathrecord componentfeeds- the value for thefeedsrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
ontologyRoot
Returns the value of theontologyRootrecord component.- Returns:
- the value of the
ontologyRootrecord component
-
keyPrefix
Returns the value of thekeyPrefixrecord component.- Returns:
- the value of the
keyPrefixrecord component
-
idPaths
Returns the value of theidPathsrecord component.- Returns:
- the value of the
idPathsrecord component
-
labelPaths
Returns the value of thelabelPathsrecord component.- Returns:
- the value of the
labelPathsrecord component
-
locationPath
Returns the value of thelocationPathrecord component.- Returns:
- the value of the
locationPathrecord component
-
commentPrefix
Returns the value of thecommentPrefixrecord component.- Returns:
- the value of the
commentPrefixrecord component
-
metadataPath
Returns the value of themetadataPathrecord component.- Returns:
- the value of the
metadataPathrecord component
-
feeds
Returns the value of thefeedsrecord component.- Returns:
- the value of the
feedsrecord component
-