Package no.unit.nva.model
Record Class PublicationNote
java.lang.Object
java.lang.Record
no.unit.nva.model.PublicationNote
- All Implemented Interfaces:
PublicationNoteBase
@Deprecated
public record PublicationNote(String publicationNoteMessage)
extends Record
implements PublicationNoteBase
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionPublicationNote(String publicationNoteMessage) Deprecated.Creates an instance of aPublicationNoterecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.Deprecated.Returns the value of thepublicationNoteMessagerecord component.final StringtoString()Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
PublicationNote
Deprecated.Creates an instance of aPublicationNoterecord class.- Parameters:
publicationNoteMessage- the value for thepublicationNoteMessagerecord component
-
-
Method Details
-
toString
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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). -
publicationNoteMessage
Deprecated.Returns the value of thepublicationNoteMessagerecord component.- Returns:
- the value of the
publicationNoteMessagerecord component
-