Package de.xam.featdoc.system
Record Class Universe.ResultStep
java.lang.Object
java.lang.Record
de.xam.featdoc.system.Universe.ResultStep
- Enclosing class:
- Universe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.Returns the value of thecauseFromScenariorecord component.final booleanIndicates whether some other object is "equal to" this one.feature()Returns the value of thefeaturerecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisScenariorecord component.rule()Returns the value of therulerecord component.source()Returns the value of thesourcerecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResultStep
public ResultStep(Feature feature, Rule rule, Event action, boolean isScenario, Step causeFromScenario, System source, System target) Creates an instance of aResultSteprecord class.- Parameters:
feature- the value for thefeaturerecord componentrule- the value for therulerecord componentaction- the value for theactionrecord componentisScenario- the value for theisScenariorecord componentcauseFromScenario- the value for thecauseFromScenariorecord componentsource- the value for thesourcerecord componenttarget- the value for thetargetrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
feature
Returns the value of thefeaturerecord component.- Returns:
- the value of the
featurerecord component
-
rule
Returns the value of therulerecord component.- Returns:
- the value of the
rulerecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
isScenario
public boolean isScenario()Returns the value of theisScenariorecord component.- Returns:
- the value of the
isScenariorecord component
-
causeFromScenario
Returns the value of thecauseFromScenariorecord component.- Returns:
- the value of the
causeFromScenariorecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-