Record Class Project
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.Project
- Record Components:
Title- Descriptive title of the professional experience. Cannot be blankFrom- Project start date. It must be equals or before the end datePersons- People involved in the project (without including yourself). Must be greater than zeroType- Project kind, i.e.: Web Application, Mobile Application, REST service, CLI, etcTo- Finish date of the project. Should be set to a date equals or before todaySummary- Brief description of the project. If set, blank values aren't allowedClient- Third party for which the project was developed. If set can not be blankHighlights- Remarkable items achieved on this project. Empty text is not allowedRoles- Set of roles played on the project. Blank items are not allowedSkills- Skills used in the development of the project. Empty texts are not allowed
public record Project(@NotNull String Title, String Website, @Pattern(regexp="\\d{4}-\\d{2}") String From, float Persons, String Type, @Pattern(regexp="\\d{4}-\\d{2}") String To, String Summary, NullableOrganization Client, Boolean Production, Set<String> Highlights, Set<String> Roles, Set<String> Skills)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionProject(@NotNull String Title, String Website, @Pattern(regexp="\\d{4}-\\d{2}") String From, float Persons, String Type, @Pattern(regexp="\\d{4}-\\d{2}") String To, String Summary, NullableOrganization Client, Boolean Production, Set<String> Highlights, Set<String> Roles, Set<String> Skills) Creates an instance of aProjectrecord class. -
Method Summary
Modifier and TypeMethodDescriptionClient()Returns the value of theClientrecord component.final booleanIndicates whether some other object is "equal to" this one.@Pattern(regexp="\\d{4}-\\d{2}") StringFrom()Returns the value of theFromrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theHighlightsrecord component.floatPersons()Returns the value of thePersonsrecord component.Returns the value of theProductionrecord component.Roles()Returns the value of theRolesrecord component.Skills()Returns the value of theSkillsrecord component.Summary()Returns the value of theSummaryrecord component.@NotNull StringTitle()Returns the value of theTitlerecord component.@Pattern(regexp="\\d{4}-\\d{2}") StringTo()Returns the value of theTorecord component.final StringtoString()Returns a string representation of this record class.Type()Returns the value of theTyperecord component.Website()Returns the value of theWebsiterecord component.
-
Constructor Details
-
Project
public Project(@NotNull @NotNull String Title, String Website, @Pattern(regexp="\\d{4}-\\d{2}") @Pattern(regexp="\\d{4}-\\d{2}") String From, float Persons, String Type, @Pattern(regexp="\\d{4}-\\d{2}") @Pattern(regexp="\\d{4}-\\d{2}") String To, String Summary, NullableOrganization Client, Boolean Production, Set<String> Highlights, Set<String> Roles, Set<String> Skills) Creates an instance of aProjectrecord class.- Parameters:
Title- the value for theTitlerecord componentWebsite- the value for theWebsiterecord componentFrom- the value for theFromrecord componentPersons- the value for thePersonsrecord componentType- the value for theTyperecord componentTo- the value for theTorecord componentSummary- the value for theSummaryrecord componentClient- the value for theClientrecord componentProduction- the value for theProductionrecord componentHighlights- the value for theHighlightsrecord componentRoles- the value for theRolesrecord componentSkills- the value for theSkillsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
Title
-
Website
Returns the value of theWebsiterecord component.- Returns:
- the value of the
Websiterecord component
-
From
-
Persons
-
Type
-
To
-
Summary
-
Client
-
Production
Returns the value of theProductionrecord component.- Returns:
- the value of the
Productionrecord component
-
Highlights
Returns the value of theHighlightsrecord component.- Returns:
- the value of the
Highlightsrecord component
-
Roles
-
Skills
-