Module org.seasar.doma.core
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 Summary
ConstructorsConstructorDescriptionProp(MappingSupport.PropType propType, Property<Object, ?> property, Object rawValue) Creates an instance of aProprecord class. -
Method Summary
Modifier and TypeMethodDescriptionEntityType<?>final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisId()name()property()Returns the value of thepropertyrecord component.propType()Returns the value of thepropTyperecord component.rawValue()Returns the value of therawValuerecord component.final StringtoString()Returns a string representation of this record class.Wrapper<?>wrapper()
-
Constructor Details
-
Method Details
-
entityType
-
propertyPath
-
name
-
isId
public boolean isId() -
wrapper
-
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). -
propType
Returns the value of thepropTyperecord component.- Returns:
- the value of the
propTyperecord component
-
property
Returns the value of thepropertyrecord component.- Returns:
- the value of the
propertyrecord component
-
rawValue
Returns the value of therawValuerecord component.- Returns:
- the value of the
rawValuerecord component
-