Package org.aksw.jenax.shellgebra.cmd
Record Class OpSpecContentConvertRdf
java.lang.Object
java.lang.Record
org.aksw.jenax.shellgebra.cmd.OpSpecContentConvertRdf
public record OpSpecContentConvertRdf(String sourceFormat, String targetFormat, String baseIri)
extends Record
RDF content conversion may require a base IRI.
-
Constructor Summary
ConstructorsConstructorDescriptionOpSpecContentConvertRdf(String sourceFormat, String targetFormat, String baseIri) Creates an instance of aOpSpecContentConvertRdfrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbaseIri()Returns the value of thebaseIrirecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesourceFormatrecord component.Returns the value of thetargetFormatrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OpSpecContentConvertRdf
Creates an instance of aOpSpecContentConvertRdfrecord class.- Parameters:
sourceFormat- the value for thesourceFormatrecord componenttargetFormat- the value for thetargetFormatrecord componentbaseIri- the value for thebaseIrirecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
sourceFormat
Returns the value of thesourceFormatrecord component.- Returns:
- the value of the
sourceFormatrecord component
-
targetFormat
Returns the value of thetargetFormatrecord component.- Returns:
- the value of the
targetFormatrecord component
-
baseIri
Returns the value of thebaseIrirecord component.- Returns:
- the value of the
baseIrirecord component
-