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 blank
From - Project start date. It must be equals or before the end date
Persons - People involved in the project (without including yourself). Must be greater than zero
Type - Project kind, i.e.: Web Application, Mobile Application, REST service, CLI, etc
To - Finish date of the project. Should be set to a date equals or before today
Summary - Brief description of the project. If set, blank values aren't allowed
Client - Third party for which the project was developed. If set can not be blank
Highlights - Remarkable items achieved on this project. Empty text is not allowed
Roles - Set of roles played on the project. Blank items are not allowed
Skills - 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 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 a Project record class.
      Parameters:
      Title - the value for the Title record component
      Website - the value for the Website record component
      From - the value for the From record component
      Persons - the value for the Persons record component
      Type - the value for the Type record component
      To - the value for the To record component
      Summary - the value for the Summary record component
      Client - the value for the Client record component
      Production - the value for the Production record component
      Highlights - the value for the Highlights record component
      Roles - the value for the Roles record component
      Skills - the value for the Skills record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • Title

      @NotNull public @NotNull String Title()
      Returns the value of the Title record component.
      Returns:
      the value of the Title record component
    • Website

      public String Website()
      Returns the value of the Website record component.
      Returns:
      the value of the Website record component
    • From

      @Pattern(regexp="\\d{4}-\\d{2}") public @Pattern(regexp="\\d{4}-\\d{2}") String From()
      Returns the value of the From record component.
      Returns:
      the value of the From record component
    • Persons

      public float Persons()
      Returns the value of the Persons record component.
      Returns:
      the value of the Persons record component
    • Type

      public String Type()
      Returns the value of the Type record component.
      Returns:
      the value of the Type record component
    • To

      @Pattern(regexp="\\d{4}-\\d{2}") public @Pattern(regexp="\\d{4}-\\d{2}") String To()
      Returns the value of the To record component.
      Returns:
      the value of the To record component
    • Summary

      public String Summary()
      Returns the value of the Summary record component.
      Returns:
      the value of the Summary record component
    • Client

      public NullableOrganization Client()
      Returns the value of the Client record component.
      Returns:
      the value of the Client record component
    • Production

      public Boolean Production()
      Returns the value of the Production record component.
      Returns:
      the value of the Production record component
    • Highlights

      public Set<String> Highlights()
      Returns the value of the Highlights record component.
      Returns:
      the value of the Highlights record component
    • Roles

      public Set<String> Roles()
      Returns the value of the Roles record component.
      Returns:
      the value of the Roles record component
    • Skills

      public Set<String> Skills()
      Returns the value of the Skills record component.
      Returns:
      the value of the Skills record component