Record Class TestScriptDisplay.FixtureDisplay
java.lang.Object
java.lang.Record
org.fhirfrog.frog.testscriptrender.TestScriptDisplay.FixtureDisplay
- Record Components:
id- the fixture's element id, used elsewhere as asourceId/sourceIdreferenceautocreate- whether the fixture is POSTed to the server before it is usedautodelete- whether the fixture is DELETEd from the server during teardownresourceReference- the local reference (e.g. a contained/bundled example resource id) this fixture points at
- Enclosing class:
- TestScriptDisplay
public static record TestScriptDisplay.FixtureDisplay(String id, boolean autocreate, boolean autodelete, String resourceReference)
extends Record
A single
TestScript.fixture entry.-
Constructor Summary
ConstructorsConstructorDescriptionFixtureDisplay(String id, boolean autocreate, boolean autodelete, String resourceReference) Creates an instance of aFixtureDisplayrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theautocreaterecord component.booleanReturns the value of theautodeleterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theresourceReferencerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FixtureDisplay
Creates an instance of aFixtureDisplayrecord class.- Parameters:
id- the value for theidrecord componentautocreate- the value for theautocreaterecord componentautodelete- the value for theautodeleterecord componentresourceReference- the value for theresourceReferencerecord 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 '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
autocreate
public boolean autocreate()Returns the value of theautocreaterecord component.- Returns:
- the value of the
autocreaterecord component
-
autodelete
public boolean autodelete()Returns the value of theautodeleterecord component.- Returns:
- the value of the
autodeleterecord component
-
resourceReference
Returns the value of theresourceReferencerecord component.- Returns:
- the value of the
resourceReferencerecord component
-