Package guru.interlis.convconf.lm
Record Class InspectionDecl
java.lang.Object
java.lang.Record
guru.interlis.convconf.lm.InspectionDecl
public record InspectionDecl(String name, String sourceTable, String className, MappingDirection direction, String identColumn, String parentColumn, String structAttrColumn, String structAttrMap, String classColumn, String classMap, List<ConversionDecl> conversions, List<AliasDecl> aliases, List<WithBlock> withBlocks, List<ColumnMap> columns)
extends Record
Inspection declaration used for structure rows with $PARENT/$CLASS/$STRUCTATTR semantics.
-
Constructor Summary
ConstructorsConstructorDescriptionInspectionDecl(String name, String sourceTable, String className, MappingDirection direction, String identColumn, String parentColumn, String structAttrColumn, String structAttrMap, String classColumn, String classMap, List<ConversionDecl> conversions, List<AliasDecl> aliases, List<WithBlock> withBlocks, List<ColumnMap> columns) Creates an instance of aInspectionDeclrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaliases()Returns the value of thealiasesrecord component.Returns the value of theclassColumnrecord component.classMap()Returns the value of theclassMaprecord component.Returns the value of theclassNamerecord component.columns()Returns the value of thecolumnsrecord component.Returns the value of theconversionsrecord component.Returns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidentColumnrecord component.name()Returns the value of thenamerecord component.Returns the value of theparentColumnrecord component.Returns the value of thesourceTablerecord component.Returns the value of thestructAttrColumnrecord component.Returns the value of thestructAttrMaprecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewithBlocksrecord component.
-
Constructor Details
-
InspectionDecl
public InspectionDecl(String name, String sourceTable, String className, MappingDirection direction, String identColumn, String parentColumn, String structAttrColumn, String structAttrMap, String classColumn, String classMap, List<ConversionDecl> conversions, List<AliasDecl> aliases, List<WithBlock> withBlocks, List<ColumnMap> columns) Creates an instance of aInspectionDeclrecord class.- Parameters:
name- the value for thenamerecord componentsourceTable- the value for thesourceTablerecord componentclassName- the value for theclassNamerecord componentdirection- the value for thedirectionrecord componentidentColumn- the value for theidentColumnrecord componentparentColumn- the value for theparentColumnrecord componentstructAttrColumn- the value for thestructAttrColumnrecord componentstructAttrMap- the value for thestructAttrMaprecord componentclassColumn- the value for theclassColumnrecord componentclassMap- the value for theclassMaprecord componentconversions- the value for theconversionsrecord componentaliases- the value for thealiasesrecord componentwithBlocks- the value for thewithBlocksrecord componentcolumns- the value for thecolumnsrecord 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 withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
sourceTable
Returns the value of thesourceTablerecord component.- Returns:
- the value of the
sourceTablerecord component
-
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
direction
Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-
identColumn
Returns the value of theidentColumnrecord component.- Returns:
- the value of the
identColumnrecord component
-
parentColumn
Returns the value of theparentColumnrecord component.- Returns:
- the value of the
parentColumnrecord component
-
structAttrColumn
Returns the value of thestructAttrColumnrecord component.- Returns:
- the value of the
structAttrColumnrecord component
-
structAttrMap
Returns the value of thestructAttrMaprecord component.- Returns:
- the value of the
structAttrMaprecord component
-
classColumn
Returns the value of theclassColumnrecord component.- Returns:
- the value of the
classColumnrecord component
-
classMap
Returns the value of theclassMaprecord component.- Returns:
- the value of the
classMaprecord component
-
conversions
Returns the value of theconversionsrecord component.- Returns:
- the value of the
conversionsrecord component
-
aliases
Returns the value of thealiasesrecord component.- Returns:
- the value of the
aliasesrecord component
-
withBlocks
Returns the value of thewithBlocksrecord component.- Returns:
- the value of the
withBlocksrecord component
-
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-