Record Class AgingOutcome
java.lang.Object
java.lang.Record
ke.ric.api.aging.AgingOutcome
-
Constructor Summary
ConstructorsConstructorDescriptionAgingOutcome(String itemId, int yield) AgingOutcome(String itemId, int yield, List<String> lore) AgingOutcome(String itemId, int yield, List<String> lore, Set<String> contains, Set<String> excludedProperties) Creates an instance of aAgingOutcomerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontains()Returns the value of thecontainsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludedPropertiesrecord component.final inthashCode()Returns a hash code value for this object.itemId()Returns the value of theitemIdrecord component.lore()Returns the value of thelorerecord component.final StringtoString()Returns a string representation of this record class.intyield()Returns the value of theyieldrecord component.
-
Constructor Details
-
AgingOutcome
-
AgingOutcome
-
AgingOutcome
public AgingOutcome(String itemId, int yield, List<String> lore, Set<String> contains, Set<String> excludedProperties) Creates an instance of aAgingOutcomerecord class.- Parameters:
itemId- the value for theitemIdrecord componentyield- the value for theyieldrecord componentlore- the value for thelorerecord componentcontains- the value for thecontainsrecord componentexcludedProperties- the value for theexcludedPropertiesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
itemId
Returns the value of theitemIdrecord component.- Returns:
- the value of the
itemIdrecord component
-
yield
public int yield()Returns the value of theyieldrecord component.- Returns:
- the value of the
yieldrecord component
-
lore
-
contains
-
excludedProperties
-