Package dk.mada.jaxrs.generator.mpclient
Record Class GeneratorOpts.LeakedParserOpts
java.lang.Object
java.lang.Record
dk.mada.jaxrs.generator.mpclient.GeneratorOpts.LeakedParserOpts
- Record Components:
isJseOffsetDateTime- true if the OffsetDateTime DTO is represented by JSEisJseLocalDateTime- true if the LocalDateTime DTO is represented by JSEisJseLocalDate- true if the LocalDate DTO is represented by JSE
- Enclosing class:
GeneratorOpts
public static record GeneratorOpts.LeakedParserOpts(boolean isJseOffsetDateTime, boolean isJseLocalDateTime, boolean isJseLocalDate)
extends Record
Parser options leaked into the generator. These should be eventually be removed when possible.
-
Constructor Summary
ConstructorsConstructorDescriptionLeakedParserOpts(boolean isJseOffsetDateTime, boolean isJseLocalDateTime, boolean isJseLocalDate) Creates an instance of aLeakedParserOptsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisJseLocalDaterecord component.booleanReturns the value of theisJseLocalDateTimerecord component.booleanReturns the value of theisJseOffsetDateTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LeakedParserOpts
public LeakedParserOpts(boolean isJseOffsetDateTime, boolean isJseLocalDateTime, boolean isJseLocalDate) Creates an instance of aLeakedParserOptsrecord class.- Parameters:
isJseOffsetDateTime- the value for theisJseOffsetDateTimerecord componentisJseLocalDateTime- the value for theisJseLocalDateTimerecord componentisJseLocalDate- the value for theisJseLocalDaterecord component
-
-
Method Details
-
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. -
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. -
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 with '=='. -
isJseOffsetDateTime
public boolean isJseOffsetDateTime()Returns the value of theisJseOffsetDateTimerecord component.- Returns:
- the value of the
isJseOffsetDateTimerecord component
-
isJseLocalDateTime
public boolean isJseLocalDateTime()Returns the value of theisJseLocalDateTimerecord component.- Returns:
- the value of the
isJseLocalDateTimerecord component
-
isJseLocalDate
public boolean isJseLocalDate()Returns the value of theisJseLocalDaterecord component.- Returns:
- the value of the
isJseLocalDaterecord component
-