Record Class BeanReduction<I>
java.lang.Object
java.lang.Record
org.microbean.bean.BeanReduction<I>
- Type Parameters:
I- the type of contextual instances the suppliedBeanis capable of creating- Record Components:
attributedType- anAttributedTypebean- aBeandeemed suitable for theattributedType
@Deprecated(since="0.0.18")
public record BeanReduction<I>(AttributedType attributedType, Bean<I> bean)
extends Record
Deprecated.
This class seems not to be needed so is tentatively deprecated.
A pairing of an
AttributedType and a Bean resulting from a reduction.- Author:
- Laird Nelson
-
Constructor Summary
ConstructorsConstructorDescriptionBeanReduction(AttributedType attributedType, Bean<I> bean) Deprecated.Creates a newBeanReduction. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the value of theattributedTyperecord component.bean()Deprecated.Returns the value of thebeanrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.final StringtoString()Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
BeanReduction
Deprecated.Creates a newBeanReduction.- Parameters:
attributedType- anAttributedType; must not benullbean- aBeandeemed suitable for theattributedType; must not benull
-
-
Method Details
-
toString
-
hashCode
-
equals
Deprecated.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). -
attributedType
Deprecated.Returns the value of theattributedTyperecord component.- Returns:
- the value of the
attributedTyperecord component
-
bean
-