Record Class RotinaRecalculoDTO

java.lang.Object
java.lang.Record
br.com.intersys.systextil.function.pcpc.rotinarecalculo.dto.RotinaRecalculoDTO

public record RotinaRecalculoDTO(int ordem_producao, int ordem_confeccao, String nivel_recal, String grupo_recal, String subrgrupo_recal, String item_recal, int periodo_producao_real) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    RotinaRecalculoDTO(int ordem_producao, int ordem_confeccao, String nivel_recal, String grupo_recal, String subrgrupo_recal, String item_recal, int periodo_producao_real)
    Creates an instance of a RotinaRecalculoDTO record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the grupo_recal record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the item_recal record component.
    Returns the value of the nivel_recal record component.
    int
    Returns the value of the ordem_confeccao record component.
    int
    Returns the value of the ordem_producao record component.
    int
    Returns the value of the periodo_producao_real record component.
    Returns the value of the subrgrupo_recal 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

    • RotinaRecalculoDTO

      public RotinaRecalculoDTO(int ordem_producao, int ordem_confeccao, String nivel_recal, String grupo_recal, String subrgrupo_recal, String item_recal, int periodo_producao_real)
      Creates an instance of a RotinaRecalculoDTO record class.
      Parameters:
      ordem_producao - the value for the ordem_producao record component
      ordem_confeccao - the value for the ordem_confeccao record component
      nivel_recal - the value for the nivel_recal record component
      grupo_recal - the value for the grupo_recal record component
      subrgrupo_recal - the value for the subrgrupo_recal record component
      item_recal - the value for the item_recal record component
      periodo_producao_real - the value for the periodo_producao_real 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.
    • ordem_producao

      public int ordem_producao()
      Returns the value of the ordem_producao record component.
      Returns:
      the value of the ordem_producao record component
    • ordem_confeccao

      public int ordem_confeccao()
      Returns the value of the ordem_confeccao record component.
      Returns:
      the value of the ordem_confeccao record component
    • nivel_recal

      public String nivel_recal()
      Returns the value of the nivel_recal record component.
      Returns:
      the value of the nivel_recal record component
    • grupo_recal

      public String grupo_recal()
      Returns the value of the grupo_recal record component.
      Returns:
      the value of the grupo_recal record component
    • subrgrupo_recal

      public String subrgrupo_recal()
      Returns the value of the subrgrupo_recal record component.
      Returns:
      the value of the subrgrupo_recal record component
    • item_recal

      public String item_recal()
      Returns the value of the item_recal record component.
      Returns:
      the value of the item_recal record component
    • periodo_producao_real

      public int periodo_producao_real()
      Returns the value of the periodo_producao_real record component.
      Returns:
      the value of the periodo_producao_real record component