Record Class MappingSupport.Prop

java.lang.Object
java.lang.Record
org.seasar.doma.internal.jdbc.command.MappingSupport.Prop
Record Components:
propType - The type of the property containing metadata such as entity type, property path, and property type.
property - The underlying property object providing accessors and modifiers.
rawValue - The raw value associated with this property, as retrieved from the data source.
Enclosing class:
MappingSupport

public static record MappingSupport.Prop(MappingSupport.PropType propType, Property<Object,?> property, Object rawValue) extends Record
Represents a property mapping for an entity during result set processing. This record encapsulates metadata and value related to a specific property, providing utility methods for accessing property-specific details.
  • Constructor Details

  • Method Details

    • entityType

      public EntityType<?> entityType()
    • propertyPath

      public String propertyPath()
    • name

      public String name()
    • isId

      public boolean isId()
    • wrapper

      public Wrapper<?> wrapper()
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • propType

      public MappingSupport.PropType propType()
      Returns the value of the propType record component.
      Returns:
      the value of the propType record component
    • property

      public Property<Object,?> property()
      Returns the value of the property record component.
      Returns:
      the value of the property record component
    • rawValue

      public Object rawValue()
      Returns the value of the rawValue record component.
      Returns:
      the value of the rawValue record component