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, @Nullable ItemName referenceAttributeName)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNativeParticipant
(@NotNull String objectClassName, @Nullable ItemName referenceAttributeName) Creates an instance of aNativeParticipant
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.@Nullable ItemName
Returns the value of thereferenceAttributeName
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
NativeParticipant
public NativeParticipant(@NotNull @NotNull String objectClassName, @Nullable @Nullable ItemName referenceAttributeName) Creates an instance of aNativeParticipant
record class.- Parameters:
objectClassName
- the value for theobjectClassName
record componentreferenceAttributeName
- the value for thereferenceAttributeName
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
-
referenceAttributeName
Returns the value of thereferenceAttributeName
record component.- Returns:
- the value of the
referenceAttributeName
record component
-