Record Class ReadShapefileRequest
java.lang.Object
java.lang.Record
ch.so.agi.gretl.geotools.internal.operations.ReadShapefileRequest
- All Implemented Interfaces:
GeoToolsOperationRequest
public record ReadShapefileRequest(String taskName, Path shapefile, String crsCode)
extends Record
implements GeoToolsOperationRequest
-
Constructor Summary
ConstructorsConstructorDescriptionReadShapefileRequest(String taskName, Path shapefile, String crsCode) Creates an instance of aReadShapefileRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncrsCode()Returns the value of thecrsCoderecord 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 theshapefilerecord component.taskName()Returns the value of thetaskNamerecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.so.agi.gretl.geotools.internal.operations.GeoToolsOperationRequest
values
-
Constructor Details
-
ReadShapefileRequest
Creates an instance of aReadShapefileRequestrecord class.- Parameters:
taskName- the value for thetaskNamerecord componentshapefile- the value for theshapefilerecord componentcrsCode- the value for thecrsCoderecord component
-
-
Method Details
-
operation
- Specified by:
operationin interfaceGeoToolsOperationRequest
-
parameters
- Specified by:
parametersin interfaceGeoToolsOperationRequest
-
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). -
taskName
Returns the value of thetaskNamerecord component.- Returns:
- the value of the
taskNamerecord component
-
shapefile
Returns the value of theshapefilerecord component.- Returns:
- the value of the
shapefilerecord component
-
crsCode
Returns the value of thecrsCoderecord component.- Returns:
- the value of the
crsCoderecord component
-