Record Class ObjectIdentity
java.lang.Object
java.lang.Record
org.j7m.middleware.security.api.ObjectIdentity
- Record Components:
objectId- object idruntimeId- hosting runtime id
- All Implemented Interfaces:
Serializable
public record ObjectIdentity(String objectId, String runtimeId)
extends Record
implements Serializable
Immutable object identity used in permission resources.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionObjectIdentity(String objectId, String runtimeId) Creates an object identity. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.objectId()Returns the value of theobjectIdrecord component.Returns the value of theruntimeIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ObjectIdentity
-
-
Method Details
-
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). -
objectId
-
runtimeId
-