Record Class PassoRoteiroDTO
java.lang.Object
java.lang.Record
br.com.intersys.systextil.function.pcpc.rotinarecalculo.dto.PassoRoteiroDTO
public record PassoRoteiroDTO(int codigoEstagio, int codigoOperacao, int codigoFamilia, int seqOperacao, int sequenciaEstagio, int estagioDepende, int pedeProduto)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPassoRoteiroDTO(int codigoEstagio, int codigoOperacao, int codigoFamilia, int seqOperacao, int sequenciaEstagio, int estagioDepende, int pedeProduto) Creates an instance of aPassoRoteiroDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecodigoEstagiorecord component.intReturns the value of thecodigoFamiliarecord component.intReturns the value of thecodigoOperacaorecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theestagioDependerecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thepedeProdutorecord component.intReturns the value of theseqOperacaorecord component.intReturns the value of thesequenciaEstagiorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PassoRoteiroDTO
public PassoRoteiroDTO(int codigoEstagio, int codigoOperacao, int codigoFamilia, int seqOperacao, int sequenciaEstagio, int estagioDepende, int pedeProduto) Creates an instance of aPassoRoteiroDTOrecord class.- Parameters:
codigoEstagio- the value for thecodigoEstagiorecord componentcodigoOperacao- the value for thecodigoOperacaorecord componentcodigoFamilia- the value for thecodigoFamiliarecord componentseqOperacao- the value for theseqOperacaorecord componentsequenciaEstagio- the value for thesequenciaEstagiorecord componentestagioDepende- the value for theestagioDependerecord componentpedeProduto- the value for thepedeProdutorecord 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 with '=='. -
codigoEstagio
public int codigoEstagio()Returns the value of thecodigoEstagiorecord component.- Returns:
- the value of the
codigoEstagiorecord component
-
codigoOperacao
public int codigoOperacao()Returns the value of thecodigoOperacaorecord component.- Returns:
- the value of the
codigoOperacaorecord component
-
codigoFamilia
public int codigoFamilia()Returns the value of thecodigoFamiliarecord component.- Returns:
- the value of the
codigoFamiliarecord component
-
seqOperacao
public int seqOperacao()Returns the value of theseqOperacaorecord component.- Returns:
- the value of the
seqOperacaorecord component
-
sequenciaEstagio
public int sequenciaEstagio()Returns the value of thesequenciaEstagiorecord component.- Returns:
- the value of the
sequenciaEstagiorecord component
-
estagioDepende
public int estagioDepende()Returns the value of theestagioDependerecord component.- Returns:
- the value of the
estagioDependerecord component
-
pedeProduto
public int pedeProduto()Returns the value of thepedeProdutorecord component.- Returns:
- the value of the
pedeProdutorecord component
-