Record Class CsvManifestSnapshotBuilder.ManifestSpec
java.lang.Object
java.lang.Record
org.impulsegraph.builder.csv.CsvManifestSnapshotBuilder.ManifestSpec
- Enclosing class:
CsvManifestSnapshotBuilder
public static record CsvManifestSnapshotBuilder.ManifestSpec(String formatVersion, String suiteName, List<CsvManifestSnapshotBuilder.DomainSpec> domains, List<CsvManifestSnapshotBuilder.RelationSpec> relations)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionManifestSpec(String formatVersion, String suiteName, List<CsvManifestSnapshotBuilder.DomainSpec> domains, List<CsvManifestSnapshotBuilder.RelationSpec> relations) Creates an instance of aManifestSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondomains()Returns the value of thedomainsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theformatVersionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of therelationsrecord component.Returns the value of thesuiteNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ManifestSpec
public ManifestSpec(String formatVersion, String suiteName, List<CsvManifestSnapshotBuilder.DomainSpec> domains, List<CsvManifestSnapshotBuilder.RelationSpec> relations) Creates an instance of aManifestSpecrecord class.- Parameters:
formatVersion- the value for theformatVersionrecord componentsuiteName- the value for thesuiteNamerecord componentdomains- the value for thedomainsrecord componentrelations- the value for therelationsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
formatVersion
Returns the value of theformatVersionrecord component.- Returns:
- the value of the
formatVersionrecord component
-
suiteName
Returns the value of thesuiteNamerecord component.- Returns:
- the value of the
suiteNamerecord component
-
domains
Returns the value of thedomainsrecord component.- Returns:
- the value of the
domainsrecord component
-
relations
Returns the value of therelationsrecord component.- Returns:
- the value of the
relationsrecord component
-