Record Class Location
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.location.Location
public record Location(ProjectResourceId projectResourceId, Map<String,String> valueMap)
extends Record 
A Location uniquely identifies a resource in the project (by 
ProjectResourceId), 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 SummaryConstructors
- 
Method SummaryModifier 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 theprojectResourceIdrecord component.toString()Returns a string representation of this record class.valueMap()Returns the value of thevalueMaprecord component.
- 
Constructor Details- 
Locationpublic Location(com.inductiveautomation.ignition.common.tags.config.model.TagReferenceLocation tagReferenceLocation) 
- 
LocationCreates an instance of aLocationrecord class.- Parameters:
- projectResourceId- the value for the- projectResourceIdrecord component
- valueMap- the value for the- valueMaprecord component
 
 
- 
- 
Method Details- 
getResourcePath
- 
getResourceType
- 
containsKey
- 
get
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
projectResourceIdReturns the value of theprojectResourceIdrecord component.- Returns:
- the value of the projectResourceIdrecord component
 
- 
valueMapReturns the value of thevalueMaprecord component.- Returns:
- the value of the valueMaprecord component
 
 
-