Record Class Achievement
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.Achievement
- Record Components:
Title- Descriptive title of the achievement. Cannot be blankDate- Data in which the achievement was accomplished. Cannot be after todayWebsite- Link with further information of the achievement, I.e.: the URI of a publicationSummary- Detailed description of the achievement. It cannot be blank
public record Achievement(@NotNull Achievement.Type Type, @NotNull String Title, @NotNull String Date, String Website, String Summary, NullableOrganization Issuer)
extends Record
Professional achievement. Achievement accomplished at a given date. Publications must be owned by external parties in order to be an achievement, posts on social networks or personal blogs are listed in other CV sections
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAchievement(@NotNull Achievement.Type Type, @NotNull String Title, @NotNull String Date, String Website, String Summary, NullableOrganization Issuer) Creates an instance of aAchievementrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull StringDate()Returns the value of theDaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Issuer()Returns the value of theIssuerrecord component.Summary()Returns the value of theSummaryrecord component.@NotNull StringTitle()Returns the value of theTitlerecord component.final StringtoString()Returns a string representation of this record class.@NotNull Achievement.TypeType()Returns the value of theTyperecord component.Website()Returns the value of theWebsiterecord component.
-
Constructor Details
-
Achievement
public Achievement(@NotNull @NotNull Achievement.Type Type, @NotNull @NotNull String Title, @NotNull @NotNull String Date, String Website, String Summary, NullableOrganization Issuer) Creates an instance of aAchievementrecord class.- Parameters:
Type- the value for theTyperecord componentTitle- the value for theTitlerecord componentDate- the value for theDaterecord componentWebsite- the value for theWebsiterecord componentSummary- the value for theSummaryrecord componentIssuer- the value for theIssuerrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
Type
Returns the value of theTyperecord component.- Returns:
- the value of the
Typerecord component
-
Title
-
Date
-
Website
-
Summary
-
Issuer
Returns the value of theIssuerrecord component.- Returns:
- the value of the
Issuerrecord component
-