Record Class Reference
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.Reference
- Record Components:
fullName- Referrer's name. Can not be blankSummary- Reference details in plain text. Can not be blank
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContact()Returns the value of theContactrecord component.final booleanIndicates whether some other object is "equal to" this one.@NotNull StringfullName()Returns the value of thefullNamerecord component.final inthashCode()Returns a hash code value for this object.Projects()Returns the value of theProjectsrecord component.Returns the value of thesocialProfilesrecord component.@NotNull StringSummary()Returns the value of theSummaryrecord component.final StringtoString()Returns a string representation of this record class.Type()Returns the value of theTyperecord component.
-
Constructor Details
-
Reference
public Reference(@NotNull @NotNull String fullName, @NotNull @NotNull String Summary, Reference.Type Type, Set<Link> Contact, Set<String> socialProfiles, Set<String> Projects) Creates an instance of aReferencerecord class.- Parameters:
fullName- the value for thefullNamerecord componentSummary- the value for theSummaryrecord componentType- the value for theTyperecord componentContact- the value for theContactrecord componentsocialProfiles- the value for thesocialProfilesrecord 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). -
fullName
-
Summary
-
Type
Returns the value of theTyperecord component.- Returns:
- the value of the
Typerecord component
-
Contact
-
Projects
-
socialProfiles
socialProfilesrecord component.socialProfilesrecord component