Record Class Pcpc032DTO
java.lang.Object
java.lang.Record
br.com.intersys.systextil.function.pcpc.rotinarecalculo.dto.Pcpc032DTO
public record Pcpc032DTO(int seqorcor, String nivel, String grupo, String sub, String item)
extends Record
Linha de tecido de corte da
pcpc_032, com o componente atualmente gravado.-
Constructor Summary
ConstructorsConstructorDescriptionPcpc032DTO(int seqorcor, String nivel, String grupo, String sub, String item) Creates an instance of aPcpc032DTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleandifereDe(ComponenteDTO comp) truese o componente desta linha difere do componente informado.final booleanIndicates whether some other object is "equal to" this one.grupo()Returns the value of thegruporecord component.final inthashCode()Returns a hash code value for this object.item()Returns the value of theitemrecord component.nivel()Returns the value of thenivelrecord component.intseqorcor()Returns the value of theseqorcorrecord component.sub()Returns the value of thesubrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Pcpc032DTO
Creates an instance of aPcpc032DTOrecord class.- Parameters:
seqorcor- the value for theseqorcorrecord componentnivel- the value for thenivelrecord componentgrupo- the value for thegruporecord componentsub- the value for thesubrecord componentitem- the value for theitemrecord component
-
-
Method Details
-
difereDe
truese o componente desta linha difere do componente informado. -
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 '=='. -
seqorcor
public int seqorcor()Returns the value of theseqorcorrecord component.- Returns:
- the value of the
seqorcorrecord component
-
nivel
Returns the value of thenivelrecord component.- Returns:
- the value of the
nivelrecord component
-
grupo
Returns the value of thegruporecord component.- Returns:
- the value of the
gruporecord component
-
sub
Returns the value of thesubrecord component.- Returns:
- the value of the
subrecord component
-
item
Returns the value of theitemrecord component.- Returns:
- the value of the
itemrecord component
-