Record Class Pcpc020DTO
java.lang.Object
java.lang.Record
br.com.intersys.systextil.function.pcpc.rotinarecalculo.dto.Pcpc020DTO
public record Pcpc020DTO(String referenciaPeca, int periodoProducao, int alternativaPeca, int roteiroPeca, int tipoProgramacao, String observacao)
extends Record
Dados da ordem de produção lidos da
PCPC_020, usados como base
para recriação dos estágios na rotina de recálculo.-
Constructor Summary
ConstructorsConstructorDescriptionPcpc020DTO(String referenciaPeca, int periodoProducao, int alternativaPeca, int roteiroPeca, int tipoProgramacao, String observacao) Creates an instance of aPcpc020DTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thealternativaPecarecord 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 theobservacaorecord component.intReturns the value of theperiodoProducaorecord component.Returns the value of thereferenciaPecarecord component.intReturns the value of theroteiroPecarecord component.intReturns the value of thetipoProgramacaorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Pcpc020DTO
public Pcpc020DTO(String referenciaPeca, int periodoProducao, int alternativaPeca, int roteiroPeca, int tipoProgramacao, String observacao) Creates an instance of aPcpc020DTOrecord class.- Parameters:
referenciaPeca- the value for thereferenciaPecarecord componentperiodoProducao- the value for theperiodoProducaorecord componentalternativaPeca- the value for thealternativaPecarecord componentroteiroPeca- the value for theroteiroPecarecord componenttipoProgramacao- the value for thetipoProgramacaorecord componentobservacao- the value for theobservacaorecord 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 '=='. -
referenciaPeca
Returns the value of thereferenciaPecarecord component.- Returns:
- the value of the
referenciaPecarecord component
-
periodoProducao
public int periodoProducao()Returns the value of theperiodoProducaorecord component.- Returns:
- the value of the
periodoProducaorecord component
-
alternativaPeca
public int alternativaPeca()Returns the value of thealternativaPecarecord component.- Returns:
- the value of the
alternativaPecarecord component
-
roteiroPeca
public int roteiroPeca()Returns the value of theroteiroPecarecord component.- Returns:
- the value of the
roteiroPecarecord component
-
tipoProgramacao
public int tipoProgramacao()Returns the value of thetipoProgramacaorecord component.- Returns:
- the value of the
tipoProgramacaorecord component
-
observacao
Returns the value of theobservacaorecord component.- Returns:
- the value of the
observacaorecord component
-