Record Class Cv

java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.Cv
Record Components:
$schema - Used to deal with different versions. It also eases the use on some editors
Locale - Locale representing the CV's content. If not set, it will be `en`
Resources - List of resources to be included in this CV. Allows CV modularization. Resources' content will be overwritten with the CV document content
Templates - Templates used to render this CV. Templates for different media types are supported using the template extension to select the appropriate one
Variables - Configuration added to the context when the CV is rendered. Map keys must be in camel case
Goals - Professional goals. It cannot contain any blank item

public record Cv(String $schema, Cv.JobStatus jobStatus, @Pattern(regexp="[a-z]{2}(_[A-Z]{2})?") String Locale, String lastUpdate, Set<String> Resources, Set<String> Templates, Object Variables, Personal Personal, Location Residence, Set<Link> Contact, TargetJob targetJob, String Bio, Set<String> Titles, Set<String> Labels, Set<String> Goals, Set<String> topSkills, Set<Link> Links, Set<LanguageSkill> Languages, List<Project> personalProjects, List<Experience> Volunteering, List<Experience> Experience, List<Education> Education, List<Course> Courses, List<Achievement> Achievements, List<Reference> References, List<SkillSet> technicalSkills, List<SkillSet> commonSkills, Set<String> otherFacts) extends Record
CV data grouped by topics. Most of the fields are optional. When the model is rendered, the fields are passed to the template context with the names in camel case. Read only properties are meant only for use in templates, and cannot be defined in the document
  • Constructor Details

    • Cv

      public Cv(String $schema, Cv.JobStatus jobStatus, @Pattern(regexp="[a-z]{2}(_[A-Z]{2})?") @Pattern(regexp="[a-z]{2}(_[A-Z]{2})?") String Locale, String lastUpdate, Set<String> Resources, Set<String> Templates, Object Variables, Personal Personal, Location Residence, Set<Link> Contact, TargetJob targetJob, String Bio, Set<String> Titles, Set<String> Labels, Set<String> Goals, Set<String> topSkills, Set<Link> Links, Set<LanguageSkill> Languages, List<Project> personalProjects, List<Experience> Volunteering, List<Experience> Experience, List<Education> Education, List<Course> Courses, List<Achievement> Achievements, List<Reference> References, List<SkillSet> technicalSkills, List<SkillSet> commonSkills, Set<String> otherFacts)
      Creates an instance of a Cv record class.
      Parameters:
      $schema - the value for the $schema record component
      jobStatus - the value for the jobStatus record component
      Locale - the value for the Locale record component
      lastUpdate - the value for the lastUpdate record component
      Resources - the value for the Resources record component
      Templates - the value for the Templates record component
      Variables - the value for the Variables record component
      Personal - the value for the Personal record component
      Residence - the value for the Residence record component
      Contact - the value for the Contact record component
      targetJob - the value for the targetJob record component
      Bio - the value for the Bio record component
      Titles - the value for the Titles record component
      Labels - the value for the Labels record component
      Goals - the value for the Goals record component
      topSkills - the value for the topSkills record component
      Links - the value for the Links record component
      Languages - the value for the Languages record component
      personalProjects - the value for the personalProjects record component
      Volunteering - the value for the Volunteering record component
      Experience - the value for the Experience record component
      Education - the value for the Education record component
      Courses - the value for the Courses record component
      Achievements - the value for the Achievements record component
      References - the value for the References record component
      technicalSkills - the value for the technicalSkills record component
      commonSkills - the value for the commonSkills record component
      otherFacts - the value for the otherFacts 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • $schema

      public String $schema()
      Returns the value of the $schema record component.
      Returns:
      the value of the $schema record component
    • jobStatus

      public Cv.JobStatus jobStatus()
      Returns the value of the jobStatus record component.
      Returns:
      the value of the jobStatus record component
    • Locale

      @Pattern(regexp="[a-z]{2}(_[A-Z]{2})?") public @Pattern(regexp="[a-z]{2}(_[A-Z]{2})?") String Locale()
      Returns the value of the Locale record component.
      Returns:
      the value of the Locale record component
    • lastUpdate

      public String lastUpdate()
      Returns the value of the lastUpdate record component.
      Returns:
      the value of the lastUpdate record component
    • Resources

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

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

      public Object Variables()
      Returns the value of the Variables record component.
      Returns:
      the value of the Variables record component
    • Personal

      public Personal Personal()
      Returns the value of the Personal record component.
      Returns:
      the value of the Personal record component
    • Residence

      public Location Residence()
      Returns the value of the Residence record component.
      Returns:
      the value of the Residence record component
    • Contact

      public Set<Link> Contact()
      Returns the value of the Contact record component.
      Returns:
      the value of the Contact record component
    • targetJob

      public TargetJob targetJob()
      Returns the value of the targetJob record component.
      Returns:
      the value of the targetJob record component
    • Bio

      public String Bio()
      Returns the value of the Bio record component.
      Returns:
      the value of the Bio record component
    • Titles

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

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

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

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

      public Set<Link> Links()
      Returns the value of the Links record component.
      Returns:
      the value of the Links record component
    • Languages

      public Set<LanguageSkill> Languages()
      Returns the value of the Languages record component.
      Returns:
      the value of the Languages record component
    • personalProjects

      public List<Project> personalProjects()
      Returns the value of the personalProjects record component.
      Returns:
      the value of the personalProjects record component
    • Volunteering

      public List<Experience> Volunteering()
      Returns the value of the Volunteering record component.
      Returns:
      the value of the Volunteering record component
    • Experience

      public List<Experience> Experience()
      Returns the value of the Experience record component.
      Returns:
      the value of the Experience record component
    • Education

      public List<Education> Education()
      Returns the value of the Education record component.
      Returns:
      the value of the Education record component
    • Courses

      public List<Course> Courses()
      Returns the value of the Courses record component.
      Returns:
      the value of the Courses record component
    • Achievements

      public List<Achievement> Achievements()
      Returns the value of the Achievements record component.
      Returns:
      the value of the Achievements record component
    • References

      public List<Reference> References()
      Returns the value of the References record component.
      Returns:
      the value of the References record component
    • technicalSkills

      public List<SkillSet> technicalSkills()
      Returns the value of the technicalSkills record component.
      Returns:
      the value of the technicalSkills record component
    • commonSkills

      public List<SkillSet> commonSkills()
      Returns the value of the commonSkills record component.
      Returns:
      the value of the commonSkills record component
    • otherFacts

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