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

    Constructors
    Constructor
    Description
    Pcpc020DTO(String referenciaPeca, int periodoProducao, int alternativaPeca, int roteiroPeca, int tipoProgramacao, String observacao)
    Creates an instance of a Pcpc020DTO record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the alternativaPeca record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the observacao record component.
    int
    Returns the value of the periodoProducao record component.
    Returns the value of the referenciaPeca record component.
    int
    Returns the value of the roteiroPeca record component.
    int
    Returns the value of the tipoProgramacao record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Pcpc020DTO

      public Pcpc020DTO(String referenciaPeca, int periodoProducao, int alternativaPeca, int roteiroPeca, int tipoProgramacao, String observacao)
      Creates an instance of a Pcpc020DTO record class.
      Parameters:
      referenciaPeca - the value for the referenciaPeca record component
      periodoProducao - the value for the periodoProducao record component
      alternativaPeca - the value for the alternativaPeca record component
      roteiroPeca - the value for the roteiroPeca record component
      tipoProgramacao - the value for the tipoProgramacao record component
      observacao - the value for the observacao record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • referenciaPeca

      public String referenciaPeca()
      Returns the value of the referenciaPeca record component.
      Returns:
      the value of the referenciaPeca record component
    • periodoProducao

      public int periodoProducao()
      Returns the value of the periodoProducao record component.
      Returns:
      the value of the periodoProducao record component
    • alternativaPeca

      public int alternativaPeca()
      Returns the value of the alternativaPeca record component.
      Returns:
      the value of the alternativaPeca record component
    • roteiroPeca

      public int roteiroPeca()
      Returns the value of the roteiroPeca record component.
      Returns:
      the value of the roteiroPeca record component
    • tipoProgramacao

      public int tipoProgramacao()
      Returns the value of the tipoProgramacao record component.
      Returns:
      the value of the tipoProgramacao record component
    • observacao

      public String observacao()
      Returns the value of the observacao record component.
      Returns:
      the value of the observacao record component