Record Class NativeReferenceTypeDefinition.NativeParticipant
java.lang.Object
java.lang.Record
com.evolveum.midpoint.schema.processor.NativeReferenceTypeDefinition.NativeParticipant
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- NativeReferenceTypeDefinition
public static record NativeReferenceTypeDefinition.NativeParticipant(@NotNull String objectClassName, @NotNull ItemName associationName)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionNativeParticipant
(@NotNull String objectClassName, @NotNull ItemName associationName) Creates an instance of aNativeParticipant
record class. -
Method Summary
Modifier and TypeMethodDescription@NotNull ItemName
Returns the value of theassociationName
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.@NotNull String
Returns the value of theobjectClassName
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
NativeParticipant
public NativeParticipant(@NotNull @NotNull String objectClassName, @NotNull @NotNull ItemName associationName) Creates an instance of aNativeParticipant
record class.- Parameters:
objectClassName
- the value for theobjectClassName
record componentassociationName
- the value for theassociationName
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
objectClassName
Returns the value of theobjectClassName
record component.- Returns:
- the value of the
objectClassName
record component
-
associationName
Returns the value of theassociationName
record component.- Returns:
- the value of the
associationName
record component
-