Record Class ResourceType
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.project.resource.ResourceType
- All Implemented Interfaces:
Serializable
@Deprecated(since="8.3")
public record ResourceType(@Nonnull String moduleId, @Nullable String typeId)
extends Record
implements Serializable
Deprecated.
Required for backward compatibility with 8.1 and earlier.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceType
(String moduleId, String typeId) Deprecated.Creates an instance of aResourceType
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Deprecated.Indicates whether some other object is "equal to" this one.final int
hashCode()
Deprecated.Returns a hash code value for this object.moduleId()
Deprecated.Returns the value of themoduleId
record component.final String
toString()
Deprecated.Returns a string representation of this record class.typeId()
Deprecated.Returns the value of thetypeId
record component.
-
Constructor Details
-
ResourceType
Deprecated.Creates an instance of aResourceType
record class.- Parameters:
moduleId
- the value for themoduleId
record componenttypeId
- the value for thetypeId
record component
-
-
Method Details
-
toString
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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)
. -
moduleId
Deprecated.Returns the value of themoduleId
record component.- Returns:
- the value of the
moduleId
record component
-
typeId
Deprecated.Returns the value of thetypeId
record component.- Returns:
- the value of the
typeId
record component
-