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 editorsLocale- 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 contentTemplates- Templates used to render this CV. Templates for different media types are supported using the template extension to select the appropriate oneVariables- Configuration added to the context when the CV is rendered. Map keys must be in camel caseGoals- 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
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCv(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) Creates an instance of aCvrecord class. -
Method Summary
Modifier and TypeMethodDescription$schema()Returns the value of the$schemarecord component.Returns the value of theAchievementsrecord component.Bio()Returns the value of theBiorecord component.Returns the value of thecommonSkillsrecord component.Contact()Returns the value of theContactrecord component.Courses()Returns the value of theCoursesrecord component.Returns the value of theEducationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theExperiencerecord component.Goals()Returns the value of theGoalsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thejobStatusrecord component.Labels()Returns the value of theLabelsrecord component.Returns the value of theLanguagesrecord component.Returns the value of thelastUpdaterecord component.Links()Returns the value of theLinksrecord component.@Pattern(regexp="[a-z]{2}(_[A-Z]{2})?") StringLocale()Returns the value of theLocalerecord component.Returns the value of theotherFactsrecord component.Personal()Returns the value of thePersonalrecord component.Returns the value of thepersonalProjectsrecord component.Returns the value of theReferencesrecord component.Returns the value of theResidencerecord component.Returns the value of theResourcesrecord component.Returns the value of thetargetJobrecord component.Returns the value of thetechnicalSkillsrecord component.Returns the value of theTemplatesrecord component.Titles()Returns the value of theTitlesrecord component.Returns the value of thetopSkillsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theVariablesrecord component.Returns the value of theVolunteeringrecord component.
-
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 aCvrecord class.- Parameters:
$schema- the value for the$schemarecord componentjobStatus- the value for thejobStatusrecord componentLocale- the value for theLocalerecord componentlastUpdate- the value for thelastUpdaterecord componentResources- the value for theResourcesrecord componentTemplates- the value for theTemplatesrecord componentVariables- the value for theVariablesrecord componentPersonal- the value for thePersonalrecord componentResidence- the value for theResidencerecord componentContact- the value for theContactrecord componenttargetJob- the value for thetargetJobrecord componentBio- the value for theBiorecord componentTitles- the value for theTitlesrecord componentLabels- the value for theLabelsrecord componentGoals- the value for theGoalsrecord componenttopSkills- the value for thetopSkillsrecord componentLinks- the value for theLinksrecord componentLanguages- the value for theLanguagesrecord componentpersonalProjects- the value for thepersonalProjectsrecord componentVolunteering- the value for theVolunteeringrecord componentExperience- the value for theExperiencerecord componentEducation- the value for theEducationrecord componentCourses- the value for theCoursesrecord componentAchievements- the value for theAchievementsrecord componentReferences- the value for theReferencesrecord componenttechnicalSkills- the value for thetechnicalSkillsrecord componentcommonSkills- the value for thecommonSkillsrecord componentotherFacts- the value for theotherFactsrecord 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). -
$schema
-
jobStatus
Returns the value of thejobStatusrecord component.- Returns:
- the value of the
jobStatusrecord component
-
Locale
-
lastUpdate
Returns the value of thelastUpdaterecord component.- Returns:
- the value of the
lastUpdaterecord component
-
Resources
-
Templates
-
Variables
-
Personal
Returns the value of thePersonalrecord component.- Returns:
- the value of the
Personalrecord component
-
Residence
Returns the value of theResidencerecord component.- Returns:
- the value of the
Residencerecord component
-
Contact
-
targetJob
Returns the value of thetargetJobrecord component.- Returns:
- the value of the
targetJobrecord component
-
Bio
Returns the value of theBiorecord component.- Returns:
- the value of the
Biorecord component
-
Titles
-
Labels
-
Goals
-
topSkills
-
Links
-
Languages
Returns the value of theLanguagesrecord component.- Returns:
- the value of the
Languagesrecord component
-
personalProjects
-
Volunteering
Returns the value of theVolunteeringrecord component.- Returns:
- the value of the
Volunteeringrecord component
-
Experience
Returns the value of theExperiencerecord component.- Returns:
- the value of the
Experiencerecord component
-
Education
-
Courses
-
Achievements
Returns the value of theAchievementsrecord component.- Returns:
- the value of the
Achievementsrecord component
-
References
-
technicalSkills
-
commonSkills
-
otherFacts
-