Record Class Location
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.location.Location
A Location uniquely identifies a resource in the project (by
ResourceId), plus
some additional context in the form of simple string key/value pairs. Individual module/resource
workspaces can indicate they support being 'located' by implementing the Locatable
interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(String key) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresourceIdrecord component.toString()Returns a string representation of this record class.valueMap()Returns the value of thevalueMaprecord component.
-
Constructor Details
-
Location
public Location(com.inductiveautomation.ignition.common.tags.config.model.TagReferenceLocation tagReferenceLocation) -
Location
Creates an instance of aLocationrecord class.- Parameters:
resourceId- the value for theresourceIdrecord componentvalueMap- the value for thevalueMaprecord component
-
-
Method Details
-
getResourcePath
-
getResourceType
-
containsKey
-
get
-
toString
-
hashCode
-
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). -
resourceId
Returns the value of theresourceIdrecord component.- Returns:
- the value of the
resourceIdrecord component
-
valueMap
-