Package de.gematik.bbriccs.vsdm.types
Record Class VsdmKvnr
java.lang.Object
java.lang.Record
de.gematik.bbriccs.vsdm.types.VsdmKvnr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.static VsdmKvnrbyte[]generate()Requirement: A_27278 ; KVNRinthashCode()Returns a hash code value for this object.kvnr()Returns the value of thekvnrrecord component.static VsdmKvnrparse(byte[] data, VsdmCheckDigitVersion version) toString()Returns a string representation of this record class.
-
Constructor Details
-
VsdmKvnr
Creates an instance of aVsdmKvnrrecord class.- Parameters:
kvnr- the value for thekvnrrecord component
-
-
Method Details
-
generate
public byte[] generate()Requirement: A_27278 ; KVNR- Returns:
- kvnr as byte array
-
parse
-
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. -
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). -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
from
-
kvnr
Returns the value of thekvnrrecord component.- Returns:
- the value of the
kvnrrecord component
-