Package com.easydesk.modules.om.record
Record Class CoordinateRow
java.lang.Object
java.lang.Record
com.easydesk.modules.om.record.CoordinateRow
public record CoordinateRow(Long coordinateId, BigDecimal longitude, BigDecimal latitude, Integer altitude)
extends Record
Auto Generated Code from EasyDesk System. You should modify this code in order to work property
-
Constructor Summary
ConstructorsConstructorDescriptionCoordinateRow(Long coordinateId, BigDecimal longitude, BigDecimal latitude, Integer altitude) Creates an instance of aCoordinateRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaltitude()Returns the value of thealtituderecord component.Returns the value of thecoordinateIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.latitude()Returns the value of thelatituderecord component.Returns the value of thelongituderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CoordinateRow
public CoordinateRow(Long coordinateId, BigDecimal longitude, BigDecimal latitude, Integer altitude) Creates an instance of aCoordinateRowrecord class.- Parameters:
coordinateId- the value for thecoordinateIdrecord componentlongitude- the value for thelongituderecord componentlatitude- the value for thelatituderecord componentaltitude- the value for thealtituderecord 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). -
coordinateId
Returns the value of thecoordinateIdrecord component.- Returns:
- the value of the
coordinateIdrecord component
-
longitude
Returns the value of thelongituderecord component.- Returns:
- the value of the
longituderecord component
-
latitude
Returns the value of thelatituderecord component.- Returns:
- the value of the
latituderecord component
-
altitude
Returns the value of thealtituderecord component.- Returns:
- the value of the
altituderecord component
-