Record Class Experience
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.Experience
- Record Components:
Position- Main role for which the person was hired at this professional experience. It can not be blankCompany- Permanent role company. If null, it means this is a contractor experienceFrom- Start date of the professional experience. It must be before the end dateTo- End date of the professional experience. Should be set to a date before todayLocation- Location where the profesional experience was done. If set, no blanks allowedSummary- Brief description of the profesional experience. Blank values other than 'null' aren't allowed
public record Experience(@NotNull String Position, NullableOrganization Company, @Pattern(regexp="\\d{4}-\\d{2}") String From, @Pattern(regexp="\\d{4}-\\d{2}") String To, NullableLocation Location, String Summary, String quitReason, List<Project> Projects)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionExperience(@NotNull String Position, NullableOrganization Company, @Pattern(regexp="\\d{4}-\\d{2}") String From, @Pattern(regexp="\\d{4}-\\d{2}") String To, NullableLocation Location, String Summary, String quitReason, List<Project> Projects) Creates an instance of aExperiencerecord class. -
Method Summary
Modifier and TypeMethodDescriptionCompany()Returns the value of theCompanyrecord 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.Location()Returns the value of theLocationrecord component.@NotNull StringPosition()Returns the value of thePositionrecord component.Projects()Returns the value of theProjectsrecord component.Returns the value of thequitReasonrecord component.Summary()Returns the value of theSummaryrecord component.@Pattern(regexp="\\d{4}-\\d{2}") StringTo()Returns the value of theTorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Experience
public Experience(@NotNull @NotNull String Position, NullableOrganization Company, @Pattern(regexp="\\d{4}-\\d{2}") @Pattern(regexp="\\d{4}-\\d{2}") String From, @Pattern(regexp="\\d{4}-\\d{2}") @Pattern(regexp="\\d{4}-\\d{2}") String To, NullableLocation Location, String Summary, String quitReason, List<Project> Projects) Creates an instance of aExperiencerecord class.- Parameters:
Position- the value for thePositionrecord componentCompany- the value for theCompanyrecord componentFrom- the value for theFromrecord componentTo- the value for theTorecord componentLocation- the value for theLocationrecord componentSummary- the value for theSummaryrecord componentquitReason- the value for thequitReasonrecord componentProjects- the value for theProjectsrecord 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). -
Position
-
Company
-
From
-
To
-
Location
-
Summary
-
quitReason
Returns the value of thequitReasonrecord component.- Returns:
- the value of the
quitReasonrecord component
-
Projects
-