Record Class DeviceProfileConfig
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.opcua.server.api.DeviceProfileConfig
- Record Components:
type- an identifier unique to the type of Device, i.e., thetypeIdof theDeviceExtensionPoint.browsePath- an optional String that defines an additional folder hierarchy underneath the "Devices" folder that this Device should be placed in.rolePermissionMappings- a List ofRolePermissionMappings that define the permissions granted to a role for the Device represented by this profile.
- All Implemented Interfaces:
ExtensionPointProfileConfig
public record DeviceProfileConfig(String type, @Nullable String browsePath, @Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping> rolePermissionMappings)
extends Record
implements ExtensionPointProfileConfig
Profile configuration object common to all
Devices and DeviceExtensionPoints.-
Constructor Summary
ConstructorsConstructorDescriptionDeviceProfileConfig(String type, @Nullable String browsePath, @Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping> rolePermissionMappings) Creates an instance of aDeviceProfileConfigrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thebrowsePathrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping>Returns the value of therolePermissionMappingsrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
DeviceProfileConfig
public DeviceProfileConfig(String type, @Nullable @Nullable String browsePath, @Nullable @Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping> rolePermissionMappings) Creates an instance of aDeviceProfileConfigrecord class.- Parameters:
type- the value for thetyperecord componentbrowsePath- the value for thebrowsePathrecord componentrolePermissionMappings- the value for therolePermissionMappingsrecord 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). -
type
Returns the value of thetyperecord component.- Specified by:
typein interfaceExtensionPointProfileConfig- Returns:
- the value of the
typerecord component
-
browsePath
Returns the value of thebrowsePathrecord component.- Returns:
- the value of the
browsePathrecord component
-
rolePermissionMappings
@Nullable public @Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping> rolePermissionMappings()Returns the value of therolePermissionMappingsrecord component.- Returns:
- the value of the
rolePermissionMappingsrecord component
-