Record Class BzstCesopDocSpec
java.lang.Object
java.lang.Record
software.xdev.bzst.dip.client.model.message.cesop.BzstCesopDocSpec
- Record Components:
docTypeIndicEnum- Describes whether it is new data, corrected dara or a deletion of data.BzstCesopDocTypeIndicEnumdocRefId- Unique identifier for the payee
public record BzstCesopDocSpec(BzstCesopDocTypeIndicEnum docTypeIndicEnum, UUID docRefId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBzstCesopDocSpec(BzstCesopDocTypeIndicEnum docTypeIndicEnum, UUID docRefId) Creates an instance of aBzstCesopDocSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondocRefId()Returns the value of thedocRefIdrecord component.Returns the value of thedocTypeIndicEnumrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BzstCesopDocSpec
Creates an instance of aBzstCesopDocSpecrecord class.- Parameters:
docTypeIndicEnum- the value for thedocTypeIndicEnumrecord componentdocRefId- the value for thedocRefIdrecord 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 withObjects::equals(Object,Object). -
docTypeIndicEnum
Returns the value of thedocTypeIndicEnumrecord component.- Returns:
- the value of the
docTypeIndicEnumrecord component
-
docRefId
Returns the value of thedocRefIdrecord component.- Returns:
- the value of the
docRefIdrecord component
-