Record Class ResolvedFieldDefinition
java.lang.Object
java.lang.Record
express.mvp.myra.codec.codegen.resolver.ResolvedFieldDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionResolvedFieldDefinition(String name, int id, int tag, String type, boolean optional, boolean repeated, boolean deprecated, String deprecationNote, Integer fixedCapacity) Creates an instance of aResolvedFieldDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thedeprecatedrecord component.Returns the value of thedeprecationNoterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefixedCapacityrecord component.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.booleanoptional()Returns the value of theoptionalrecord component.booleanrepeated()Returns the value of therepeatedrecord component.inttag()Returns the value of thetagrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
ResolvedFieldDefinition
public ResolvedFieldDefinition(String name, int id, int tag, String type, boolean optional, boolean repeated, boolean deprecated, String deprecationNote, Integer fixedCapacity) Creates an instance of aResolvedFieldDefinitionrecord class.- Parameters:
name- the value for thenamerecord componentid- the value for theidrecord componenttag- the value for thetagrecord componenttype- the value for thetyperecord componentoptional- the value for theoptionalrecord componentrepeated- the value for therepeatedrecord componentdeprecated- the value for thedeprecatedrecord componentdeprecationNote- the value for thedeprecationNoterecord componentfixedCapacity- the value for thefixedCapacityrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
tag
public int tag()Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
optional
public boolean optional()Returns the value of theoptionalrecord component.- Returns:
- the value of the
optionalrecord component
-
repeated
public boolean repeated()Returns the value of therepeatedrecord component.- Returns:
- the value of the
repeatedrecord component
-
deprecated
public boolean deprecated()Returns the value of thedeprecatedrecord component.- Returns:
- the value of the
deprecatedrecord component
-
deprecationNote
Returns the value of thedeprecationNoterecord component.- Returns:
- the value of the
deprecationNoterecord component
-
fixedCapacity
Returns the value of thefixedCapacityrecord component.- Returns:
- the value of the
fixedCapacityrecord component
-