Record Class BuscaTransportadoraRelacionada.TransportadoraRelacionada
java.lang.Object
java.lang.Record
br.com.intersys.systextil.function.BuscaTransportadoraRelacionada.TransportadoraRelacionada
- Enclosing class:
BuscaTransportadoraRelacionada
public static record BuscaTransportadoraRelacionada.TransportadoraRelacionada(CNPJ transp, int contratoCif)
extends Record
Dados de um registro da tabela
SUPR_132.-
Constructor Summary
ConstructorsConstructorDescriptionTransportadoraRelacionada(CNPJ transp, int contratoCif) Creates an instance of aTransportadoraRelacionadarecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecontratoCifrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.transp()Returns the value of thetransprecord component.
-
Constructor Details
-
TransportadoraRelacionada
Creates an instance of aTransportadoraRelacionadarecord class.- Parameters:
transp- the value for thetransprecord componentcontratoCif- the value for thecontratoCifrecord 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 '=='. -
transp
Returns the value of thetransprecord component.- Returns:
- the value of the
transprecord component
-
contratoCif
public int contratoCif()Returns the value of thecontratoCifrecord component.- Returns:
- the value of the
contratoCifrecord component
-