Record Class PerspectiveViewInfo
java.lang.Object
java.lang.Record
com.inductiveautomation.perspective.gateway.session.PerspectiveViewInfo
-
Constructor Summary
ConstructorsConstructorDescriptionPerspectiveViewInfo
(String id, String resourcePath, String mountPath, int componentCount, int bindingCount) Creates an instance of aPerspectiveViewInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of thebindingCount
record component.int
Returns the value of thecomponentCount
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.Returns the value of themountPath
record component.Returns the value of theresourcePath
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
PerspectiveViewInfo
public PerspectiveViewInfo(String id, String resourcePath, String mountPath, int componentCount, int bindingCount) Creates an instance of aPerspectiveViewInfo
record class.- Parameters:
id
- the value for theid
record componentresourcePath
- the value for theresourcePath
record componentmountPath
- the value for themountPath
record componentcomponentCount
- the value for thecomponentCount
record componentbindingCount
- the value for thebindingCount
record 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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
resourcePath
Returns the value of theresourcePath
record component.- Returns:
- the value of the
resourcePath
record component
-
mountPath
Returns the value of themountPath
record component.- Returns:
- the value of the
mountPath
record component
-
componentCount
public int componentCount()Returns the value of thecomponentCount
record component.- Returns:
- the value of the
componentCount
record component
-
bindingCount
public int bindingCount()Returns the value of thebindingCount
record component.- Returns:
- the value of the
bindingCount
record component
-