Record Class XSTypeAttributeDeclaration
java.lang.Object
java.lang.Record
com.io7m.xstructural.vanilla.internal.XSTypeAttributeDeclaration
- Record Components:
source- The sourceline- The line numbercolumn- The column numbername- The type namedescription- The type description
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA string in a particular language. -
Constructor Summary
ConstructorsConstructorDescriptionXSTypeAttributeDeclaration(URI source, int line, int column, String name, Map<Locale, XSTypeAttributeDeclaration.LanguageString> description) A type attribute declaration. -
Method Summary
Modifier and TypeMethodDescriptionintcolumn()Returns the value of thecolumnrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intline()Returns the value of thelinerecord component.name()Returns the value of thenamerecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
XSTypeAttributeDeclaration
public XSTypeAttributeDeclaration(URI source, int line, int column, String name, Map<Locale, XSTypeAttributeDeclaration.LanguageString> description) A type attribute declaration.- Parameters:
source- The sourceline- The line numbercolumn- The column numbername- The type namedescription- The type description
-
-
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. -
source
-
line
-
column
-
name
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-