Record Class MappingOutcome
java.lang.Object
java.lang.Record
ai.stapi.schema.structureSchemaMapper.MappingOutcome
public record MappingOutcome(StructureSchema structureSchema, List<UnresolvableType> unresolvableTypes, List<String> successfullyMappedTypes)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMappingOutcome(StructureSchema structureSchema, List<UnresolvableType> unresolvableTypes, List<String> successfullyMappedTypes) Creates an instance of aMappingOutcomerecord class. -
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.Returns the value of thestructureSchemarecord component.Returns the value of thesuccessfullyMappedTypesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunresolvableTypesrecord component.
-
Constructor Details
-
MappingOutcome
public MappingOutcome(StructureSchema structureSchema, List<UnresolvableType> unresolvableTypes, List<String> successfullyMappedTypes) Creates an instance of aMappingOutcomerecord class.- Parameters:
structureSchema- the value for thestructureSchemarecord componentunresolvableTypes- the value for theunresolvableTypesrecord componentsuccessfullyMappedTypes- the value for thesuccessfullyMappedTypesrecord 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). -
structureSchema
Returns the value of thestructureSchemarecord component.- Returns:
- the value of the
structureSchemarecord component
-
unresolvableTypes
Returns the value of theunresolvableTypesrecord component.- Returns:
- the value of the
unresolvableTypesrecord component
-
successfullyMappedTypes
Returns the value of thesuccessfullyMappedTypesrecord component.- Returns:
- the value of the
successfullyMappedTypesrecord component
-