Package de.gematik.ncpeh.api.common
Record Class BaseAssertionProfile
java.lang.Object
java.lang.Record
de.gematik.ncpeh.api.common.BaseAssertionProfile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeltaNotAfterrecord component.Returns the value of thedeltaNotBeforerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinvalidSignaturerecord component.Returns the value of theprofileNamerecord component.Returns the value of thepurposeOfUserecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BaseAssertionProfile
public BaseAssertionProfile(String profileName, Boolean invalidSignature, Integer deltaNotBefore, Integer deltaNotAfter, String purposeOfUse) Creates an instance of aBaseAssertionProfilerecord class.- Parameters:
profileName- the value for theprofileNamerecord componentinvalidSignature- the value for theinvalidSignaturerecord componentdeltaNotBefore- the value for thedeltaNotBeforerecord componentdeltaNotAfter- the value for thedeltaNotAfterrecord componentpurposeOfUse- the value for thepurposeOfUserecord 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). -
profileName
Returns the value of theprofileNamerecord component.- Returns:
- the value of the
profileNamerecord component
-
invalidSignature
Returns the value of theinvalidSignaturerecord component.- Returns:
- the value of the
invalidSignaturerecord component
-
deltaNotBefore
Returns the value of thedeltaNotBeforerecord component.- Returns:
- the value of the
deltaNotBeforerecord component
-
deltaNotAfter
Returns the value of thedeltaNotAfterrecord component.- Returns:
- the value of the
deltaNotAfterrecord component
-
purposeOfUse
Returns the value of thepurposeOfUserecord component.- Returns:
- the value of the
purposeOfUserecord component
-